itemSelectionDlg.ui 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ItemSelectionDlg</class>
  4. <widget class="QDialog" name="ItemSelectionDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>400</width>
  10. <height>300</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Selection</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QLabel" name="label">
  19. <property name="text">
  20. <string>Please select one %1:</string>
  21. </property>
  22. </widget>
  23. </item>
  24. <item>
  25. <widget class="QListWidget" name="listWidget"/>
  26. </item>
  27. <item>
  28. <spacer name="verticalSpacer">
  29. <property name="orientation">
  30. <enum>Qt::Vertical</enum>
  31. </property>
  32. <property name="sizeHint" stdset="0">
  33. <size>
  34. <width>20</width>
  35. <height>40</height>
  36. </size>
  37. </property>
  38. </spacer>
  39. </item>
  40. <item>
  41. <widget class="QDialogButtonBox" name="buttonBox">
  42. <property name="orientation">
  43. <enum>Qt::Horizontal</enum>
  44. </property>
  45. <property name="standardButtons">
  46. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  47. </property>
  48. </widget>
  49. </item>
  50. </layout>
  51. </widget>
  52. <resources/>
  53. <connections>
  54. <connection>
  55. <sender>buttonBox</sender>
  56. <signal>accepted()</signal>
  57. <receiver>ItemSelectionDlg</receiver>
  58. <slot>accept()</slot>
  59. <hints>
  60. <hint type="sourcelabel">
  61. <x>248</x>
  62. <y>254</y>
  63. </hint>
  64. <hint type="destinationlabel">
  65. <x>157</x>
  66. <y>274</y>
  67. </hint>
  68. </hints>
  69. </connection>
  70. <connection>
  71. <sender>buttonBox</sender>
  72. <signal>rejected()</signal>
  73. <receiver>ItemSelectionDlg</receiver>
  74. <slot>reject()</slot>
  75. <hints>
  76. <hint type="sourcelabel">
  77. <x>316</x>
  78. <y>260</y>
  79. </hint>
  80. <hint type="destinationlabel">
  81. <x>286</x>
  82. <y>274</y>
  83. </hint>
  84. </hints>
  85. </connection>
  86. </connections>
  87. </ui>