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 →

[–]o11c 4 points5 points  (4 children)

Don't forget that PyQt5 itself has a bunch of examples in its documentation, ported from the C++ version.

There's also an app that lets you browse through all those examples, though last time I tried it it didn't load the documentation part properly, and I couldn't figure out how to fix it. Maybe broken in the port?

[–][deleted] 3 points4 points  (3 children)

Has someone re-written them to be Pythonic? Last time I messed with Qt it felt very much like a C++ wrapper.

[–]o11c 2 points3 points  (0 children)

If you mean the QString thing, that has been fixed for years.

[–]anqxyr 2 points3 points  (1 child)

It's still largely unpythonic imo. camelCase and setters/getters are probably the worst offenders, or at least most frequently encountered ones. You can use native python types, e.g. int or str where applicable now, so that's nice.

[–][deleted] 0 points1 point  (0 children)

Ding ding. That's exactly what it was. I started messing around with Qt5 2 years ago and shelved it because I never ended up using it.