diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/mainwindow.ui | 12 | ||||
-rw-r--r-- | forms/painter.ui | 21 | ||||
-rw-r--r-- | forms/statementdialog.ui | 106 |
3 files changed, 116 insertions, 23 deletions
diff --git a/forms/mainwindow.ui b/forms/mainwindow.ui index 23125a1..816ae01 100644 --- a/forms/mainwindow.ui +++ b/forms/mainwindow.ui @@ -130,7 +130,7 @@ </layout> </item> <item> - <widget class="QWidget" name="widget" native="true"> + <widget class="Painter" name="painter" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> @@ -149,7 +149,7 @@ <x>0</x> <y>0</y> <width>824</width> - <height>28</height> + <height>29</height> </rect> </property> <widget class="QMenu" name="menuFIle"> @@ -335,6 +335,14 @@ </property> </action> </widget> + <customwidgets> + <customwidget> + <class>Painter</class> + <extends>QWidget</extends> + <header>ui/painter.h</header> + <container>1</container> + </customwidget> + </customwidgets> <resources/> <connections> <connection> diff --git a/forms/painter.ui b/forms/painter.ui deleted file mode 100644 index 1978a7c..0000000 --- a/forms/painter.ui +++ /dev/null @@ -1,21 +0,0 @@ -<ui version="4.0"> - <author/> - <comment/> - <exportmacro/> - <class>Painter</class> - <widget name="Painter" class="QWidget"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>400</width> - <height>300</height> - </rect> - </property> - <property name="windowTitle"> - <string>Form</string> - </property> - </widget> - <pixmapfunction/> - <connections/> -</ui> diff --git a/forms/statementdialog.ui b/forms/statementdialog.ui new file mode 100644 index 0000000..d4e4fd9 --- /dev/null +++ b/forms/statementdialog.ui @@ -0,0 +1,106 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>StatementDialog</class> + <widget class="QDialog" name="StatementDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>400</width> + <height>300</height> + </rect> + </property> + <property name="windowTitle"> + <string>Dialog</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QLabel" name="statementLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Statement Type</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="comboBox"> + <item> + <property name="text"> + <string>Process</string> + </property> + </item> + <item> + <property name="text"> + <string>Decision</string> + </property> + </item> + <item> + <property name="text"> + <string>Switch</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="QLabel" name="textLabel"> + <property name="text"> + <string>Text</string> + </property> + </widget> + </item> + <item> + <widget class="QPlainTextEdit" name="plainTextEdit"/> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>StatementDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>248</x> + <y>254</y> + </hint> + <hint type="destinationlabel"> + <x>157</x> + <y>274</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>StatementDialog</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>316</x> + <y>260</y> + </hint> + <hint type="destinationlabel"> + <x>286</x> + <y>274</y> + </hint> + </hints> + </connection> + </connections> +</ui> |