123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>myfirstgui</class>
- <widget class="QDialog" name="myfirstgui">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>411</width>
- <height>247</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>My First Gui!</string>
- </property>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>210</y>
- <width>381</width>
- <height>32</height>
- </rect>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Close</set>
- </property>
- </widget>
- <widget class="QLineEdit" name="myTextInput">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>101</width>
- <height>21</height>
- </rect>
- </property>
- </widget>
- <widget class="QListWidget" name="listWidget">
- <property name="geometry">
- <rect>
- <x>120</x>
- <y>10</y>
- <width>281</width>
- <height>192</height>
- </rect>
- </property>
- </widget>
- <widget class="QPushButton" name="clearBtn">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>180</y>
- <width>101</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>clear</string>
- </property>
- </widget>
- <widget class="QPushButton" name="addBtn">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>40</y>
- <width>101</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>add</string>
- </property>
- </widget>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>myfirstgui</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>258</x>
- <y>274</y>
- </hint>
- <hint type="destinationlabel">
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>myfirstgui</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>316</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel">
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>clearBtn</sender>
- <signal>clicked()</signal>
- <receiver>listWidget</receiver>
- <slot>clear()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>177</x>
- <y>253</y>
- </hint>
- <hint type="destinationlabel">
- <x>177</x>
- <y>174</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|