work save

This commit is contained in:
Roy Qu 2021-12-10 18:24:40 +08:00
parent 3f708cf887
commit 868cce7dc0
7 changed files with 213 additions and 0 deletions

View File

@ -126,6 +126,8 @@ SOURCES += \
widgets/filepropertiesdialog.cpp \ widgets/filepropertiesdialog.cpp \
widgets/functiontooltipwidget.cpp \ widgets/functiontooltipwidget.cpp \
widgets/headercompletionpopup.cpp \ widgets/headercompletionpopup.cpp \
widgets/initwizard/initchooselanguagewidget.cpp \
widgets/initwizard/initwizarddialog.cpp \
widgets/issuestable.cpp \ widgets/issuestable.cpp \
widgets/labelwithmenu.cpp \ widgets/labelwithmenu.cpp \
widgets/macroinfomodel.cpp \ widgets/macroinfomodel.cpp \
@ -252,6 +254,8 @@ HEADERS += \
widgets/filepropertiesdialog.h \ widgets/filepropertiesdialog.h \
widgets/functiontooltipwidget.h \ widgets/functiontooltipwidget.h \
widgets/headercompletionpopup.h \ widgets/headercompletionpopup.h \
widgets/initwizard/initchooselanguagewidget.h \
widgets/initwizard/initwizarddialog.h \
widgets/issuestable.h \ widgets/issuestable.h \
widgets/labelwithmenu.h \ widgets/labelwithmenu.h \
widgets/macroinfomodel.h \ widgets/macroinfomodel.h \
@ -305,6 +309,8 @@ FORMS += \
settingsdialog/settingsdialog.ui \ settingsdialog/settingsdialog.ui \
widgets/custommakefileinfodialog.ui \ widgets/custommakefileinfodialog.ui \
widgets/filepropertiesdialog.ui \ widgets/filepropertiesdialog.ui \
widgets/initwizard/initchooselanguagewidget.ui \
widgets/initwizard/initwizarddialog.ui \
widgets/newprojectdialog.ui \ widgets/newprojectdialog.ui \
widgets/ojproblempropertywidget.ui \ widgets/ojproblempropertywidget.ui \
widgets/searchdialog.ui \ widgets/searchdialog.ui \

View File

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

View File

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

View File

@ -0,0 +1,18 @@
<ui version="4.0">
<class>InitChooseLanguageWidget</class>
<widget name="InitChooseLanguageWidget" class="QDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
</widget>
<resources/>
<connections/>
</ui>

View File

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

View File

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

View File

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>InitWizardDialog</class>
<widget class="QDialog" name="InitWizardDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>605</width>
<height>416</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>9</number>
</property>
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item>
<widget class="QSplitter" name="splitter">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QListView" name="listView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
<widget class="QWidget" name="widget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>3</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_2" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<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>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>221</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>Previous</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_2">
<property name="text">
<string>Next</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_3">
<property name="text">
<string>Finish</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>