Plasma/OxygenQmlControls: Difference between revisions

From KDE Community Wiki
Line 24: Line 24:
{{FeatureProjectInProgress| ComboBox |
{{FeatureProjectInProgress| ComboBox |
* Missing Frame in Menu (oxygen bug) (https://git.reviewboard.kde.org/r/114271/ )
* Missing Frame in Menu (oxygen bug) (https://git.reviewboard.kde.org/r/114271/ )
* Does not change values on mouse scroll [mck182 is on it]
* Does not change values on mouse scroll - https://codereview.qt-project.org/#change,73155
  | }}
  | }}
{{FeatureProjectDone| GroupBox |https://git.reviewboard.kde.org/r/112329/ | }}
{{FeatureProjectDone| GroupBox |https://git.reviewboard.kde.org/r/112329/ | }}

Revision as of 17:04, 3 December 2013

Oxygen QML Controls Status

Status Component Problems / Status Developer
TODO ApplicationWindow No background gradient
IN PROGRESS MenuBar No dropdown menu Frame (https://git.reviewboard.kde.org/r/114271/ ) [mailto: Martin G < Martin G>]
TODO StatusBar
TODO ToolBar
IN PROGRESS ScrollView [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 [mailto: David < David>]
DONE Button
DONE CheckBox
IN PROGRESS ComboBox
DONE GroupBox https://git.reviewboard.kde.org/r/112329/
DONE Label
DONE ProgressBar
DONE RadioButton
DONE Slider
IN PROGRESS SpinBox [mailto: Martin Klapetek < Martin Klapetek>]
TODO TextArea
  • Missing focus frame
  • wrong text colors when disabled - https://codereview.qt-project.org/#change,73094
  • does not keep highlight when right-clicking highlighted text (makes copying text via context menu impossible)
  • does not react to "horizontalAlignment" property change unless text selection is started
TODO TextField
TODO ToolButton
TODO background no drag to move window

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