auto-scene-switcher.ui 8.5 KB

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