auto-scene-switcher.ui 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>SceneSwitcher</class>
  4. <widget class="QDialog" name="SceneSwitcher">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>743</width>
  10. <height>563</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>SceneSwitcher</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <layout class="QHBoxLayout" name="horizontalLayout">
  19. <item>
  20. <widget class="QComboBox" name="windows">
  21. <property name="editable">
  22. <bool>true</bool>
  23. </property>
  24. <property name="maxVisibleItems">
  25. <number>20</number>
  26. </property>
  27. </widget>
  28. </item>
  29. <item>
  30. <widget class="QComboBox" name="scenes">
  31. <property name="sizePolicy">
  32. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  33. <horstretch>0</horstretch>
  34. <verstretch>0</verstretch>
  35. </sizepolicy>
  36. </property>
  37. <property name="minimumSize">
  38. <size>
  39. <width>100</width>
  40. <height>0</height>
  41. </size>
  42. </property>
  43. </widget>
  44. </item>
  45. </layout>
  46. </item>
  47. <item>
  48. <widget class="QListWidget" name="switches">
  49. <property name="sizePolicy">
  50. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  51. <horstretch>0</horstretch>
  52. <verstretch>0</verstretch>
  53. </sizepolicy>
  54. </property>
  55. <property name="sortingEnabled">
  56. <bool>true</bool>
  57. </property>
  58. </widget>
  59. </item>
  60. <item>
  61. <layout class="QHBoxLayout" name="horizontalLayout_2">
  62. <property name="spacing">
  63. <number>4</number>
  64. </property>
  65. <item>
  66. <widget class="QPushButton" name="add">
  67. <property name="maximumSize">
  68. <size>
  69. <width>22</width>
  70. <height>22</height>
  71. </size>
  72. </property>
  73. <property name="flat">
  74. <bool>true</bool>
  75. </property>
  76. <property name="themeID" stdset="0">
  77. <string notr="true">addIconSmall</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item>
  82. <widget class="QPushButton" name="remove">
  83. <property name="maximumSize">
  84. <size>
  85. <width>22</width>
  86. <height>22</height>
  87. </size>
  88. </property>
  89. <property name="flat">
  90. <bool>true</bool>
  91. </property>
  92. <property name="themeID" stdset="0">
  93. <string notr="true">removeIconSmall</string>
  94. </property>
  95. </widget>
  96. </item>
  97. <item>
  98. <spacer name="horizontalSpacer">
  99. <property name="orientation">
  100. <enum>Qt::Horizontal</enum>
  101. </property>
  102. <property name="sizeHint" stdset="0">
  103. <size>
  104. <width>40</width>
  105. <height>20</height>
  106. </size>
  107. </property>
  108. </spacer>
  109. </item>
  110. </layout>
  111. </item>
  112. <item>
  113. <layout class="QFormLayout" name="formLayout">
  114. <property name="fieldGrowthPolicy">
  115. <enum>QFormLayout::ExpandingFieldsGrow</enum>
  116. </property>
  117. <property name="labelAlignment">
  118. <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
  119. </property>
  120. <item row="0" column="0">
  121. <widget class="QLabel" name="label">
  122. <property name="sizePolicy">
  123. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  124. <horstretch>0</horstretch>
  125. <verstretch>0</verstretch>
  126. </sizepolicy>
  127. </property>
  128. <property name="text">
  129. <string>SceneSwitcher.OnNoMatch</string>
  130. </property>
  131. <property name="alignment">
  132. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
  133. </property>
  134. </widget>
  135. </item>
  136. <item row="0" column="1">
  137. <layout class="QVBoxLayout" name="verticalLayout_2">
  138. <property name="leftMargin">
  139. <number>0</number>
  140. </property>
  141. <property name="topMargin">
  142. <number>0</number>
  143. </property>
  144. <property name="rightMargin">
  145. <number>0</number>
  146. </property>
  147. <property name="bottomMargin">
  148. <number>0</number>
  149. </property>
  150. <item>
  151. <widget class="QRadioButton" name="noMatchDontSwitch">
  152. <property name="text">
  153. <string>SceneSwitcher.OnNoMatch.DontSwitch</string>
  154. </property>
  155. <property name="checked">
  156. <bool>true</bool>
  157. </property>
  158. </widget>
  159. </item>
  160. <item>
  161. <layout class="QHBoxLayout" name="horizontalLayout_3">
  162. <property name="leftMargin">
  163. <number>0</number>
  164. </property>
  165. <property name="topMargin">
  166. <number>0</number>
  167. </property>
  168. <property name="rightMargin">
  169. <number>0</number>
  170. </property>
  171. <property name="bottomMargin">
  172. <number>0</number>
  173. </property>
  174. <item>
  175. <widget class="QRadioButton" name="noMatchSwitch">
  176. <property name="text">
  177. <string>SceneSwitcher.OnNoMatch.SwitchTo</string>
  178. </property>
  179. </widget>
  180. </item>
  181. <item>
  182. <widget class="QComboBox" name="noMatchSwitchScene">
  183. <property name="enabled">
  184. <bool>false</bool>
  185. </property>
  186. <property name="minimumSize">
  187. <size>
  188. <width>100</width>
  189. <height>0</height>
  190. </size>
  191. </property>
  192. </widget>
  193. </item>
  194. </layout>
  195. </item>
  196. </layout>
  197. </item>
  198. <item row="1" column="0">
  199. <widget class="QLabel" name="label_2">
  200. <property name="text">
  201. <string>SceneSwitcher.CheckInterval</string>
  202. </property>
  203. <property name="buddy">
  204. <cstring>checkInterval</cstring>
  205. </property>
  206. </widget>
  207. </item>
  208. <item row="1" column="1">
  209. <widget class="QSpinBox" name="checkInterval">
  210. <property name="minimumSize">
  211. <size>
  212. <width>100</width>
  213. <height>0</height>
  214. </size>
  215. </property>
  216. <property name="suffix">
  217. <string notr="true">ms</string>
  218. </property>
  219. <property name="minimum">
  220. <number>50</number>
  221. </property>
  222. <property name="maximum">
  223. <number>20000</number>
  224. </property>
  225. <property name="value">
  226. <number>300</number>
  227. </property>
  228. </widget>
  229. </item>
  230. <item row="2" column="0">
  231. <widget class="QLabel" name="label_4">
  232. <property name="text">
  233. <string>SceneSwitcher.ActiveOrNotActive</string>
  234. </property>
  235. </widget>
  236. </item>
  237. <item row="3" column="0">
  238. <spacer name="horizontalSpacer_2">
  239. <property name="orientation">
  240. <enum>Qt::Horizontal</enum>
  241. </property>
  242. <property name="sizeHint" stdset="0">
  243. <size>
  244. <width>200</width>
  245. <height>20</height>
  246. </size>
  247. </property>
  248. </spacer>
  249. </item>
  250. <item row="3" column="1">
  251. <widget class="QPushButton" name="toggleStartButton">
  252. <property name="text">
  253. <string>Start</string>
  254. </property>
  255. </widget>
  256. </item>
  257. <item row="4" column="1">
  258. <spacer name="verticalSpacer">
  259. <property name="orientation">
  260. <enum>Qt::Vertical</enum>
  261. </property>
  262. <property name="sizeType">
  263. <enum>QSizePolicy::Preferred</enum>
  264. </property>
  265. <property name="sizeHint" stdset="0">
  266. <size>
  267. <width>20</width>
  268. <height>40</height>
  269. </size>
  270. </property>
  271. </spacer>
  272. </item>
  273. <item row="2" column="1">
  274. <widget class="QLabel" name="pluginRunningText">
  275. <property name="text">
  276. <string notr="true">Not Active</string>
  277. </property>
  278. </widget>
  279. </item>
  280. </layout>
  281. </item>
  282. <item alignment="Qt::AlignRight">
  283. <widget class="QPushButton" name="close">
  284. <property name="text">
  285. <string>Close</string>
  286. </property>
  287. </widget>
  288. </item>
  289. </layout>
  290. </widget>
  291. <resources/>
  292. <connections>
  293. <connection>
  294. <sender>noMatchSwitch</sender>
  295. <signal>toggled(bool)</signal>
  296. <receiver>noMatchSwitchScene</receiver>
  297. <slot>setEnabled(bool)</slot>
  298. <hints>
  299. <hint type="sourcelabel">
  300. <x>286</x>
  301. <y>347</y>
  302. </hint>
  303. <hint type="destinationlabel">
  304. <x>483</x>
  305. <y>352</y>
  306. </hint>
  307. </hints>
  308. </connection>
  309. </connections>
  310. </ui>