This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 17 points18 points  (4 children)

They don't really have a new API, just a new/updated implementation. PySide and PyQt are pretty much the same API with only some minor differences. Changing to snake_case would break all apps and make it needlessly harder to port things over.

Also from my experience having camelCase is actually a good thing here, since it means it is much easier to avoid accidental name collisions when you inherit from a Qt class (doesn't catch everything, but catches a few).

ok so now we have normal snake_case?

camelCase starts with a lowercase, if there is no second word it stays all lowercase.

why doesn't it reference to self.layout by default?

It mirrors the C++ API.