entitySelectionDlg.ui 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>EntitySelectionDialog</class>
  4. <widget class="QDialog" name="EntitySelectionDialog">
  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>Entity selector</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <layout class="QHBoxLayout" name="horizontalLayout">
  19. <item>
  20. <widget class="QLabel" name="label">
  21. <property name="text">
  22. <string>Select an entity:</string>
  23. </property>
  24. </widget>
  25. </item>
  26. <item>
  27. <spacer name="horizontalSpacer">
  28. <property name="orientation">
  29. <enum>Qt::Horizontal</enum>
  30. </property>
  31. <property name="sizeHint" stdset="0">
  32. <size>
  33. <width>38</width>
  34. <height>20</height>
  35. </size>
  36. </property>
  37. </spacer>
  38. </item>
  39. </layout>
  40. </item>
  41. <item>
  42. <widget class="QListWidget" name="listWidget">
  43. <property name="alternatingRowColors">
  44. <bool>true</bool>
  45. </property>
  46. </widget>
  47. </item>
  48. <item>
  49. <widget class="QFrame" name="frame">
  50. <property name="frameShape">
  51. <enum>QFrame::StyledPanel</enum>
  52. </property>
  53. <property name="frameShadow">
  54. <enum>QFrame::Raised</enum>
  55. </property>
  56. <layout class="QHBoxLayout" name="horizontalLayout_2">
  57. <property name="leftMargin">
  58. <number>0</number>
  59. </property>
  60. <property name="topMargin">
  61. <number>0</number>
  62. </property>
  63. <property name="rightMargin">
  64. <number>0</number>
  65. </property>
  66. <property name="bottomMargin">
  67. <number>0</number>
  68. </property>
  69. <item>
  70. <widget class="QPushButton" name="selectAllPushButton">
  71. <property name="text">
  72. <string>select all</string>
  73. </property>
  74. </widget>
  75. </item>
  76. <item>
  77. <widget class="QPushButton" name="selectNonePushButton">
  78. <property name="text">
  79. <string>select none</string>
  80. </property>
  81. </widget>
  82. </item>
  83. <item>
  84. <spacer name="horizontalSpacer_2">
  85. <property name="orientation">
  86. <enum>Qt::Horizontal</enum>
  87. </property>
  88. <property name="sizeHint" stdset="0">
  89. <size>
  90. <width>225</width>
  91. <height>20</height>
  92. </size>
  93. </property>
  94. </spacer>
  95. </item>
  96. <item>
  97. <widget class="QDialogButtonBox" name="buttonBox">
  98. <property name="orientation">
  99. <enum>Qt::Horizontal</enum>
  100. </property>
  101. <property name="standardButtons">
  102. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  103. </property>
  104. </widget>
  105. </item>
  106. </layout>
  107. </widget>
  108. </item>
  109. </layout>
  110. </widget>
  111. <resources/>
  112. <connections>
  113. <connection>
  114. <sender>buttonBox</sender>
  115. <signal>accepted()</signal>
  116. <receiver>EntitySelectionDialog</receiver>
  117. <slot>accept()</slot>
  118. <hints>
  119. <hint type="sourcelabel">
  120. <x>248</x>
  121. <y>254</y>
  122. </hint>
  123. <hint type="destinationlabel">
  124. <x>157</x>
  125. <y>274</y>
  126. </hint>
  127. </hints>
  128. </connection>
  129. <connection>
  130. <sender>buttonBox</sender>
  131. <signal>rejected()</signal>
  132. <receiver>EntitySelectionDialog</receiver>
  133. <slot>reject()</slot>
  134. <hints>
  135. <hint type="sourcelabel">
  136. <x>316</x>
  137. <y>260</y>
  138. </hint>
  139. <hint type="destinationlabel">
  140. <x>286</x>
  141. <y>274</y>
  142. </hint>
  143. </hints>
  144. </connection>
  145. </connections>
  146. </ui>