RedPanda-CPP/RedPandaIDE/settingsdialog/compilersetoptionwidget.ui

552 lines
17 KiB
Plaintext
Raw Normal View History

2021-04-17 23:17:22 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CompilerSetOptionWidget</class>
<widget class="QWidget" name="CompilerSetOptionWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>823</width>
<height>607</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Compiler set to config</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QComboBox" name="cbCompilerSet"/>
</item>
<item>
<widget class="QToolButton" name="btnFindCompilers">
<property name="toolTip">
<string>Auto Find Compilers</string>
</property>
2021-04-17 23:17:22 +08:00
<property name="text">
<string>Auto Find Compilers</string>
2021-04-17 23:17:22 +08:00
</property>
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/087-update.png</normalon>
</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="btnAddCompilerSetByFolder">
<property name="toolTip">
<string>Find Compiler in the Folder</string>
</property>
2021-04-17 23:17:22 +08:00
<property name="text">
<string>Find Compiler in the Folder</string>
2021-04-17 23:17:22 +08:00
</property>
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/053-open.png</normalon>
2021-04-17 23:17:22 +08:00
</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="btnAddBlankCompilerSet">
<property name="toolTip">
<string>Add Blank Compiler Set</string>
</property>
2021-04-17 23:17:22 +08:00
<property name="text">
<string>Add Blank Compiler Set</string>
2021-04-17 23:17:22 +08:00
</property>
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/050-newsrc.png</normalon>
2021-04-17 23:17:22 +08:00
</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="btnRenameCompilerSet">
<property name="toolTip">
<string>Rename</string>
</property>
2021-04-17 23:17:22 +08:00
<property name="text">
<string>Rename</string>
2021-04-17 23:17:22 +08:00
</property>
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/062-redo.png</normalon>
</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="btnRemoveCompilerSet">
<property name="toolTip">
<string>Remove</string>
</property>
2021-04-17 23:17:22 +08:00
<property name="text">
<string>Remove</string>
2021-04-17 23:17:22 +08:00
</property>
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/008-close.png</normalon>
</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QTabWidget" name="settingTabs">
<property name="currentIndex">
2023-08-13 18:53:48 +08:00
<number>4</number>
2021-04-17 23:17:22 +08:00
</property>
<property name="movable">
<bool>false</bool>
</property>
<widget class="QWidget" name="tabGeneral">
<attribute name="title">
<string>General</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
2021-09-02 21:01:23 +08:00
<item>
<widget class="QWidget" name="panelCharset" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<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="QCheckBox" name="chkAutoAddCharset">
<property name="text">
<string>Convert Executable's Charset as</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cbEncoding"/>
</item>
<item>
<widget class="QComboBox" name="cbEncodingDetails"/>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
2021-09-02 21:01:23 +08:00
</widget>
</item>
<item>
<widget class="QCheckBox" name="chkStaticLink">
<property name="text">
<string>Statically link libraries</string>
</property>
</widget>
</item>
2021-04-17 23:17:22 +08:00
<item>
<widget class="QCheckBox" name="chkUseCustomCompilerParams">
<property name="text">
<string>Add the following arguments when calling the compiler</string>
</property>
</widget>
</item>
<item>
<widget class="QPlainTextEdit" name="txtCustomCompileParams"/>
</item>
<item>
<widget class="QCheckBox" name="chkUseCustomLinkParams">
<property name="text">
<string>Add the following arguments when calling the linker</string>
</property>
</widget>
</item>
<item>
<widget class="QPlainTextEdit" name="txtCustomLinkParams"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabSettings">
<attribute name="title">
<string>Settings</string>
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item>
<widget class="CompileArgumentsWidget" name="optionTabs">
2021-04-17 23:17:22 +08:00
<property name="documentMode">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabDirectories">
<attribute name="title">
<string>Directories</string>
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item>
<widget class="QTabWidget" name="dirTabs">
<property name="currentIndex">
<number>-1</number>
</property>
<property name="documentMode">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabPrograms">
<attribute name="title">
<string>Programs</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="2">
<widget class="QToolButton" name="btnChooseGDB">
2021-04-17 23:17:22 +08:00
<property name="toolTip">
<string>Choose Debugger</string>
2021-04-17 23:17:22 +08:00
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/053-open.png</normalon>
</iconset>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QToolButton" name="btnChooseGDBServer">
2021-04-17 23:17:22 +08:00
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/images/newlook24/053-open.png</normaloff>:/icons/images/newlook24/053-open.png</iconset>
2021-04-17 23:17:22 +08:00
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Resource Compilerwindres)</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="txtGDBServer"/>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="txtCppCompiler"/>
2021-04-17 23:17:22 +08:00
</item>
<item row="2" column="2">
<widget class="QToolButton" name="btnChooseMake">
2021-04-17 23:17:22 +08:00
<property name="toolTip">
<string>Choose make</string>
2021-04-17 23:17:22 +08:00
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/053-open.png</normalon>
</iconset>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
2021-04-17 23:17:22 +08:00
<property name="text">
<string>C Compiler(gcc)</string>
2021-04-17 23:17:22 +08:00
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>make</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="txtResourceCompiler"/>
</item>
<item row="1" column="2">
<widget class="QToolButton" name="btnChooseCppCompiler">
<property name="toolTip">
<string>Choose C++ Compiler</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/053-open.png</normalon>
</iconset>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QToolButton" name="btnChooseCCompiler">
2021-04-17 23:17:22 +08:00
<property name="toolTip">
<string>Choose C Compiler</string>
2021-04-17 23:17:22 +08:00
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/053-open.png</normalon>
</iconset>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="txtCCompiler"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>gdb server</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="txtMake"/>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="txtDebugger"/>
</item>
<item row="5" column="2">
<widget class="QToolButton" name="btnChooseResourceCompiler">
<property name="toolTip">
<string>Choose Resource Compiler</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset>
<normalon>:/icons/images/newlook24/053-open.png</normalon>
</iconset>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
2021-04-17 23:17:22 +08:00
<property name="text">
<string>C++ Compiler(g++)</string>
2021-04-17 23:17:22 +08:00
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>gdb</string>
</property>
</widget>
</item>
2021-04-17 23:17:22 +08:00
</layout>
</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>
</layout>
</widget>
<widget class="QWidget" name="tabOutput">
<attribute name="title">
<string>Output</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
2023-08-13 18:53:48 +08:00
<item row="1" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
2023-08-13 18:53:48 +08:00
<item row="2" column="0">
<widget class="QLabel" name="lbCompilingSuffix">
<property name="text">
<string>Compiling output suffix</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="lbExecSuffix">
<property name="text">
<string>Executable suffix</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="3">
2023-08-13 18:53:48 +08:00
<widget class="QGroupBox" name="grpCompilationStages">
<property name="title">
<string>Compilation Stages</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QRadioButton" name="rbPreprocessingOnly">
<property name="text">
<string>Stop after the preprocessing stage</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rbCompilationProperOnly">
<property name="text">
<string>Stop after the compilation proper stage</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rbGenerateExecutable">
<property name="text">
<string>Link and generate the executable </string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="txtPreprocessingSuffix"/>
</item>
2023-08-13 18:53:48 +08:00
<item row="1" column="0">
<widget class="QLabel" name="lbPreprocessingSuffix">
<property name="text">
2023-08-13 18:53:48 +08:00
<string>Preprocessing output suffix</string>
</property>
</widget>
</item>
2023-08-13 18:53:48 +08:00
<item row="6" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation">
2023-08-13 18:53:48 +08:00
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
2023-08-13 18:53:48 +08:00
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
2023-08-13 18:53:48 +08:00
<item row="5" column="1">
<widget class="QComboBox" name="cbBinarySuffix"/>
</item>
2023-08-13 18:53:48 +08:00
<item row="4" column="1">
<widget class="QLineEdit" name="txtExecutableSuffix"/>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="txtCompilationSuffix"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="lbBinarySuffix">
<property name="text">
2023-08-13 18:53:48 +08:00
<string>Binary suffix</string>
</property>
</widget>
</item>
</layout>
</widget>
2021-04-17 23:17:22 +08:00
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>CompileArgumentsWidget</class>
<extends>QTabWidget</extends>
<header location="global">widgets/compileargumentswidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="../icons.qrc"/>
</resources>
2021-04-17 23:17:22 +08:00
<connections/>
</ui>