2021-04-06 23:10:57 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>MainWindow</class>
|
|
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>946</width>
|
|
|
|
<height>657</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2021-04-08 10:29:21 +08:00
|
|
|
<string>Red Panda C++</string>
|
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset>
|
|
|
|
<normalon>:/icons/images/devcpp.ico</normalon>
|
|
|
|
</iconset>
|
2021-04-06 23:10:57 +08:00
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
2021-04-07 22:44:08 +08:00
|
|
|
<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>
|
2021-04-06 23:10:57 +08:00
|
|
|
<item>
|
|
|
|
<widget class="QSplitter" name="splitter">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
2021-04-20 22:24:33 +08:00
|
|
|
<verstretch>1</verstretch>
|
2021-04-06 23:10:57 +08:00
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2021-04-07 22:44:08 +08:00
|
|
|
<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>
|
2021-04-06 23:10:57 +08:00
|
|
|
<item>
|
|
|
|
<widget class="QSplitter" name="splitter_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<widget class="QTabWidget" name="tabWidget_2">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="tabPosition">
|
|
|
|
<enum>QTabWidget::West</enum>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="tab_3">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Tab 1</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="tab_4">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Tab 2</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
2021-04-07 21:13:15 +08:00
|
|
|
<widget class="QWidget" name="EditorPanel" native="true">
|
2021-04-06 23:10:57 +08:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>2</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2021-04-07 22:44:08 +08:00
|
|
|
<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>
|
2021-04-06 23:10:57 +08:00
|
|
|
<item>
|
2021-04-07 21:13:15 +08:00
|
|
|
<widget class="QSplitter" name="EditorPanelSplitter">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<widget class="QTabWidget" name="EditorTabsLeft">
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>-1</number>
|
|
|
|
</property>
|
2021-04-11 13:55:31 +08:00
|
|
|
<property name="documentMode">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2021-04-07 22:44:08 +08:00
|
|
|
<property name="tabsClosable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2021-04-11 13:55:31 +08:00
|
|
|
<property name="movable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2021-04-07 22:44:08 +08:00
|
|
|
</widget>
|
|
|
|
<widget class="QTabWidget" name="EditorTabsRight">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2021-04-11 13:55:31 +08:00
|
|
|
<property name="documentMode">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2021-04-07 22:44:08 +08:00
|
|
|
<property name="tabsClosable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2021-04-11 13:55:31 +08:00
|
|
|
<property name="movable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2021-04-07 21:13:15 +08:00
|
|
|
</widget>
|
|
|
|
</widget>
|
2021-04-06 23:10:57 +08:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
2021-04-20 22:24:33 +08:00
|
|
|
<verstretch>0</verstretch>
|
2021-04-06 23:10:57 +08:00
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="tabPosition">
|
|
|
|
<enum>QTabWidget::South</enum>
|
|
|
|
</property>
|
|
|
|
<property name="currentIndex">
|
2021-04-20 22:24:33 +08:00
|
|
|
<number>0</number>
|
2021-04-06 23:10:57 +08:00
|
|
|
</property>
|
2021-04-20 22:24:33 +08:00
|
|
|
<widget class="QWidget" name="tabCompilerOutput">
|
2021-04-06 23:10:57 +08:00
|
|
|
<attribute name="title">
|
2021-04-20 22:24:33 +08:00
|
|
|
<string>Compiler Output</string>
|
2021-04-06 23:10:57 +08:00
|
|
|
</attribute>
|
2021-04-20 22:24:33 +08:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>5</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>5</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>5</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>5</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QPlainTextEdit" name="txtCompilerOutput">
|
|
|
|
<property name="undoRedoEnabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="lineWrapMode">
|
|
|
|
<enum>QPlainTextEdit::NoWrap</enum>
|
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="backgroundVisible">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2021-04-06 23:10:57 +08:00
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="menubar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>946</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
2021-04-07 21:13:15 +08:00
|
|
|
<widget class="QMenu" name="menuFile">
|
|
|
|
<property name="title">
|
|
|
|
<string>File</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="actionNew"/>
|
|
|
|
<addaction name="actionOpen"/>
|
2021-04-08 10:29:21 +08:00
|
|
|
<addaction name="separator"/>
|
|
|
|
<addaction name="actionSave"/>
|
|
|
|
<addaction name="actionSaveAs"/>
|
2021-04-16 22:04:48 +08:00
|
|
|
<addaction name="actionSaveAll"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenu" name="menuTools">
|
|
|
|
<property name="title">
|
|
|
|
<string>Tools</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="actionOptions"/>
|
2021-04-07 21:13:15 +08:00
|
|
|
</widget>
|
2021-04-20 22:24:33 +08:00
|
|
|
<widget class="QMenu" name="menuRun">
|
|
|
|
<property name="title">
|
|
|
|
<string>Run</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="actionCompile"/>
|
2021-04-21 18:58:35 +08:00
|
|
|
<addaction name="actionRun"/>
|
2021-04-20 22:24:33 +08:00
|
|
|
</widget>
|
2021-04-07 21:13:15 +08:00
|
|
|
<addaction name="menuFile"/>
|
2021-04-20 22:24:33 +08:00
|
|
|
<addaction name="menuRun"/>
|
2021-04-16 22:04:48 +08:00
|
|
|
<addaction name="menuTools"/>
|
2021-04-06 23:10:57 +08:00
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
2021-04-18 11:41:41 +08:00
|
|
|
<widget class="QToolBar" name="toolbarMain">
|
2021-04-07 21:13:15 +08:00
|
|
|
<property name="windowTitle">
|
|
|
|
<string>toolBar</string>
|
|
|
|
</property>
|
|
|
|
<attribute name="toolBarArea">
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<addaction name="actionNew"/>
|
|
|
|
<addaction name="actionOpen"/>
|
2021-04-08 10:29:21 +08:00
|
|
|
<addaction name="actionSave"/>
|
2021-04-16 22:04:48 +08:00
|
|
|
<addaction name="actionSaveAll"/>
|
2021-04-07 21:13:15 +08:00
|
|
|
</widget>
|
2021-04-18 11:41:41 +08:00
|
|
|
<widget class="QToolBar" name="toolbarCompilerSet">
|
2021-04-13 22:17:18 +08:00
|
|
|
<property name="windowTitle">
|
|
|
|
<string>toolBar_2</string>
|
|
|
|
</property>
|
|
|
|
<attribute name="toolBarArea">
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
2021-04-20 22:24:33 +08:00
|
|
|
<widget class="QToolBar" name="toolBarCompile">
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>toolBar</string>
|
|
|
|
</property>
|
|
|
|
<attribute name="toolBarArea">
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<addaction name="actionCompile"/>
|
2021-04-21 18:58:35 +08:00
|
|
|
<addaction name="actionRun"/>
|
2021-04-20 22:24:33 +08:00
|
|
|
</widget>
|
2021-04-07 21:13:15 +08:00
|
|
|
<action name="actionNew">
|
2021-04-08 10:29:21 +08:00
|
|
|
<property name="icon">
|
|
|
|
<iconset>
|
2021-04-12 00:14:53 +08:00
|
|
|
<normalon>:/icons/images/newlook24/050-newsrc.png</normalon>
|
2021-04-08 10:29:21 +08:00
|
|
|
</iconset>
|
|
|
|
</property>
|
2021-04-07 21:13:15 +08:00
|
|
|
<property name="text">
|
|
|
|
<string>New</string>
|
|
|
|
</property>
|
2021-04-11 21:33:08 +08:00
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+N</string>
|
|
|
|
</property>
|
2021-04-07 21:13:15 +08:00
|
|
|
</action>
|
|
|
|
<action name="actionOpen">
|
2021-04-08 10:29:21 +08:00
|
|
|
<property name="icon">
|
|
|
|
<iconset>
|
2021-04-12 00:14:53 +08:00
|
|
|
<normalon>:/icons/images/newlook24/053-open.png</normalon>
|
2021-04-08 10:29:21 +08:00
|
|
|
</iconset>
|
|
|
|
</property>
|
2021-04-07 21:13:15 +08:00
|
|
|
<property name="text">
|
|
|
|
<string>Open...</string>
|
|
|
|
</property>
|
2021-04-11 21:33:08 +08:00
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+O</string>
|
|
|
|
</property>
|
2021-04-07 21:13:15 +08:00
|
|
|
</action>
|
2021-04-08 10:29:21 +08:00
|
|
|
<action name="actionSave">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset>
|
2021-04-12 00:14:53 +08:00
|
|
|
<normalon>:/icons/images/newlook24/070-save.png</normalon>
|
2021-04-08 10:29:21 +08:00
|
|
|
</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Save</string>
|
|
|
|
</property>
|
2021-04-11 21:33:08 +08:00
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+S</string>
|
|
|
|
</property>
|
2021-04-08 10:29:21 +08:00
|
|
|
</action>
|
|
|
|
<action name="actionSaveAs">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset>
|
2021-04-12 00:14:53 +08:00
|
|
|
<normalon>:/icons/images/newlook24/072-saveas.png</normalon>
|
2021-04-08 10:29:21 +08:00
|
|
|
</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Save As...</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Save As</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2021-04-16 22:04:48 +08:00
|
|
|
<action name="actionSaveAll">
|
2021-04-08 10:29:21 +08:00
|
|
|
<property name="icon">
|
|
|
|
<iconset>
|
2021-04-12 00:14:53 +08:00
|
|
|
<normalon>:/icons/images/newlook24/071-saveall.png</normalon>
|
2021-04-08 10:29:21 +08:00
|
|
|
</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Save All</string>
|
|
|
|
</property>
|
2021-04-11 21:33:08 +08:00
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+Shift+S</string>
|
|
|
|
</property>
|
2021-04-08 10:29:21 +08:00
|
|
|
</action>
|
2021-04-16 22:04:48 +08:00
|
|
|
<action name="actionOptions">
|
|
|
|
<property name="text">
|
|
|
|
<string>Options</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2021-04-20 22:24:33 +08:00
|
|
|
<action name="actionCompile">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset>
|
|
|
|
<normalon>:/icons/images/newlook24/013-compile.png</normalon>
|
|
|
|
</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Compile</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Compile</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>F9</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2021-04-21 18:58:35 +08:00
|
|
|
<action name="actionRun">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset>
|
|
|
|
<normalon>:/icons/images/newlook24/069-run.png</normalon>
|
|
|
|
</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Run</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Run</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>F10</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2021-04-06 23:10:57 +08:00
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|