593 lines
18 KiB
XML
593 lines
18 KiB
XML
<?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>
|
||
<property name="text">
|
||
<string>Auto Find Compilers</string>
|
||
</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>
|
||
<property name="text">
|
||
<string>Find Compiler in the Folder</string>
|
||
</property>
|
||
<property name="icon">
|
||
<iconset>
|
||
<normalon>:/icons/images/newlook24/053-open.png</normalon>
|
||
</iconset>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QToolButton" name="btnAddBlankCompilerSet">
|
||
<property name="toolTip">
|
||
<string>Add Blank Compiler Set</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>Add Blank Compiler Set</string>
|
||
</property>
|
||
<property name="icon">
|
||
<iconset>
|
||
<normalon>:/icons/images/newlook24/050-newsrc.png</normalon>
|
||
</iconset>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QToolButton" name="btnRenameCompilerSet">
|
||
<property name="toolTip">
|
||
<string>Rename</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>Rename</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="toolTip">
|
||
<string>Remove</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>Remove</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">
|
||
<number>0</number>
|
||
</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">
|
||
<item>
|
||
<widget class="QWidget" name="widget" 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>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QCheckBox" name="chkStaticLink">
|
||
<property name="text">
|
||
<string>Statically link libraries</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QWidget" name="widget_2" native="true">
|
||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||
<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="chkWarnLargeObject">
|
||
<property name="text">
|
||
<string>Syntax error for objects larger than</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QDoubleSpinBox" name="spinMaxObjectSize">
|
||
<property name="suffix">
|
||
<string>MB</string>
|
||
</property>
|
||
<property name="maximum">
|
||
<double>999999.000000000000000</double>
|
||
</property>
|
||
<property name="singleStep">
|
||
<double>0.500000000000000</double>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_3">
|
||
<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>
|
||
</widget>
|
||
</item>
|
||
<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">
|
||
<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">
|
||
<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="btnChooseGDBServer">
|
||
<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>
|
||
</property>
|
||
</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="1" column="1">
|
||
<widget class="QLineEdit" name="txtCppCompiler"/>
|
||
</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="0" column="0">
|
||
<widget class="QLabel" name="label_2">
|
||
<property name="text">
|
||
<string>C Compiler(gcc)</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="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">
|
||
<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="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">
|
||
<property name="text">
|
||
<string>C++ Compiler(g++)</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="0">
|
||
<widget class="QLabel" name="label_5">
|
||
<property name="text">
|
||
<string>gdb</string>
|
||
</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 class="QWidget" name="tabOutput">
|
||
<attribute name="title">
|
||
<string>Output</string>
|
||
</attribute>
|
||
<layout class="QGridLayout" name="gridLayout_2">
|
||
<item row="4" column="1">
|
||
<widget class="QLineEdit" name="txtExecutableSuffix"/>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<widget class="QLineEdit" name="txtCompilationSuffix"/>
|
||
</item>
|
||
<item row="0" column="0" colspan="3">
|
||
<widget class="QGroupBox" name="groupBox_2">
|
||
<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="5" column="0">
|
||
<spacer name="verticalSpacer_2">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>40</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<widget class="QLineEdit" name="txtPreprocessingSuffix"/>
|
||
</item>
|
||
<item row="4" column="0">
|
||
<widget class="QLabel" name="label">
|
||
<property name="text">
|
||
<string>Executable suffix</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<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>
|
||
<item row="1" column="0">
|
||
<widget class="QLabel" name="label_11">
|
||
<property name="text">
|
||
<string>Preprocessing output suffix</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<widget class="QLabel" name="label_10">
|
||
<property name="text">
|
||
<string>Compiling output suffix</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</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>
|
||
<connections/>
|
||
</ui>
|