TilmanK

Results 12 comments of TilmanK

Hmm, any idea how to address the dynamic use of the Qt library? Maybe using TypeVars in some way?

Sure. Let's take `QtBot.addWidget()` as an example: ```py def addWidget(self, widget, *, before_close_func=None): ``` How do I annotate that? I can use `widget: qt_api.QtWidgets.QWidget`. Doing so results in an error:...

We could do something like. ```py if TYPE_CHECKING: qt_api = PyQt6 ``` Maybe...

> I thought of that, the problem is that the choice of using PyQt or PySide is defined at realtime too, so that snippet won't work for PySide users... :/...

I already started to work on a PR doing exactly this 😊

Go for it, I currently can find the time to do this anyway...

> Hi @TilmanK, > > > I'm still not sure, what went wrong since the qapp fixture is requested in my tests AFTER I wrote values to QSettings in earlier...

I can reproduce the -1 as a return value. This happens after I've executed a stored procedure on the database for which I've called "SET NOCOUNT ON;". When calling "SET...

There are a ton of different use cases that do NOT work after doing "SET NOCOUNT ON". I tried a lot yesterday evening to update a value on a row,...

Same issue here: ![image](https://user-images.githubusercontent.com/8856390/77841073-80e4e280-718e-11ea-876b-9ddcad7b875d.png)