1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>Dialog_Warning</class> 4 <widget class="QDialog" name="Dialog_Warning"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>430</width> 10 <height>130</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>Warning</string> 15 </property> 16 <widget class="QLabel" name="label_Operation"> 17 <property name="geometry"> 18 <rect> 19 <x>20</x> 20 <y>50</y> 21 <width>401</width> 22 <height>19</height> 23 </rect> 24 </property> 25 <property name="font"> 26 <font> 27 <family>SimSun-ExtB</family> 28 <pointsize>16</pointsize> 29 <weight>75</weight> 30 <bold>true</bold> 31 </font> 32 </property> 33 <property name="text"> 34 <string>Warn string</string> 35 </property> 36 </widget> 37 <widget class="QPushButton" name="pushButton_ok"> 38 <property name="geometry"> 39 <rect> 40 <x>180</x> 41 <y>100</y> 42 <width>75</width> 43 <height>23</height> 44 </rect> 45 </property> 46 <property name="text"> 47 <string>OK</string> 48 </property> 49 </widget> 50 </widget> 51 <resources/> 52 <connections> 53 <connection> 54 <sender>pushButton_ok</sender> 55 <signal>clicked()</signal> 56 <receiver>Dialog_Warning</receiver> 57 <slot>Save()</slot> 58 <hints> 59 <hint type="sourcelabel"> 60 <x>105</x> 61 <y>164</y> 62 </hint> 63 <hint type="destinationlabel"> 64 <x>21</x> 65 <y>154</y> 66 </hint> 67 </hints> 68 </connection> 69 </connections> 70 <slots> 71 <slot>Save()</slot> 72 <slot>Cancel()</slot> 73 </slots> 74</ui> 75