summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2017-01-17 13:07:34 +0100
committerThomas Hartmann <thomas.hartmann@qt.io>2017-01-17 12:31:03 +0000
commit23c7e1877eef6b5fe0f93ee95bcc725ad4177f30 (patch)
tree80f6ab9d7717902cf3ef96368dd2065ff8ac6720
parent624f61b7d8ada80818b697393aa8d22595b7b8e6 (diff)
Adding round button to designer item library
Change-Id: I6409a7036392af7bd160583a9d92982ce9876eac Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r--src/imports/controls/designer/images/roundbutton-icon.pngbin0 -> 223 bytes
-rw-r--r--src/imports/controls/designer/images/roundbutton-icon16.pngbin0 -> 178 bytes
-rw-r--r--src/imports/controls/designer/images/roundbutton-icon16@2x.pngbin0 -> 219 bytes
-rw-r--r--src/imports/controls/designer/images/roundbutton-icon@2x.pngbin0 -> 310 bytes
-rw-r--r--src/imports/controls/designer/qtquickcontrols2.metainfo14
5 files changed, 14 insertions, 0 deletions
diff --git a/src/imports/controls/designer/images/roundbutton-icon.png b/src/imports/controls/designer/images/roundbutton-icon.png
new file mode 100644
index 00000000..35d28fab
--- /dev/null
+++ b/src/imports/controls/designer/images/roundbutton-icon.png
Binary files differ
diff --git a/src/imports/controls/designer/images/roundbutton-icon16.png b/src/imports/controls/designer/images/roundbutton-icon16.png
new file mode 100644
index 00000000..5dc3a895
--- /dev/null
+++ b/src/imports/controls/designer/images/roundbutton-icon16.png
Binary files differ
diff --git a/src/imports/controls/designer/images/roundbutton-icon16@2x.png b/src/imports/controls/designer/images/roundbutton-icon16@2x.png
new file mode 100644
index 00000000..10c13149
--- /dev/null
+++ b/src/imports/controls/designer/images/roundbutton-icon16@2x.png
Binary files differ
diff --git a/src/imports/controls/designer/images/roundbutton-icon@2x.png b/src/imports/controls/designer/images/roundbutton-icon@2x.png
new file mode 100644
index 00000000..81150e3d
--- /dev/null
+++ b/src/imports/controls/designer/images/roundbutton-icon@2x.png
Binary files differ
diff --git a/src/imports/controls/designer/qtquickcontrols2.metainfo b/src/imports/controls/designer/qtquickcontrols2.metainfo
index c697b3c2..c4b7e8d5 100644
--- a/src/imports/controls/designer/qtquickcontrols2.metainfo
+++ b/src/imports/controls/designer/qtquickcontrols2.metainfo
@@ -440,4 +440,18 @@ MetaInfo {
Property { name: "text"; type: "binding"; value: "qsTr(\"Tab Button\")" }
}
}
+
+ Type {
+ name: "QtQuick.Controls.RoundButton"
+ icon: "images/roundbutton-icon16.png"
+
+ ItemLibraryEntry {
+ name: "Round Button"
+ category: "Qt Quick - Controls 2"
+ libraryIcon: "images/roundbutton-icon.png"
+ version: "2.1"
+ requiredImport: "QtQuick.Controls"
+ Property { name: "text"; type: "string"; value: "+" }
+ }
+ }
}