summaryrefslogtreecommitdiff
path: root/src/controls/Styles/qmldir
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2013-11-07 14:11:26 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-14 11:05:10 +0100
commite88bdffe644e53912dfbce95117555cb6a87bfd2 (patch)
tree43b34dfad7bdcbfdf0ac2ea322b580933bbeb2a3 /src/controls/Styles/qmldir
parent6cfba0c37dcdbe13681f8241d9d2989d1ac05db8 (diff)
downloadqtquickcontrols-e88bdffe644e53912dfbce95117555cb6a87bfd2.tar.gz
Introducing styling for Menu, MenuBar
MenuStyle We expose the frame and item properties together with some convenience properties (basically color related). The menu item data is exposed via a styleData object, similarly to what's done in TabViewStyle. In addition, we introduce MenuStyle.menuItem which brings some convenience when it comes to overriding subcontrols of the menu item. MenuBarStyle We expose background and menuBarItem. The menubar item's properties are accessible through the styleData property in scope. Style cascading Additionally, MenuBarStyle has a menuStyle property that will apply to all its menus and their submenus. Similarly, assigning a style to a Menu object, will apply it to its submenus. It's still possible to override the parent menu's style by declaring its own. [ChangeLog][QtQuickControls][Styles]Menu and MenuBar are now styleable Change-Id: Ib724b7a6426bdfce5da314620d51dfaa76f76500 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/Styles/qmldir')
-rw-r--r--src/controls/Styles/qmldir2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/Styles/qmldir b/src/controls/Styles/qmldir
index 5cd368ac..4ffb08ee 100644
--- a/src/controls/Styles/qmldir
+++ b/src/controls/Styles/qmldir
@@ -3,6 +3,8 @@ ButtonStyle 1.0 Base/ButtonStyle.qml
BusyIndicatorStyle 1.1 Base/BusyIndicatorStyle.qml
CheckBoxStyle 1.0 Base/CheckBoxStyle.qml
ComboBoxStyle 1.0 Base/ComboBoxStyle.qml
+MenuStyle 1.2 Base/MenuStyle.qml
+MenuBarStyle 1.2 Base/MenuBarStyle.qml
ProgressBarStyle 1.0 Base/ProgressBarStyle.qml
RadioButtonStyle 1.0 Base/RadioButtonStyle.qml
ScrollViewStyle 1.0 Base/ScrollViewStyle.qml