1<ui version="4.0" > 2 <class>TemplateSingleVariableDialog</class> 3 <widget class="QDialog" name="TemplateSingleVariableDialog" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>403</width> 9 <height>218</height> 10 </rect> 11 </property> 12 <property name="windowTitle" > 13 <string>Enter Template Variable</string> 14 </property> 15 <property name="sizeGripEnabled" > 16 <bool>true</bool> 17 </property> 18 <layout class="QGridLayout" > 19 <item row="0" column="1" > 20 <widget class="QTextEdit" name="variableEdit" > 21 <property name="toolTip" > 22 <string>Enter the value for the variable.</string> 23 </property> 24 <property name="lineWrapMode" > 25 <enum>QTextEdit::NoWrap</enum> 26 </property> 27 <property name="acceptRichText" > 28 <bool>false</bool> 29 </property> 30 </widget> 31 </item> 32 <item row="0" column="0" > 33 <widget class="QLabel" name="variableLabel" > 34 <property name="text" > 35 <string>Variable:</string> 36 </property> 37 <property name="alignment" > 38 <set>Qt::AlignTop</set> 39 </property> 40 </widget> 41 </item> 42 <item row="1" column="0" colspan="2" > 43 <widget class="QDialogButtonBox" name="buttonBox" > 44 <property name="orientation" > 45 <enum>Qt::Horizontal</enum> 46 </property> 47 <property name="standardButtons" > 48 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 49 </property> 50 </widget> 51 </item> 52 </layout> 53 </widget> 54 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> 55 <tabstops> 56 <tabstop>variableEdit</tabstop> 57 </tabstops> 58 <resources/> 59 <connections> 60 <connection> 61 <sender>buttonBox</sender> 62 <signal>accepted()</signal> 63 <receiver>TemplateSingleVariableDialog</receiver> 64 <slot>accept()</slot> 65 <hints> 66 <hint type="sourcelabel" > 67 <x>40</x> 68 <y>195</y> 69 </hint> 70 <hint type="destinationlabel" > 71 <x>40</x> 72 <y>217</y> 73 </hint> 74 </hints> 75 </connection> 76 <connection> 77 <sender>buttonBox</sender> 78 <signal>rejected()</signal> 79 <receiver>TemplateSingleVariableDialog</receiver> 80 <slot>reject()</slot> 81 <hints> 82 <hint type="sourcelabel" > 83 <x>96</x> 84 <y>197</y> 85 </hint> 86 <hint type="destinationlabel" > 87 <x>96</x> 88 <y>217</y> 89 </hint> 90 </hints> 91 </connection> 92 </connections> 93</ui> 94