RedPanda-CPP/RedPandaIDE/mainwindow.ui

662 lines
18 KiB
Plaintext
Raw Normal View History

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">
<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>
2021-06-23 22:38:02 +08:00
<widget class="QSplitter" name="splitterMessages">
2021-04-06 23:10:57 +08:00
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="handleWidth">
<number>1</number>
</property>
2021-06-23 22:38:02 +08:00
<property name="childrenCollapsible">
<bool>false</bool>
</property>
2021-04-06 23:10:57 +08:00
<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>
2021-06-23 22:38:02 +08:00
<widget class="QSplitter" name="splitterInfos">
2021-04-06 23:10:57 +08:00
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="handleWidth">
<number>1</number>
</property>
2021-06-23 22:38:02 +08:00
<property name="childrenCollapsible">
<bool>false</bool>
</property>
<widget class="QTabWidget" name="tabInfos">
2021-04-06 23:10:57 +08:00
<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>
<widget class="QSplitter" name="splitterEditorPanel">
2021-04-07 21:13:15 +08:00
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="handleWidth">
<number>1</number>
</property>
2021-04-07 21:13:15 +08:00
<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>
2021-06-23 22:38:02 +08:00
<widget class="QTabWidget" name="tabMessages">
2021-04-06 23:10:57 +08:00
<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">
<number>0</number>
2021-04-06 23:10:57 +08:00
</property>
2021-04-24 15:57:45 +08:00
<widget class="QWidget" name="tabIssues">
2021-06-23 22:38:02 +08:00
<attribute name="icon">
<iconset>
<normalon>:/icons/images/newlook24/013-compile.png</normalon>
</iconset>
</attribute>
2021-04-24 15:57:45 +08:00
<attribute name="title">
<string>Issues</string>
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<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="IssuesTable" name="tableIssues">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
2021-04-24 15:57:45 +08:00
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="tabKeyNavigation">
<bool>false</bool>
</property>
<property name="showDropIndicator" stdset="0">
<bool>false</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
2021-04-29 20:54:44 +08:00
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
2021-04-24 15:57:45 +08:00
</widget>
</item>
</layout>
</widget>
2021-06-23 22:38:02 +08:00
<widget class="QWidget" name="tabResource">
<attribute name="icon">
<iconset>
<normalon>:/icons/images/newlook24/068-resrc.png</normalon>
</iconset>
</attribute>
<attribute name="title">
<string>Resource</string>
</attribute>
</widget>
2021-04-20 22:24:33 +08:00
<widget class="QWidget" name="tabCompilerOutput">
2021-06-23 22:38:02 +08:00
<attribute name="icon">
<iconset>
<normalon>:/icons/images/newlook24/015-compres.png</normalon>
</iconset>
</attribute>
2021-04-06 23:10:57 +08:00
<attribute name="title">
2021-04-24 15:57:45 +08:00
<string>Compile Log</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>
2021-06-23 22:38:02 +08:00
<widget class="QWidget" name="tabDebug">
<attribute name="icon">
<iconset>
<normalon>:/icons/images/newlook24/020-debug.png</normalon>
</iconset>
</attribute>
<attribute name="title">
<string>Debug</string>
</attribute>
</widget>
<widget class="QWidget" name="tabSearch">
<attribute name="icon">
<iconset>
<normalon>:/icons/images/newlook24/074-search.png</normalon>
</iconset>
</attribute>
<attribute name="title">
<string>Search</string>
</attribute>
</widget>
<widget class="QWidget" name="tabClose">
<attribute name="icon">
<iconset>
<normalon>:/icons/images/newlook24/008-close.png</normalon>
</iconset>
</attribute>
<attribute name="title">
<string>Close</string>
</attribute>
</widget>
2021-04-06 23:10:57 +08:00
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>946</width>
2021-06-18 21:48:40 +08:00
<height>25</height>
2021-04-06 23:10:57 +08:00
</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"/>
<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"/>
<addaction name="actionRun"/>
2021-04-20 22:24:33 +08:00
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>Edit</string>
</property>
<addaction name="actionUndo"/>
<addaction name="actionRedo"/>
<addaction name="separator"/>
<addaction name="actionCut"/>
<addaction name="actionCopy"/>
<addaction name="actionPaste"/>
<addaction name="actionSelectAll"/>
<addaction name="separator"/>
<addaction name="actionIndent"/>
<addaction name="actionUnIndent"/>
2021-04-24 15:57:45 +08:00
<addaction name="separator"/>
<addaction name="actionToggleComment"/>
<addaction name="separator"/>
<addaction name="actionFoldAll"/>
<addaction name="actionUnfoldAll"/>
</widget>
2021-04-07 21:13:15 +08:00
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
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"/>
<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">
<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"/>
<addaction name="actionRun"/>
2021-04-20 22:24:33 +08:00
</widget>
2021-04-07 21:13:15 +08:00
<action name="actionNew">
<property name="icon">
<iconset>
2021-04-12 00:14:53 +08:00
<normalon>:/icons/images/newlook24/050-newsrc.png</normalon>
</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">
<property name="icon">
<iconset>
2021-04-12 00:14:53 +08:00
<normalon>:/icons/images/newlook24/053-open.png</normalon>
</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>
<action name="actionSave">
<property name="icon">
<iconset>
2021-04-12 00:14:53 +08:00
<normalon>:/icons/images/newlook24/070-save.png</normalon>
</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>
</action>
<action name="actionSaveAs">
<property name="icon">
<iconset>
2021-04-12 00:14:53 +08:00
<normalon>:/icons/images/newlook24/072-saveas.png</normalon>
</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">
<property name="icon">
<iconset>
2021-04-12 00:14:53 +08:00
<normalon>:/icons/images/newlook24/071-saveall.png</normalon>
</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>
</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>
<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>
<action name="actionUndo">
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/086-undo.png</normalon>
</iconset>
</property>
<property name="text">
<string>Undo</string>
</property>
<property name="shortcut">
<string>Ctrl+Z</string>
</property>
</action>
<action name="actionRedo">
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/062-redo.png</normalon>
</iconset>
</property>
<property name="text">
<string>Redo</string>
</property>
<property name="shortcut">
<string>Ctrl+Y</string>
</property>
</action>
<action name="actionCut">
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/019-cut.png</normalon>
</iconset>
</property>
<property name="text">
<string>Cut</string>
</property>
<property name="shortcut">
<string>Ctrl+X</string>
</property>
</action>
<action name="actionCopy">
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/018-copy.png</normalon>
</iconset>
</property>
<property name="text">
<string>Copy</string>
</property>
<property name="shortcut">
<string>Ctrl+C</string>
</property>
</action>
<action name="actionPaste">
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/057-paste.png</normalon>
</iconset>
</property>
<property name="text">
<string>Paste</string>
</property>
<property name="shortcut">
<string>Ctrl+V</string>
</property>
</action>
<action name="actionSelectAll">
<property name="text">
<string>Select All</string>
</property>
<property name="shortcut">
<string>Ctrl+A</string>
</property>
</action>
<action name="actionIndent">
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/031-Edit-Indent.png</normalon>
</iconset>
</property>
<property name="text">
<string>Indent</string>
</property>
</action>
<action name="actionUnIndent">
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/032-Edit-Unindent.png</normalon>
</iconset>
</property>
<property name="text">
<string>UnIndent</string>
</property>
</action>
2021-04-24 15:57:45 +08:00
<action name="actionToggleComment">
<property name="text">
<string>Toggle Comment</string>
</property>
<property name="shortcut">
<string>Ctrl+/</string>
</property>
</action>
<action name="actionFoldAll">
<property name="enabled">
<bool>true</bool>
</property>
2021-04-24 15:57:45 +08:00
<property name="text">
<string>Collapse All</string>
</property>
</action>
<action name="actionUnfoldAll">
<property name="text">
<string>Uncollapse All</string>
</property>
</action>
<action name="actionEncode_in_ANSI">
<property name="text">
<string>Encode in ANSI</string>
</property>
</action>
<action name="actionEncode_in_UTF_8">
<property name="text">
<string>Encode in UTF-8</string>
</property>
</action>
<action name="actionAuto_Detect">
<property name="text">
<string>Auto Detect</string>
</property>
</action>
<action name="actionConvert_to_ANSI">
<property name="text">
<string>Convert to ANSI</string>
</property>
</action>
<action name="actionConvert_to_UTF_8">
<property name="text">
<string>Convert to UTF-8</string>
</property>
</action>
2021-04-06 23:10:57 +08:00
</widget>
2021-04-24 15:57:45 +08:00
<customwidgets>
<customwidget>
<class>IssuesTable</class>
<extends>QTableView</extends>
<header>widgets/issuestable.h</header>
</customwidget>
</customwidgets>
2021-04-06 23:10:57 +08:00
<resources/>
<connections/>
</ui>