How to implement this UI?
-
wrote on 20 Sept 2019, 10:50 last edited by
-
wrote on 20 Sept 2019, 11:10 last edited byThis post is deleted!
-
What exactly is your problem? You can create a GUI like this with your Qt Designer and then write your Python code to make things happen :)
Most of the widgets in your example are standard widgets in Qt -
@pl45m4
I was just wondering what kind of widgets I need to implement because im not sure what kind of widgets I need to implement for the UI.wrote on 20 Sept 2019, 12:18 last edited byFrom looking at the picture I can see
QComboBox
(Beam expander value) and someQTextEdits
(with numbers). The flip buttons / switches are not standard widgets in Qt, but you can create them on your own (https://stackoverflow.com/questions/14780517/toggle-switch-in-qt) -
From looking at the picture I can see
QComboBox
(Beam expander value) and someQTextEdits
(with numbers). The flip buttons / switches are not standard widgets in Qt, but you can create them on your own (https://stackoverflow.com/questions/14780517/toggle-switch-in-qt) -
wrote on 20 Sept 2019, 12:32 last edited by Pl45m4
Maybe something like a vertical QProgressBar.
(https://thesmithfam.org/blog/2009/10/13/cool-qprogressbar-stylesheet/)EDIT:
If you use QML, there is a standard widget for this:
https://doc.qt.io/QtQuickEnterpriseControls/qml-qtquick-enterprise-controls-gauge.html <- this is exactly your widget :)EDIT 2:
How to use QML andC++(PyQt, in your case) together:
https://doc.qt.io/qt-5/qtqml-cppintegration-topic.html
https://doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.htmlQML + PyQt: https://pythonspot.com/qml-and-pyqt-creating-a-gui-tutorial/
1/7