summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/designer/src/components/widgetbox/widgetbox.xml10
-rw-r--r--src/designer/src/lib/uilib/widgets.table3
2 files changed, 13 insertions, 0 deletions
diff --git a/src/designer/src/components/widgetbox/widgetbox.xml b/src/designer/src/components/widgetbox/widgetbox.xml
index a610d4eb9..802c28f67 100644
--- a/src/designer/src/components/widgetbox/widgetbox.xml
+++ b/src/designer/src/components/widgetbox/widgetbox.xml
@@ -277,6 +277,16 @@
</ui>
</categoryentry>
+ <categoryentry name="Undo View" icon="widgets/listbox.png">
+ <ui>
+ <widget class="QUndoView">
+ <property name="objectName">
+ <string notr="true">undoView</string>
+ </property>
+ </widget>
+ </ui>
+ </categoryentry>
+
</category>
<category name="Item Widgets (Item-Based)">
diff --git a/src/designer/src/lib/uilib/widgets.table b/src/designer/src/lib/uilib/widgets.table
index 2a55235de..3dbb7aff2 100644
--- a/src/designer/src/lib/uilib/widgets.table
+++ b/src/designer/src/lib/uilib/widgets.table
@@ -133,6 +133,9 @@ DECLARE_WIDGET(QCalendarWidget, "")
#if QT_CONFIG(columnview)
DECLARE_WIDGET(QColumnView, "")
#endif
+#if QT_CONFIG(undoview)
+DECLARE_WIDGET(QUndoView, "")
+#endif
#if QT_CONFIG(wizard)
DECLARE_WIDGET(QWizard, "")