python-qt-tools / PyQt5-stubs

Stubs for PyQt5
GNU General Public License v3.0
66 stars 31 forks source link

QScrollArea(widgetResizable) #148

Closed altendky closed 2 years ago

altendky commented 3 years ago

Closes #147

altendky commented 3 years ago

Cool, this is apparently the first test to instantiate a widget... so time to fix up CI for GUI testing.

BryceBeagle commented 3 years ago

If you want to begin going through with the herculean effort of adding the properties to the constructor signature, I guess we might as well add alignment too?

altendky commented 3 years ago

Why stop at non-inherited ones? :[ Mostly my brain went to 'someone else try to figure out how to work through all this with Phil' and 'PyQt6'.

BryceBeagle commented 3 years ago

Why stop at non-inherited ones?

I figured we'd just get one class out of the way, but we may want to just make this a batch change. I wonder if it's possible to write a script to determine all the Qt Properties and modify all of the stubs at once.

Edit: oh but I see what you're saying. We can't rely on inheritance for the constructor signature :sob: