diff options
author | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2016-03-31 16:58:08 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-04-11 19:26:11 +0000 |
commit | b663020c9a60704dc53014522a3faa23892280a0 (patch) | |
tree | 80dd4f47910ce2313491d19167f3dfb94ea9d9e5 /src/imports/controls/designer/qtlabscontrols.metainfo | |
parent | 1acb34a40ea0fbc0c0730cdc81dcfd46bdeb4ef7 (diff) |
Add RadioDelegate
RadioDelegate is an item delegate that is used in lists, and can be
checked and unchecked. It derives from QQuickItemDelegate and hence has
background press effects. The order of the indicator and text is
reversed (compared to RadioButton) to reflect what is most commonly
seen on mobile.
Change-Id: I143ee9a30cd8ce1d624354f4cb981c41dfddc2d2
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/designer/qtlabscontrols.metainfo')
-rw-r--r-- | src/imports/controls/designer/qtlabscontrols.metainfo | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/imports/controls/designer/qtlabscontrols.metainfo b/src/imports/controls/designer/qtlabscontrols.metainfo index 0006880a..55110b15 100644 --- a/src/imports/controls/designer/qtlabscontrols.metainfo +++ b/src/imports/controls/designer/qtlabscontrols.metainfo @@ -208,6 +208,21 @@ MetaInfo { } Type { + name: "Qt.labs.controls.RadioDelegate" + icon: "images/radiobutton-icon16.png" + + ItemLibraryEntry { + name: "Radio Delegate" + category: "Qt Labs - Controls" + libraryIcon: "images/radiobutton-icon.png" + version: "1.0" + requiredImport: "Qt.labs.controls" + + Property { name: "text"; type: "binding"; value: "qsTr('Radio Delegate')" } + } + } + + Type { name: "Qt.labs.controls.Slider" icon: "images/slider-icon16.png" |