ccsim.ui 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CCSim</class>
  4. <widget class="QMainWindow" name="CCSim">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1024</width>
  10. <height>768</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QHBoxLayout" name="horizontalLayout">
  18. <property name="spacing">
  19. <number>0</number>
  20. </property>
  21. <property name="leftMargin">
  22. <number>0</number>
  23. </property>
  24. <property name="topMargin">
  25. <number>0</number>
  26. </property>
  27. <property name="rightMargin">
  28. <number>0</number>
  29. </property>
  30. <property name="bottomMargin">
  31. <number>0</number>
  32. </property>
  33. <item>
  34. <layout class="QVBoxLayout" name="verticalLayout_3">
  35. <item>
  36. <widget class="QPushButton" name="btnEditor">
  37. <property name="sizePolicy">
  38. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  39. <horstretch>0</horstretch>
  40. <verstretch>0</verstretch>
  41. </sizepolicy>
  42. </property>
  43. <property name="minimumSize">
  44. <size>
  45. <width>64</width>
  46. <height>64</height>
  47. </size>
  48. </property>
  49. <property name="text">
  50. <string>Editor</string>
  51. </property>
  52. </widget>
  53. </item>
  54. <item>
  55. <widget class="QPushButton" name="btnSimulator">
  56. <property name="sizePolicy">
  57. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  58. <horstretch>0</horstretch>
  59. <verstretch>0</verstretch>
  60. </sizepolicy>
  61. </property>
  62. <property name="minimumSize">
  63. <size>
  64. <width>64</width>
  65. <height>64</height>
  66. </size>
  67. </property>
  68. <property name="text">
  69. <string>Simulator</string>
  70. </property>
  71. </widget>
  72. </item>
  73. <item>
  74. <widget class="QPushButton" name="btnTournament">
  75. <property name="sizePolicy">
  76. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  77. <horstretch>0</horstretch>
  78. <verstretch>0</verstretch>
  79. </sizepolicy>
  80. </property>
  81. <property name="minimumSize">
  82. <size>
  83. <width>64</width>
  84. <height>64</height>
  85. </size>
  86. </property>
  87. <property name="text">
  88. <string>Tournament</string>
  89. </property>
  90. </widget>
  91. </item>
  92. <item>
  93. <widget class="QPushButton" name="btnOptionSet">
  94. <property name="sizePolicy">
  95. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  96. <horstretch>0</horstretch>
  97. <verstretch>0</verstretch>
  98. </sizepolicy>
  99. </property>
  100. <property name="minimumSize">
  101. <size>
  102. <width>64</width>
  103. <height>64</height>
  104. </size>
  105. </property>
  106. <property name="text">
  107. <string>Option Set</string>
  108. </property>
  109. </widget>
  110. </item>
  111. <item>
  112. <spacer name="verticalSpacer">
  113. <property name="orientation">
  114. <enum>Qt::Vertical</enum>
  115. </property>
  116. <property name="sizeHint" stdset="0">
  117. <size>
  118. <width>20</width>
  119. <height>40</height>
  120. </size>
  121. </property>
  122. </spacer>
  123. </item>
  124. <item>
  125. <widget class="QPushButton" name="btnPreferences">
  126. <property name="sizePolicy">
  127. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  128. <horstretch>0</horstretch>
  129. <verstretch>0</verstretch>
  130. </sizepolicy>
  131. </property>
  132. <property name="minimumSize">
  133. <size>
  134. <width>64</width>
  135. <height>64</height>
  136. </size>
  137. </property>
  138. <property name="text">
  139. <string>Preferences</string>
  140. </property>
  141. </widget>
  142. </item>
  143. <item>
  144. <widget class="QPushButton" name="btnHelp">
  145. <property name="sizePolicy">
  146. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  147. <horstretch>0</horstretch>
  148. <verstretch>0</verstretch>
  149. </sizepolicy>
  150. </property>
  151. <property name="minimumSize">
  152. <size>
  153. <width>64</width>
  154. <height>64</height>
  155. </size>
  156. </property>
  157. <property name="text">
  158. <string>Help</string>
  159. </property>
  160. </widget>
  161. </item>
  162. </layout>
  163. </item>
  164. <item>
  165. <widget class="QStackedWidget" name="stackedWidget">
  166. <widget class="QWidget" name="pgEditor">
  167. <layout class="QVBoxLayout" name="verticalLayout_2">
  168. <property name="spacing">
  169. <number>0</number>
  170. </property>
  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="WgtCodeEditor" name="pteEditor"/>
  185. </item>
  186. </layout>
  187. </widget>
  188. <widget class="QWidget" name="pgSimulator"/>
  189. <widget class="QWidget" name="pgTournament"/>
  190. <widget class="QWidget" name="pgOptionSet"/>
  191. <widget class="QWidget" name="pgPreferences"/>
  192. <widget class="QWidget" name="pgHelp"/>
  193. </widget>
  194. </item>
  195. </layout>
  196. </widget>
  197. <widget class="QMenuBar" name="menubar">
  198. <property name="geometry">
  199. <rect>
  200. <x>0</x>
  201. <y>0</y>
  202. <width>1024</width>
  203. <height>21</height>
  204. </rect>
  205. </property>
  206. </widget>
  207. <widget class="QStatusBar" name="statusbar"/>
  208. <widget class="QToolBar" name="tbEditor">
  209. <property name="windowTitle">
  210. <string>Editor</string>
  211. </property>
  212. <property name="movable">
  213. <bool>false</bool>
  214. </property>
  215. <attribute name="toolBarArea">
  216. <enum>TopToolBarArea</enum>
  217. </attribute>
  218. <attribute name="toolBarBreak">
  219. <bool>false</bool>
  220. </attribute>
  221. <addaction name="actionEditorNew"/>
  222. <addaction name="actionEditorLoad"/>
  223. <addaction name="actionEditorSave"/>
  224. <addaction name="actionEditorSaveAs"/>
  225. </widget>
  226. <widget class="QToolBar" name="tbSimulator">
  227. <property name="windowTitle">
  228. <string>Simulator</string>
  229. </property>
  230. <property name="movable">
  231. <bool>false</bool>
  232. </property>
  233. <attribute name="toolBarArea">
  234. <enum>TopToolBarArea</enum>
  235. </attribute>
  236. <attribute name="toolBarBreak">
  237. <bool>false</bool>
  238. </attribute>
  239. <addaction name="actionSimulatorStop"/>
  240. <addaction name="actionSimulatorSingleStep"/>
  241. <addaction name="actionSimulatorStart"/>
  242. </widget>
  243. <widget class="QToolBar" name="tbTournament">
  244. <property name="windowTitle">
  245. <string>Tournament</string>
  246. </property>
  247. <property name="movable">
  248. <bool>false</bool>
  249. </property>
  250. <attribute name="toolBarArea">
  251. <enum>TopToolBarArea</enum>
  252. </attribute>
  253. <attribute name="toolBarBreak">
  254. <bool>false</bool>
  255. </attribute>
  256. <addaction name="actionTournamentStop"/>
  257. <addaction name="actionTournamentStart"/>
  258. <addaction name="actionTournamentSaveResults"/>
  259. </widget>
  260. <widget class="QToolBar" name="tbOptionSet">
  261. <property name="windowTitle">
  262. <string>OptionSet</string>
  263. </property>
  264. <property name="movable">
  265. <bool>false</bool>
  266. </property>
  267. <attribute name="toolBarArea">
  268. <enum>TopToolBarArea</enum>
  269. </attribute>
  270. <attribute name="toolBarBreak">
  271. <bool>false</bool>
  272. </attribute>
  273. </widget>
  274. <widget class="QToolBar" name="tbPreferences">
  275. <property name="windowTitle">
  276. <string>Preferences</string>
  277. </property>
  278. <property name="movable">
  279. <bool>false</bool>
  280. </property>
  281. <attribute name="toolBarArea">
  282. <enum>TopToolBarArea</enum>
  283. </attribute>
  284. <attribute name="toolBarBreak">
  285. <bool>false</bool>
  286. </attribute>
  287. </widget>
  288. <widget class="QToolBar" name="tbHelp">
  289. <property name="windowTitle">
  290. <string>Help</string>
  291. </property>
  292. <property name="movable">
  293. <bool>false</bool>
  294. </property>
  295. <attribute name="toolBarArea">
  296. <enum>TopToolBarArea</enum>
  297. </attribute>
  298. <attribute name="toolBarBreak">
  299. <bool>false</bool>
  300. </attribute>
  301. </widget>
  302. <action name="actionEditorSave">
  303. <property name="text">
  304. <string>EditorSave</string>
  305. </property>
  306. </action>
  307. <action name="actionEditorSaveAs">
  308. <property name="text">
  309. <string>EditorSaveAs</string>
  310. </property>
  311. </action>
  312. <action name="actionEditorLoad">
  313. <property name="text">
  314. <string>EditorLoad</string>
  315. </property>
  316. </action>
  317. <action name="actionEditorNew">
  318. <property name="text">
  319. <string>EditorNew</string>
  320. </property>
  321. </action>
  322. <action name="actionSimulatorStop">
  323. <property name="text">
  324. <string>SimulatorStop</string>
  325. </property>
  326. </action>
  327. <action name="actionSimulatorSingleStep">
  328. <property name="text">
  329. <string>SimulatorSingleStep</string>
  330. </property>
  331. </action>
  332. <action name="actionSimulatorStart">
  333. <property name="text">
  334. <string>SimulatorStart</string>
  335. </property>
  336. <property name="toolTip">
  337. <string>SimulatorStart</string>
  338. </property>
  339. </action>
  340. <action name="actionTournamentStop">
  341. <property name="text">
  342. <string>TournamentStop</string>
  343. </property>
  344. </action>
  345. <action name="actionTournamentStart">
  346. <property name="text">
  347. <string>TournamentStart</string>
  348. </property>
  349. </action>
  350. <action name="actionTournamentSaveResults">
  351. <property name="text">
  352. <string>TournamentSaveResults</string>
  353. </property>
  354. </action>
  355. </widget>
  356. <customwidgets>
  357. <customwidget>
  358. <class>WgtCodeEditor</class>
  359. <extends>QPlainTextEdit</extends>
  360. <header>wgtcodeeditor.h</header>
  361. </customwidget>
  362. </customwidgets>
  363. <resources/>
  364. <connections/>
  365. </ui>