| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>CCSim</class>
- <widget class="QMainWindow" name="CCSim">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1024</width>
- <height>768</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>MainWindow</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QHBoxLayout" name="horizontalLayout">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QToolButton" name="btnEditor">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>70</width>
- <height>70</height>
- </size>
- </property>
- <property name="text">
- <string>Editor</string>
- </property>
- <property name="icon">
- <iconset resource="ccsim.qrc">
- <normaloff>:/ccsim/editor</normaloff>:/ccsim/editor</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>64</width>
- <height>64</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="btnSimulator">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>70</width>
- <height>70</height>
- </size>
- </property>
- <property name="text">
- <string>Simulator</string>
- </property>
- <property name="icon">
- <iconset resource="ccsim.qrc">
- <normaloff>:/ccsim/simulator</normaloff>:/ccsim/simulator</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>64</width>
- <height>64</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="btnTournament">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>70</width>
- <height>70</height>
- </size>
- </property>
- <property name="text">
- <string>Tournament</string>
- </property>
- <property name="icon">
- <iconset resource="ccsim.qrc">
- <normaloff>:/ccsim/tournament</normaloff>:/ccsim/tournament</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>64</width>
- <height>64</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="btnOptionSet">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>70</width>
- <height>70</height>
- </size>
- </property>
- <property name="text">
- <string>Option Set</string>
- </property>
- <property name="icon">
- <iconset resource="ccsim.qrc">
- <normaloff>:/ccsim/people</normaloff>:/ccsim/people</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>64</width>
- <height>64</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QToolButton" name="btnPreferences">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>70</width>
- <height>70</height>
- </size>
- </property>
- <property name="text">
- <string>Preferences</string>
- </property>
- <property name="icon">
- <iconset resource="ccsim.qrc">
- <normaloff>:/ccsim/people</normaloff>:/ccsim/people</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>64</width>
- <height>64</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="btnHelp">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>70</width>
- <height>70</height>
- </size>
- </property>
- <property name="text">
- <string>Help</string>
- </property>
- <property name="icon">
- <iconset resource="ccsim.qrc">
- <normaloff>:/ccsim/people</normaloff>:/ccsim/people</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>64</width>
- <height>64</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QStackedWidget" name="stackedWidget">
- <widget class="QWidget" name="pgEditor">
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="WgtCodeEditor" name="pteEditor"/>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="pgSimulator"/>
- <widget class="QWidget" name="pgTournament"/>
- <widget class="QWidget" name="pgOptionSet"/>
- <widget class="QWidget" name="pgPreferences"/>
- <widget class="QWidget" name="pgHelp"/>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1024</width>
- <height>21</height>
- </rect>
- </property>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <widget class="QToolBar" name="tbEditor">
- <property name="windowTitle">
- <string>Editor</string>
- </property>
- <property name="movable">
- <bool>false</bool>
- </property>
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- <addaction name="actionEditorNew"/>
- <addaction name="actionEditorLoad"/>
- <addaction name="actionEditorSave"/>
- <addaction name="actionEditorSaveAs"/>
- </widget>
- <widget class="QToolBar" name="tbSimulator">
- <property name="windowTitle">
- <string>Simulator</string>
- </property>
- <property name="movable">
- <bool>false</bool>
- </property>
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- <addaction name="actionSimulatorStop"/>
- <addaction name="actionSimulatorSingleStep"/>
- <addaction name="actionSimulatorStart"/>
- </widget>
- <widget class="QToolBar" name="tbTournament">
- <property name="windowTitle">
- <string>Tournament</string>
- </property>
- <property name="movable">
- <bool>false</bool>
- </property>
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- <addaction name="actionTournamentStop"/>
- <addaction name="actionTournamentStart"/>
- <addaction name="actionTournamentSaveResults"/>
- </widget>
- <widget class="QToolBar" name="tbOptionSet">
- <property name="windowTitle">
- <string>OptionSet</string>
- </property>
- <property name="movable">
- <bool>false</bool>
- </property>
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- </widget>
- <widget class="QToolBar" name="tbPreferences">
- <property name="windowTitle">
- <string>Preferences</string>
- </property>
- <property name="movable">
- <bool>false</bool>
- </property>
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- </widget>
- <widget class="QToolBar" name="tbHelp">
- <property name="windowTitle">
- <string>Help</string>
- </property>
- <property name="movable">
- <bool>false</bool>
- </property>
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- </widget>
- <action name="actionEditorSave">
- <property name="text">
- <string>EditorSave</string>
- </property>
- </action>
- <action name="actionEditorSaveAs">
- <property name="text">
- <string>EditorSaveAs</string>
- </property>
- </action>
- <action name="actionEditorLoad">
- <property name="text">
- <string>EditorLoad</string>
- </property>
- </action>
- <action name="actionEditorNew">
- <property name="text">
- <string>EditorNew</string>
- </property>
- </action>
- <action name="actionSimulatorStop">
- <property name="text">
- <string>SimulatorStop</string>
- </property>
- </action>
- <action name="actionSimulatorSingleStep">
- <property name="text">
- <string>SimulatorSingleStep</string>
- </property>
- </action>
- <action name="actionSimulatorStart">
- <property name="text">
- <string>SimulatorStart</string>
- </property>
- <property name="toolTip">
- <string>SimulatorStart</string>
- </property>
- </action>
- <action name="actionTournamentStop">
- <property name="text">
- <string>TournamentStop</string>
- </property>
- </action>
- <action name="actionTournamentStart">
- <property name="text">
- <string>TournamentStart</string>
- </property>
- </action>
- <action name="actionTournamentSaveResults">
- <property name="text">
- <string>TournamentSaveResults</string>
- </property>
- </action>
- </widget>
- <customwidgets>
- <customwidget>
- <class>WgtCodeEditor</class>
- <extends>QPlainTextEdit</extends>
- <header>wgtcodeeditor.h</header>
- </customwidget>
- </customwidgets>
- <resources>
- <include location="ccsim.qrc"/>
- </resources>
- <connections/>
- </ui>
|