Added cancel and create button handler slots.

This commit is contained in:
Jim Evins
2013-11-17 17:43:42 -05:00
parent d4541d396e
commit f5bdbb98f9
5 changed files with 73 additions and 31 deletions
+36 -23
View File
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1012</width>
<height>777</height>
<width>991</width>
<height>820</height>
</rect>
</property>
<property name="windowTitle">
@@ -205,6 +205,9 @@
</item>
<item>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
@@ -329,10 +332,23 @@
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QGroupBox" name="orientationGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -340,12 +356,9 @@
<property name="title">
<string>Orientation</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="leftMargin">
<number>9</number>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QRadioButton" name="orientationNormalRadio">
<property name="sizePolicy">
@@ -372,22 +385,12 @@
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
<zorder>orientationNormalRadio</zorder>
<zorder>orientationRotatedRadio</zorder>
<zorder>orientationNormalRadio</zorder>
</widget>
</item>
</layout>
@@ -414,9 +417,19 @@
</spacer>
</item>
<item>
<widget class="QPushButton" name="createButton">
<widget class="QPushButton" name="cancelButton">
<property name="text">
<string>Create</string>
<string>&amp;Cancel</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="createButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>C&amp;reate</string>
</property>
</widget>
</item>