work save

This commit is contained in:
royqh1979 2021-09-15 08:02:08 +08:00
parent e1977f1237
commit e0e09155d7
4 changed files with 107 additions and 0 deletions

View File

@ -43,6 +43,7 @@ SOURCES += \
settingsdialog/editorcodecompletionwidget.cpp \
settingsdialog/editormiscwidget.cpp \
settingsdialog/formattergeneralwidget.cpp \
settingsdialog/projectcompilerwidget.cpp \
settingsdialog/projectfileswidget.cpp \
settingsdialog/projectgeneralwidget.cpp \
widgets/classbrowser.cpp \
@ -127,6 +128,7 @@ HEADERS += \
settingsdialog/editorcodecompletionwidget.h \
settingsdialog/editormiscwidget.h \
settingsdialog/formattergeneralwidget.h \
settingsdialog/projectcompilerwidget.h \
settingsdialog/projectfileswidget.h \
settingsdialog/projectgeneralwidget.h \
widgets/classbrowser.h \
@ -187,6 +189,7 @@ FORMS += \
settingsdialog/editorcodecompletionwidget.ui \
settingsdialog/editormiscwidget.ui \
settingsdialog/formattergeneralwidget.ui \
settingsdialog/projectcompilerwidget.ui \
settingsdialog/projectfileswidget.ui \
settingsdialog/projectgeneralwidget.ui \
widgets/cpudialog.ui \

View File

@ -0,0 +1,14 @@
#include "projectcompilerwidget.h"
#include "ui_projectcompilerwidget.h"
ProjectCompilerWidget::ProjectCompilerWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::ProjectCompilerWidget)
{
ui->setupUi(this);
}
ProjectCompilerWidget::~ProjectCompilerWidget()
{
delete ui;
}

View File

@ -0,0 +1,22 @@
#ifndef PROJECTCOMPILERWIDGET_H
#define PROJECTCOMPILERWIDGET_H
#include <QWidget>
namespace Ui {
class ProjectCompilerWidget;
}
class ProjectCompilerWidget : public QWidget
{
Q_OBJECT
public:
explicit ProjectCompilerWidget(QWidget *parent = nullptr);
~ProjectCompilerWidget();
private:
Ui::ProjectCompilerWidget *ui;
};
#endif // PROJECTCOMPILERWIDGET_H

View File

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ProjectCompilerWidget</class>
<widget class="QWidget" name="ProjectCompilerWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>784</width>
<height>599</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" 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="0" column="1">
<widget class="QComboBox" name="cbCompilerSet"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Base compiler set:</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QWidget" name="widget" native="true"/>
</item>
<item row="2" column="0" colspan="3">
<widget class="QTabWidget" name="tabWidget">
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Tab 1</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Tab 2</string>
</attribute>
</widget>
</widget>
</item>
<item row="1" column="0" colspan="3">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Customize (apply to this project only):</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>