Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.ui

changeset 3125
385a62b53725
parent 3124
a01e410893ac
child 5508
30626def80dc
diff -r a01e410893ac -r 385a62b53725 Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.ui
--- a/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.ui	Mon Dec 02 19:54:31 2013 +0100
+++ b/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.ui	Tue Dec 03 18:44:38 2013 +0100
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>377</width>
-    <height>162</height>
+    <height>291</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -32,6 +32,76 @@
     </widget>
    </item>
    <item>
+    <widget class="QLabel" name="textLabel1">
+     <property name="text">
+      <string>Title:</string>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <widget class="QLineEdit" name="eCaption">
+     <property name="toolTip">
+      <string>Enter the title for the message box</string>
+     </property>
+    </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 &quot;self&quot; 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 &quot;None&quot; 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>
     <layout class="QHBoxLayout">
      <item>
       <spacer>
@@ -107,6 +177,11 @@
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
  <tabstops>
   <tabstop>eResultVar</tabstop>
+  <tabstop>eCaption</tabstop>
+  <tabstop>parentSelf</tabstop>
+  <tabstop>parentNone</tabstop>
+  <tabstop>parentOther</tabstop>
+  <tabstop>parentEdit</tabstop>
   <tabstop>fontButton</tabstop>
   <tabstop>eVariable</tabstop>
   <tabstop>buttonBox</tabstop>
@@ -120,8 +195,8 @@
    <slot>accept()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>20</x>
-     <y>97</y>
+     <x>29</x>
+     <y>281</y>
     </hint>
     <hint type="destinationlabel">
      <x>20</x>
@@ -136,8 +211,8 @@
    <slot>reject()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>76</x>
-     <y>100</y>
+     <x>85</x>
+     <y>281</y>
     </hint>
     <hint type="destinationlabel">
      <x>76</x>
@@ -145,5 +220,21 @@
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>parentOther</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>parentEdit</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>61</x>
+     <y>156</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>130</x>
+     <y>157</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
 </ui>

eric ide

mercurial