Plasma/OxygenQmlControls: Difference between revisions
< Plasma
Line 31: | Line 31: | ||
{{FeatureProjectTodo| ToolButton | | }} | {{FeatureProjectTodo| ToolButton | | }} | ||
|} | |} | ||
==Pitfalls/Places to Fix== | |||
In Oxygen most style methods take an optional parameter which is the widget to get hints for. From QtQuickControls this is a null pointer. Oxygen sometimes fails on this and returns different to the desktop implementation. | |||
There is a Controls Style QML theme that, uses a private QtQuickControls library which talks to QStyle. Most relevant code is at: | |||
src/controls/Private/qquickstyleitem.cpp | |||
Using QGuiApplication will cause styles not to load. Apps _must_ use QApplication |
Revision as of 14:17, 2 December 2013
Oxygen QML Controls Status
Status | Component | Problems / Status | Developer |
---|---|---|---|
TODO | ApplicationWindow | No background gradient | |
TODO | MenuBar | No Frame (oxygen bug --if that's about the dropdown menu) | |
TODO | StatusBar | ||
TODO | ToolBar | ||
TODO | ScrollView | ||
TODO | SplitView | ||
TODO | StackView | ||
IN PROGRESS | TabView | https://codereview.qt-project.org/#change,72813 | [mailto: [email protected] < [email protected]>] |
TODO | TableView | Missing surrounding frame (oxygen bug) + selection highlight has no gradient | |
DONE | Button | ||
DONE | CheckBox | ||
TODO | ComboBox | Missing Frame in Menu (oxygen bug) | |
DONE | GroupBox | ||
DONE | Label | ||
DONE | ProgressBar | ||
DONE | RadioButton | ||
DONE | Slider | ||
TODO | SpinBox | Textbox slightly too large, overlaps frame | |
TODO | TextArea | Missing frame (oxygen bug), missing focus frame, wrong colors when disabled | |
TODO | TextField | Padding is slightly off | |
TODO | ToolButton |
Pitfalls/Places to Fix
In Oxygen most style methods take an optional parameter which is the widget to get hints for. From QtQuickControls this is a null pointer. Oxygen sometimes fails on this and returns different to the desktop implementation.
There is a Controls Style QML theme that, uses a private QtQuickControls library which talks to QStyle. Most relevant code is at: src/controls/Private/qquickstyleitem.cpp
Using QGuiApplication will cause styles not to load. Apps _must_ use QApplication