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="text">
|
|
|
|
|
<string>...</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normalon>:/icons/images/newlook24/087-update.png</normalon>
|
|
|
|
|
</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QToolButton" name="btnAddBlankCompilerSet">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>...</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normalon>:/icons/images/newlook24/050-newsrc.png</normalon>
|
|
|
|
|
</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QToolButton" name="btnAddCompilerSetByFolder">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>...</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normalon>:/icons/images/newlook24/053-open.png</normalon>
|
|
|
|
|
</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QToolButton" name="btnRenameCompilerSet">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>...</string>
|
|
|
|
|
</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="text">
|
|
|
|
|
<string>...</string>
|
|
|
|
|
</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-09-15 16:57:28 +08:00
|
|
|
|
<number>2</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">
|
|
|
|
|
<item row="4" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Resource Compiler(windres)</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtCppCompiler"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>C++ Compiler(g++)</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</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">
|
|
|
|
|
<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="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtCCompiler"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>C Compiler(gcc)</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Debugger(gdb)</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="5" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Profiler(gprof)</string>
|
|
|
|
|
</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="2" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtMake"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtDebugger"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtResourceCompiler"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="5" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="txtProfiler"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="2">
|
|
|
|
|
<widget class="QToolButton" name="btnChooseMake">
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>Choose make</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="3" column="2">
|
|
|
|
|
<widget class="QToolButton" name="btnChooseDebugger">
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>Choose Debugger</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="4" column="2">
|
|
|
|
|
<widget class="QToolButton" name="chooseResourceCompiler">
|
|
|
|
|
<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="5" column="2">
|
|
|
|
|
<widget class="QToolButton" name="chooseProfiler">
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>Choose Profiler</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>...</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normalon>:/icons/images/newlook24/053-open.png</normalon>
|
|
|
|
|
</iconset>
|
|
|
|
|
</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>
|
|
|
|
|
<resources/>
|
|
|
|
|
<connections/>
|
|
|
|
|
</ui>
|