|
|
@@ -14,11 +14,38 @@
|
|
|
<string>MainWindow</string>
|
|
|
</property>
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
- <layout class="QVBoxLayout" name="verticalLayout">
|
|
|
+ <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="QHBoxLayout" name="horizontalLayout">
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
<item>
|
|
|
<widget class="QPushButton" name="btnEditor">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>64</width>
|
|
|
+ <height>64</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
<property name="text">
|
|
|
<string>Editor</string>
|
|
|
</property>
|
|
|
@@ -26,6 +53,18 @@
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QPushButton" name="btnSimulator">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>64</width>
|
|
|
+ <height>64</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
<property name="text">
|
|
|
<string>Simulator</string>
|
|
|
</property>
|
|
|
@@ -33,6 +72,18 @@
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QPushButton" name="btnTournament">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>64</width>
|
|
|
+ <height>64</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
<property name="text">
|
|
|
<string>Tournament</string>
|
|
|
</property>
|
|
|
@@ -40,26 +91,50 @@
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QPushButton" name="btnOptionSet">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>64</width>
|
|
|
+ <height>64</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
<property name="text">
|
|
|
<string>Option Set</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
- <spacer name="horizontalSpacer">
|
|
|
+ <spacer name="verticalSpacer">
|
|
|
<property name="orientation">
|
|
|
- <enum>Qt::Horizontal</enum>
|
|
|
+ <enum>Qt::Vertical</enum>
|
|
|
</property>
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
<size>
|
|
|
- <width>40</width>
|
|
|
- <height>20</height>
|
|
|
+ <width>20</width>
|
|
|
+ <height>40</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
</spacer>
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QPushButton" name="btnPreferences">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>64</width>
|
|
|
+ <height>64</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
<property name="text">
|
|
|
<string>Preferences</string>
|
|
|
</property>
|
|
|
@@ -67,6 +142,18 @@
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QPushButton" name="btnHelp">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>64</width>
|
|
|
+ <height>64</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
<property name="text">
|
|
|
<string>Help</string>
|
|
|
</property>
|
|
|
@@ -78,6 +165,21 @@
|
|
|
<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>
|
|
|
@@ -103,6 +205,153 @@
|
|
|
</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>
|