Re:PyQt5 Tutorial: Create a Python GUI in 2018
by gardaani on Tuesday September 25, 2018 @02:26PM
(#18069047)
The article doesn't mention QML at all. Is it possible to use it with Python?
Re:PyQt5 Tutorial: Create a Python GUI in 2018
by blattimwind on Tuesday September 25, 2018 @02:50PM
(#18069268)
Of course.
Re:PyQt5 Tutorial: Create a Python GUI in 2018
by sago on Tuesday September 25, 2018 @03:11PM
(#18069470)
Is number five true? (Genuine question.) I haven't used QT in anger, and it's been a few years since I last wrote something in WXP. But the last project went with wxWidgets because of its built-in support for things like drag-and-drop negotiation, (multiple) file type association, undo, print, file preview, system level common accelerators and OS defined accessibility settings (including color and font remapping, speech to text, keyboard navigation, and screen readers). In my mind they are more important than the widgets for building a practical tool. Is QT on par with those?
To join in this comment thread's Electron-ragging, I often find it frustrating that the hard-won OS idioms of the last 20 years have been left so easy to jettison in the age of apps.
Re:PyQt5 Tutorial: Create a Python GUI in 2018
by toyg on Tuesday September 25, 2018 @03:26PM
(#18069640)
Qt has tons of stuff, as far as I know everything you mention is covered pretty well (well, I don't know about speech, but widget text is very accessible).
QT is basically one of two toolkits that most Linux desktops are built on: it has to be wide-ranging enough to cover everything a desktop does, be accessible, and it has to interoperate with "the other" toolkit (GTK). It's absolutely nothing like Electron.
Re:PyQt5 Tutorial: Create a Python GUI in 2018
by fireattack on Tuesday September 25, 2018 @03:28PM
(#18069659)
Can vouch that wxPython's documentation is very lacking even from my limited use experience.
2. QML is an amazing language. It is modern, declarative and reactive but still very simple to use. Personally I don't want to go back to the traditional GUI coding styles after experienced QML.
3. Qt Designer is a great GUI tool that you can quickly prototype a GUI app.
4. Qt has the best documentation among cross-platform GUI frameworks.
5. Qt is a much bigger framework having more features. For example, you can easily embed WebKit or Chromium very easily.