/setimagedialog.ui
Qt | 157 lines | 157 code | 0 blank | 0 comment | 0 complexity | dbd188830b5c00cab2dd799d818653d7 MD5 | raw file
1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>SetImageDialog</class> 4 <widget class="QDialog" name="SetImageDialog"> 5 <property name="windowModality"> 6 <enum>Qt::ApplicationModal</enum> 7 </property> 8 <property name="geometry"> 9 <rect> 10 <x>0</x> 11 <y>0</y> 12 <width>228</width> 13 <height>185</height> 14 </rect> 15 </property> 16 <property name="windowTitle"> 17 <string>Set Image</string> 18 </property> 19 <widget class="QDialogButtonBox" name="buttonBox"> 20 <property name="geometry"> 21 <rect> 22 <x>50</x> 23 <y>150</y> 24 <width>171</width> 25 <height>32</height> 26 </rect> 27 </property> 28 <property name="orientation"> 29 <enum>Qt::Horizontal</enum> 30 </property> 31 <property name="standardButtons"> 32 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 33 </property> 34 </widget> 35 <widget class="QComboBox" name="editImage"> 36 <property name="geometry"> 37 <rect> 38 <x>10</x> 39 <y>10</y> 40 <width>211</width> 41 <height>22</height> 42 </rect> 43 </property> 44 </widget> 45 <widget class="QWidget" name="gridLayoutWidget"> 46 <property name="geometry"> 47 <rect> 48 <x>9</x> 49 <y>40</y> 50 <width>211</width> 51 <height>101</height> 52 </rect> 53 </property> 54 <layout class="QGridLayout" name="gridLayout"> 55 <item row="0" column="1"> 56 <widget class="QSpinBox" name="editX"/> 57 </item> 58 <item row="1" column="1"> 59 <widget class="QSpinBox" name="editY"/> 60 </item> 61 <item row="2" column="1"> 62 <widget class="QSpinBox" name="editW"/> 63 </item> 64 <item row="3" column="1"> 65 <widget class="QSpinBox" name="editH"/> 66 </item> 67 <item row="0" column="0"> 68 <widget class="QLabel" name="label"> 69 <property name="sizePolicy"> 70 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 71 <horstretch>0</horstretch> 72 <verstretch>0</verstretch> 73 </sizepolicy> 74 </property> 75 <property name="text"> 76 <string>X</string> 77 </property> 78 <property name="alignment"> 79 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 80 </property> 81 </widget> 82 </item> 83 <item row="1" column="0"> 84 <widget class="QLabel" name="label_2"> 85 <property name="text"> 86 <string>Y</string> 87 </property> 88 <property name="alignment"> 89 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 90 </property> 91 </widget> 92 </item> 93 <item row="2" column="0"> 94 <widget class="QLabel" name="label_3"> 95 <property name="text"> 96 <string>Width</string> 97 </property> 98 <property name="alignment"> 99 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 100 </property> 101 </widget> 102 </item> 103 <item row="3" column="0"> 104 <widget class="QLabel" name="label_4"> 105 <property name="sizePolicy"> 106 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 107 <horstretch>0</horstretch> 108 <verstretch>0</verstretch> 109 </sizepolicy> 110 </property> 111 <property name="text"> 112 <string>Height</string> 113 </property> 114 <property name="alignment"> 115 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 116 </property> 117 </widget> 118 </item> 119 </layout> 120 </widget> 121 </widget> 122 <resources/> 123 <connections> 124 <connection> 125 <sender>buttonBox</sender> 126 <signal>accepted()</signal> 127 <receiver>SetImageDialog</receiver> 128 <slot>accept()</slot> 129 <hints> 130 <hint type="sourcelabel"> 131 <x>248</x> 132 <y>254</y> 133 </hint> 134 <hint type="destinationlabel"> 135 <x>157</x> 136 <y>274</y> 137 </hint> 138 </hints> 139 </connection> 140 <connection> 141 <sender>buttonBox</sender> 142 <signal>rejected()</signal> 143 <receiver>SetImageDialog</receiver> 144 <slot>reject()</slot> 145 <hints> 146 <hint type="sourcelabel"> 147 <x>316</x> 148 <y>260</y> 149 </hint> 150 <hint type="destinationlabel"> 151 <x>286</x> 152 <y>274</y> 153 </hint> 154 </hints> 155 </connection> 156 </connections> 157</ui>