4 ms·
I like that UI! Out of curiosity, do you use a kind of wysiwyg (a la qt designer) to make your interfaces, or do you write Python code directly? Coming from Jav
by RMPR 6y ago
I like that UI! Out of curiosity, do you use a kind of wysiwyg (a la qt designer) to make your interfaces, or do you write Python code directly? Coming from JavaFX using scenebuilder to design UIs, l tried Pyside2 some years ago, never managed to find a way to make it work with a wysiwyg the way I am used to with JavaFX. Writing and styling widgets by hand is painfully slow.
- scarygliders 6y agoThanks :) I use Qt Designer for the layout. I never could get the hang of the Horizontal & Vertical spacers or the Layout Managers in Qt, so it's a static layout. There are quite a few "pages" in the application which appear or disappear when required. Those are all QWidgets which have their own static layout. The doughnut chart showing materials available on a planet is a dynamically created web page shown via a QtWebView widget. There's an Overlay Widget which is basically a QWidget with transparency, with the main window being hidden then called up via a global hotkey - I use Python ctypes to enable the global hotkey, calling the Windows API to enable that functionality. And the underlying databases used are sqlite3 via SQLAlchemy. It all works very nicely.