3 ms·
You can style Qt Quick Controls, which are the QtWidgets equivalent objects in QML. http://doc.qt.io/qt-5/qtquickcontrolsstyles-index.html http://doc.qt.io/qt-
by zanny 11y ago
You can style Qt Quick Controls, which are the QtWidgets equivalent objects in QML.
http://doc.qt.io/qt-5/qtquickcontrolsstyles-index.html http://doc.qt.io/qt-5/qtquickcontrolsstyles-index.html
This is how many new apps are coming out using QML and doing their own custom UI theming rather than doing system default. It also beats the hell out of CSS by using the same object model relationships you are already using when laying out QML objects.
Yes, if you use language primitives like rect's and text's then you have to create either your own theming engine template classes and then use those, or manually manage all the styling per object. But then you are doing it wrong if your project does not warrant that kind of ground up custom craftsmanship.