From 868cce7dc04f0e4b2080505dc888cf68fe9d045c Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Fri, 10 Dec 2021 18:24:40 +0800 Subject: [PATCH] work save --- RedPandaIDE/RedPandaIDE.pro | 6 + .../initwizard/initchooselanguagewidget.cpp | 14 +++ .../initwizard/initchooselanguagewidget.h | 22 ++++ .../initwizard/initchooselanguagewidget.ui | 18 +++ .../widgets/initwizard/initwizarddialog.cpp | 14 +++ .../widgets/initwizard/initwizarddialog.h | 22 ++++ .../widgets/initwizard/initwizarddialog.ui | 117 ++++++++++++++++++ 7 files changed, 213 insertions(+) create mode 100644 RedPandaIDE/widgets/initwizard/initchooselanguagewidget.cpp create mode 100644 RedPandaIDE/widgets/initwizard/initchooselanguagewidget.h create mode 100644 RedPandaIDE/widgets/initwizard/initchooselanguagewidget.ui create mode 100644 RedPandaIDE/widgets/initwizard/initwizarddialog.cpp create mode 100644 RedPandaIDE/widgets/initwizard/initwizarddialog.h create mode 100644 RedPandaIDE/widgets/initwizard/initwizarddialog.ui diff --git a/RedPandaIDE/RedPandaIDE.pro b/RedPandaIDE/RedPandaIDE.pro index 05cb6ca8..143e4b1c 100644 --- a/RedPandaIDE/RedPandaIDE.pro +++ b/RedPandaIDE/RedPandaIDE.pro @@ -126,6 +126,8 @@ SOURCES += \ widgets/filepropertiesdialog.cpp \ widgets/functiontooltipwidget.cpp \ widgets/headercompletionpopup.cpp \ + widgets/initwizard/initchooselanguagewidget.cpp \ + widgets/initwizard/initwizarddialog.cpp \ widgets/issuestable.cpp \ widgets/labelwithmenu.cpp \ widgets/macroinfomodel.cpp \ @@ -252,6 +254,8 @@ HEADERS += \ widgets/filepropertiesdialog.h \ widgets/functiontooltipwidget.h \ widgets/headercompletionpopup.h \ + widgets/initwizard/initchooselanguagewidget.h \ + widgets/initwizard/initwizarddialog.h \ widgets/issuestable.h \ widgets/labelwithmenu.h \ widgets/macroinfomodel.h \ @@ -305,6 +309,8 @@ FORMS += \ settingsdialog/settingsdialog.ui \ widgets/custommakefileinfodialog.ui \ widgets/filepropertiesdialog.ui \ + widgets/initwizard/initchooselanguagewidget.ui \ + widgets/initwizard/initwizarddialog.ui \ widgets/newprojectdialog.ui \ widgets/ojproblempropertywidget.ui \ widgets/searchdialog.ui \ diff --git a/RedPandaIDE/widgets/initwizard/initchooselanguagewidget.cpp b/RedPandaIDE/widgets/initwizard/initchooselanguagewidget.cpp new file mode 100644 index 00000000..fba85522 --- /dev/null +++ b/RedPandaIDE/widgets/initwizard/initchooselanguagewidget.cpp @@ -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; +} diff --git a/RedPandaIDE/widgets/initwizard/initchooselanguagewidget.h b/RedPandaIDE/widgets/initwizard/initchooselanguagewidget.h new file mode 100644 index 00000000..79f8ec62 --- /dev/null +++ b/RedPandaIDE/widgets/initwizard/initchooselanguagewidget.h @@ -0,0 +1,22 @@ +#ifndef INITCHOOSELANGUAGEWIDGET_H +#define INITCHOOSELANGUAGEWIDGET_H + +#include + +namespace Ui { +class InitChooseLanguageWidget; +} + +class InitChooseLanguageWidget : public QDialog +{ + Q_OBJECT + +public: + explicit InitChooseLanguageWidget(QWidget *parent = nullptr); + ~InitChooseLanguageWidget(); + +private: + Ui::InitChooseLanguageWidget *ui; +}; + +#endif // INITCHOOSELANGUAGEWIDGET_H diff --git a/RedPandaIDE/widgets/initwizard/initchooselanguagewidget.ui b/RedPandaIDE/widgets/initwizard/initchooselanguagewidget.ui new file mode 100644 index 00000000..46d3cae5 --- /dev/null +++ b/RedPandaIDE/widgets/initwizard/initchooselanguagewidget.ui @@ -0,0 +1,18 @@ + + InitChooseLanguageWidget + + + + 0 + 0 + 400 + 300 + + + + Dialog + + + + + diff --git a/RedPandaIDE/widgets/initwizard/initwizarddialog.cpp b/RedPandaIDE/widgets/initwizard/initwizarddialog.cpp new file mode 100644 index 00000000..6d60633d --- /dev/null +++ b/RedPandaIDE/widgets/initwizard/initwizarddialog.cpp @@ -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; +} diff --git a/RedPandaIDE/widgets/initwizard/initwizarddialog.h b/RedPandaIDE/widgets/initwizard/initwizarddialog.h new file mode 100644 index 00000000..3eb511b6 --- /dev/null +++ b/RedPandaIDE/widgets/initwizard/initwizarddialog.h @@ -0,0 +1,22 @@ +#ifndef INITWIZARDDIALOG_H +#define INITWIZARDDIALOG_H + +#include + +namespace Ui { +class InitWizardDialog; +} + +class InitWizardDialog : public QDialog +{ + Q_OBJECT + +public: + explicit InitWizardDialog(QWidget *parent = nullptr); + ~InitWizardDialog(); + +private: + Ui::InitWizardDialog *ui; +}; + +#endif // INITWIZARDDIALOG_H diff --git a/RedPandaIDE/widgets/initwizard/initwizarddialog.ui b/RedPandaIDE/widgets/initwizard/initwizarddialog.ui new file mode 100644 index 00000000..5ccba0c3 --- /dev/null +++ b/RedPandaIDE/widgets/initwizard/initwizarddialog.ui @@ -0,0 +1,117 @@ + + + InitWizardDialog + + + + 0 + 0 + 605 + 416 + + + + Dialog + + + + 9 + + + 9 + + + 9 + + + 9 + + + 9 + + + + + + 0 + 0 + + + + Qt::Horizontal + + + + + 1 + 0 + + + + + + + 3 + 0 + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Qt::Horizontal + + + + 221 + 20 + + + + + + + + Previous + + + + + + + Next + + + + + + + Finish + + + + + + + + + + +