--- a/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.ui Mon Dec 02 19:54:31 2013 +0100 +++ b/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.ui Tue Dec 03 18:44:38 2013 +0100 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>381</width> - <height>397</height> + <height>481</height> </rect> </property> <property name="windowTitle"> @@ -82,6 +82,62 @@ </widget> </item> <item> + <widget class="QGroupBox" name="parentGroup"> + <property name="title"> + <string>Parent</string> + </property> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <widget class="QRadioButton" name="parentSelf"> + <property name="toolTip"> + <string>Select "self" as parent</string> + </property> + <property name="text"> + <string>self</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QRadioButton" name="parentNone"> + <property name="toolTip"> + <string>Select "None" as parent</string> + </property> + <property name="text"> + <string>None</string> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QRadioButton" name="parentOther"> + <property name="toolTip"> + <string>Select to enter a parent expression</string> + </property> + <property name="text"> + <string>Expression:</string> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="parentEdit"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string>Enter the parent expression</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string>Colour</string> @@ -336,6 +392,10 @@ <tabstop>rRGBA</tabstop> <tabstop>eResultVar</tabstop> <tabstop>eTitle</tabstop> + <tabstop>parentSelf</tabstop> + <tabstop>parentNone</tabstop> + <tabstop>parentOther</tabstop> + <tabstop>parentEdit</tabstop> <tabstop>eColor</tabstop> <tabstop>sRed</tabstop> <tabstop>sGreen</tabstop> @@ -357,8 +417,8 @@ <y>35</y> </hint> <hint type="destinationlabel"> - <x>36</x> - <y>66</y> + <x>45</x> + <y>319</y> </hint> </hints> </connection> @@ -373,8 +433,8 @@ <y>38</y> </hint> <hint type="destinationlabel"> - <x>209</x> - <y>122</y> + <x>218</x> + <y>442</y> </hint> </hints> </connection> @@ -385,8 +445,8 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel"> - <x>20</x> - <y>263</y> + <x>29</x> + <y>471</y> </hint> <hint type="destinationlabel"> <x>20</x> @@ -401,8 +461,8 @@ <slot>reject()</slot> <hints> <hint type="sourcelabel"> - <x>76</x> - <y>260</y> + <x>85</x> + <y>471</y> </hint> <hint type="destinationlabel"> <x>76</x> @@ -410,5 +470,21 @@ </hint> </hints> </connection> + <connection> + <sender>parentOther</sender> + <signal>toggled(bool)</signal> + <receiver>parentEdit</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>82</x> + <y>241</y> + </hint> + <hint type="destinationlabel"> + <x>122</x> + <y>240</y> + </hint> + </hints> + </connection> </connections> </ui>