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">
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>Auto Find Compilers</string>
|
|
|
|
|
</property>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<property name="text">
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<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>
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<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">
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<string>Find Compiler in the Folder</string>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<normalon>:/icons/images/newlook24/053-open.png</normalon>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<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">
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<string>Add Blank Compiler Set</string>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<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">
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>Rename</string>
|
|
|
|
|
</property>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<property name="text">
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<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">
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>Remove</string>
|
|
|
|
|
</property>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<property name="text">
|
2021-12-23 00:24:52 +08:00
|
|
|
|
<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">
|
2021-12-26 21:26:00 +08:00
|
|
|
|
<number>0</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="QCheckBox" name="chkAutoAddCharset">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Add Charset arguments when calling the compiler</string>
|
|
|
|
|
</property>
|
|
|
|
|
</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="QTabWidget" name="optionTabs">
|
|
|
|
|
<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="QLabel" name="label">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>TextLabel</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<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">
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<item row="2" column="2">
|
|
|
|
|
<widget class="QToolButton" name="btnChooseMake">
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<property name="toolTip">
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<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>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>C Compiler(gcc)</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="6" column="2">
|
|
|
|
|
<widget class="QToolButton" name="btnChooseProfiler">
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<property name="toolTip">
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<string>Choose Profiler</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>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<item row="5" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtResourceCompiler"/>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
</item>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_3">
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<property name="text">
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<string>C++ Compiler(g++)</string>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<item row="1" column="2">
|
|
|
|
|
<widget class="QToolButton" name="btnChooseCppCompiler">
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>Choose C++ Compiler</string>
|
|
|
|
|
</property>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<property name="text">
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<string>...</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normalon>:/icons/images/newlook24/053-open.png</normalon>
|
|
|
|
|
</iconset>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<item row="6" column="0">
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Profiler(gprof)</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<item row="6" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtProfiler"/>
|
|
|
|
|
</item>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>make</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<item row="3" column="2">
|
|
|
|
|
<widget class="QToolButton" name="btnChooseGDB">
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<property name="toolTip">
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<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>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<item row="3" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtDebugger"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtMake"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="2">
|
|
|
|
|
<widget class="QToolButton" name="btnChooseCCompiler">
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<property name="toolTip">
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<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>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtCppCompiler"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>gdb</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="5" column="2">
|
|
|
|
|
<widget class="QToolButton" name="btnChooseResourceCompiler">
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<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>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<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>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
</property>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="5" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Resource Compiler(windres)</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtGDBServer"/>
|
|
|
|
|
</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">
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<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>
|
|
|
|
|
</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>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
2021-12-25 18:09:50 +08:00
|
|
|
|
<resources>
|
|
|
|
|
<include location="../icons.qrc"/>
|
|
|
|
|
</resources>
|
2021-04-17 23:17:22 +08:00
|
|
|
|
<connections/>
|
|
|
|
|
</ui>
|