diff options
author | Thomas Hartmann <Thomas.Hartmann@theqtcompany.com> | 2016-09-08 14:53:06 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@theqtcompany.com> | 2016-09-13 08:22:43 +0000 |
commit | 829c4232906a91e6be94a3da3f10bd679056fd56 (patch) | |
tree | 230418cd95be86b9d44fc57cf2c207f26bf76a4c /src | |
parent | fbbe0b6e0d72e59fed93a39501e2e3fe36d675f9 (diff) |
Adding TabBar and TabButton to item library
Change-Id: I3489454f9b9ece4478c91061d1cfd5327422b483
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/controls/designer/qtquickcontrols2.metainfo | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/imports/controls/designer/qtquickcontrols2.metainfo b/src/imports/controls/designer/qtquickcontrols2.metainfo index af2c6d5c..c697b3c2 100644 --- a/src/imports/controls/designer/qtquickcontrols2.metainfo +++ b/src/imports/controls/designer/qtquickcontrols2.metainfo @@ -412,4 +412,32 @@ MetaInfo { requiredImport: "QtQuick.Controls" } } + + Type { + name: "QtQuick.Controls.TabBar" + icon: "images/toolbar-icon16.png" + + ItemLibraryEntry { + name: "Tab Bar" + category: "Qt Quick - Controls 2" + libraryIcon: "images/toolbar-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + Property { name: "width"; type: "int"; value: 240 } + } + } + + Type { + name: "QtQuick.Controls.TabButton" + icon: "images/toolbutton-icon16.png" + + ItemLibraryEntry { + name: "Tab Button" + category: "Qt Quick - Controls 2" + libraryIcon: "images/toolbutton-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + Property { name: "text"; type: "binding"; value: "qsTr(\"Tab Button\")" } + } + } } |