summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorABBAPOH <ABBAPOH@nextmail.ru>2013-09-23 20:58:40 +0400
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-25 12:04:03 +0200
commit99526b03f53ea648fea8ef5d8051febfd882ca38 (patch)
tree5c14d2e74e329535f1848b1aa1f9d8e815198875
parent49998cea897fa4c5d410ce07bd53f0d1ee0fd180 (diff)
Add QKeySequenceEdit to Qt Designerv5.2.0-alpha1
Change-Id: I0efe3f58539fef59154d1c07e6c044bb45fe53cf Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
-rw-r--r--src/designer/src/components/widgetbox/widgetbox.xml18
-rw-r--r--src/designer/src/lib/uilib/widgets.table3
2 files changed, 20 insertions, 1 deletions
diff --git a/src/designer/src/components/widgetbox/widgetbox.xml b/src/designer/src/components/widgetbox/widgetbox.xml
index 0f895aab2..b090f6593 100644
--- a/src/designer/src/components/widgetbox/widgetbox.xml
+++ b/src/designer/src/components/widgetbox/widgetbox.xml
@@ -806,7 +806,23 @@
</widget>
</ui>
</categoryentry>
-
+ <categoryentry name="Key sequence Edit" icon="widgets/lineedit.png">
+ <ui>
+ <widget class="QKeySequenceEdit">
+ <property name="geometry" >
+ <rect>
+ <x>0</x>
+ <y>1</y>
+ <width>113</width>
+ <height>20</height>
+ </rect>
+ </property>
+ <property name="objectName">
+ <string notr="true">keySequenceEdit</string>
+ </property>
+ </widget>
+ </ui>
+ </categoryentry>
</category>
diff --git a/src/designer/src/lib/uilib/widgets.table b/src/designer/src/lib/uilib/widgets.table
index 420213933..b13569d3a 100644
--- a/src/designer/src/lib/uilib/widgets.table
+++ b/src/designer/src/lib/uilib/widgets.table
@@ -106,6 +106,9 @@ DECLARE_WIDGET(QTreeView, "")
DECLARE_WIDGET(QTreeWidget, "")
#endif
DECLARE_WIDGET(QWidget, "")
+#ifndef QT_NO_KEYSEQUENCEEDIT
+DECLARE_WIDGET(QKeySequenceEdit, "")
+#endif
#ifndef QT_NO_SPLITTER
DECLARE_WIDGET(QSplitter, "")
#endif