Jump to content

Plasma/OxygenQmlControls: Difference between revisions

From KDE Community Wiki
D ed (talk | contribs)
D ed (talk | contribs)
Line 13: Line 13:
{{FeatureProjectTodo| StatusBar | | }}
{{FeatureProjectTodo| StatusBar | | }}
{{FeatureProjectTodo| ToolBar | | }}
{{FeatureProjectTodo| ToolBar | | }}
{{FeatureProjectTodo| ScrollView | | }}
{{FeatureProjectInProgress| ScrollView | Missing Frame round scrolled contents| David}}
{{FeatureProjectTodo| SplitView | | }}
{{FeatureProjectTodo| SplitView | | }}
{{FeatureProjectTodo| StackView | | }}
{{FeatureProjectTodo| StackView | | }}
{{FeatureProjectInProgress| TabView | https://codereview.qt-project.org/#change,72813 | [email protected]}}
{{FeatureProjectInProgress| TabView | https://codereview.qt-project.org/#change,72813 | [email protected]}}
{{FeatureProjectTodo| TableView | Missing surrounding frame (oxygen bug) + selection highlight has no gradient| }}
{{FeatureProjectInProgress| TableView | Selection highlight has no gradient + Scrollview bug| }}
{{FeatureProjectDone| Button | | }}
{{FeatureProjectDone| Button | | }}
{{FeatureProjectDone| CheckBox | | }}
{{FeatureProjectDone| CheckBox | | }}

Revision as of 18:39, 2 December 2013

Oxygen QML Controls Status

Status Component Problems / Status Developer
TODO ApplicationWindow No background gradient
TODO MenuBar No dropdown menu Frame
TODO StatusBar
TODO ToolBar
IN PROGRESS ScrollView Missing Frame round scrolled contents [mailto: David < David>]
TODO SplitView
TODO StackView
IN PROGRESS TabView https://codereview.qt-project.org/#change,72813 [mailto: [email protected] < [email protected]>]
IN PROGRESS TableView Selection highlight has no gradient + Scrollview bug
DONE Button
DONE CheckBox
TODO ComboBox Missing Frame in Menu (oxygen bug)
DONE GroupBox https://git.reviewboard.kde.org/r/112329/
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 (https://git.reviewboard.kde.org/r/112375/) Padding is still slightly off (minor)
TODO ToolButton

Fixing Info

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

Upstream documentation http://qt-project.org/doc/qt-5.1/qtquickcontrols/qtquickcontrols-index.html