extension.ui 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <ui version="4.0" >
  2. <class>Dialog</class>
  3. <widget class="QDialog" name="Dialog" >
  4. <property name="geometry" >
  5. <rect>
  6. <x>0</x>
  7. <y>0</y>
  8. <width>703</width>
  9. <height>433</height>
  10. </rect>
  11. </property>
  12. <property name="windowTitle" >
  13. <string>Choose MSX Extension</string>
  14. </property>
  15. <layout class="QVBoxLayout" name="verticalLayout" >
  16. <item>
  17. <widget class="QSplitter" name="splitter" >
  18. <property name="orientation" >
  19. <enum>Qt::Vertical</enum>
  20. </property>
  21. <widget class="QTableView" name="extensionTable" >
  22. <property name="verticalScrollBarPolicy" >
  23. <enum>Qt::ScrollBarAsNeeded</enum>
  24. </property>
  25. <property name="alternatingRowColors" >
  26. <bool>true</bool>
  27. </property>
  28. <property name="selectionMode" >
  29. <enum>QAbstractItemView::SingleSelection</enum>
  30. </property>
  31. <property name="selectionBehavior" >
  32. <enum>QAbstractItemView::SelectRows</enum>
  33. </property>
  34. </widget>
  35. <widget class="QWidget" native="1" name="previewWidget" >
  36. <layout class="QHBoxLayout" name="horizontalLayout" >
  37. <property name="spacing" >
  38. <number>0</number>
  39. </property>
  40. <property name="margin" >
  41. <number>0</number>
  42. </property>
  43. <item>
  44. <spacer name="horizontalSpacer" >
  45. <property name="orientation" >
  46. <enum>Qt::Horizontal</enum>
  47. </property>
  48. <property name="sizeHint" stdset="0" >
  49. <size>
  50. <width>225</width>
  51. <height>38</height>
  52. </size>
  53. </property>
  54. </spacer>
  55. </item>
  56. <item>
  57. <widget class="Slideshow" native="1" name="slideshowWidget" >
  58. <property name="enabled" >
  59. <bool>true</bool>
  60. </property>
  61. <property name="sizePolicy" >
  62. <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
  63. <horstretch>0</horstretch>
  64. <verstretch>0</verstretch>
  65. </sizepolicy>
  66. </property>
  67. <property name="minimumSize" >
  68. <size>
  69. <width>150</width>
  70. <height>100</height>
  71. </size>
  72. </property>
  73. </widget>
  74. </item>
  75. <item>
  76. <spacer name="horizontalSpacer_2" >
  77. <property name="orientation" >
  78. <enum>Qt::Horizontal</enum>
  79. </property>
  80. <property name="sizeHint" stdset="0" >
  81. <size>
  82. <width>225</width>
  83. <height>48</height>
  84. </size>
  85. </property>
  86. </spacer>
  87. </item>
  88. </layout>
  89. </widget>
  90. </widget>
  91. </item>
  92. <item>
  93. <layout class="QHBoxLayout" >
  94. <property name="spacing" >
  95. <number>6</number>
  96. </property>
  97. <property name="margin" >
  98. <number>0</number>
  99. </property>
  100. <item>
  101. <widget class="QPushButton" name="refreshButton" >
  102. <property name="toolTip" >
  103. <string>Refresh the list of extensions</string>
  104. </property>
  105. <property name="text" >
  106. <string>Refresh</string>
  107. </property>
  108. </widget>
  109. </item>
  110. <item>
  111. <spacer>
  112. <property name="orientation" >
  113. <enum>Qt::Horizontal</enum>
  114. </property>
  115. <property name="sizeHint" stdset="0" >
  116. <size>
  117. <width>383</width>
  118. <height>32</height>
  119. </size>
  120. </property>
  121. </spacer>
  122. </item>
  123. <item>
  124. <widget class="QPushButton" name="okButton" >
  125. <property name="enabled" >
  126. <bool>false</bool>
  127. </property>
  128. <property name="toolTip" >
  129. <string>Confirm new selection</string>
  130. </property>
  131. <property name="text" >
  132. <string>OK</string>
  133. </property>
  134. </widget>
  135. </item>
  136. <item>
  137. <widget class="QPushButton" name="cancelButton" >
  138. <property name="toolTip" >
  139. <string>Keep previous selection</string>
  140. </property>
  141. <property name="text" >
  142. <string>Cancel</string>
  143. </property>
  144. </widget>
  145. </item>
  146. </layout>
  147. </item>
  148. </layout>
  149. </widget>
  150. <customwidgets>
  151. <customwidget>
  152. <class>Slideshow</class>
  153. <extends>QWidget</extends>
  154. <header>slideshow.h</header>
  155. <container>1</container>
  156. </customwidget>
  157. </customwidgets>
  158. <resources/>
  159. <connections>
  160. <connection>
  161. <sender>okButton</sender>
  162. <signal>clicked()</signal>
  163. <receiver>Dialog</receiver>
  164. <slot>accept()</slot>
  165. <hints>
  166. <hint type="sourcelabel" >
  167. <x>600</x>
  168. <y>399</y>
  169. </hint>
  170. <hint type="destinationlabel" >
  171. <x>96</x>
  172. <y>254</y>
  173. </hint>
  174. </hints>
  175. </connection>
  176. <connection>
  177. <sender>cancelButton</sender>
  178. <signal>clicked()</signal>
  179. <receiver>Dialog</receiver>
  180. <slot>reject()</slot>
  181. <hints>
  182. <hint type="sourcelabel" >
  183. <x>691</x>
  184. <y>399</y>
  185. </hint>
  186. <hint type="destinationlabel" >
  187. <x>179</x>
  188. <y>282</y>
  189. </hint>
  190. </hints>
  191. </connection>
  192. <connection>
  193. <sender>extensionTable</sender>
  194. <signal>activated(QModelIndex)</signal>
  195. <receiver>Dialog</receiver>
  196. <slot>accept()</slot>
  197. <hints>
  198. <hint type="sourcelabel" >
  199. <x>350</x>
  200. <y>197</y>
  201. </hint>
  202. <hint type="destinationlabel" >
  203. <x>350</x>
  204. <y>217</y>
  205. </hint>
  206. </hints>
  207. </connection>
  208. </connections>
  209. </ui>