diff --git a/RedPandaIDE/RedPandaIDE.pro b/RedPandaIDE/RedPandaIDE.pro index 6e5a4656..2f3b3e63 100644 --- a/RedPandaIDE/RedPandaIDE.pro +++ b/RedPandaIDE/RedPandaIDE.pro @@ -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 \ diff --git a/RedPandaIDE/settingsdialog/projectcompilerwidget.cpp b/RedPandaIDE/settingsdialog/projectcompilerwidget.cpp new file mode 100644 index 00000000..da541ac2 --- /dev/null +++ b/RedPandaIDE/settingsdialog/projectcompilerwidget.cpp @@ -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; +} diff --git a/RedPandaIDE/settingsdialog/projectcompilerwidget.h b/RedPandaIDE/settingsdialog/projectcompilerwidget.h new file mode 100644 index 00000000..c3ac3ffa --- /dev/null +++ b/RedPandaIDE/settingsdialog/projectcompilerwidget.h @@ -0,0 +1,22 @@ +#ifndef PROJECTCOMPILERWIDGET_H +#define PROJECTCOMPILERWIDGET_H + +#include + +namespace Ui { +class ProjectCompilerWidget; +} + +class ProjectCompilerWidget : public QWidget +{ + Q_OBJECT + +public: + explicit ProjectCompilerWidget(QWidget *parent = nullptr); + ~ProjectCompilerWidget(); + +private: + Ui::ProjectCompilerWidget *ui; +}; + +#endif // PROJECTCOMPILERWIDGET_H diff --git a/RedPandaIDE/settingsdialog/projectcompilerwidget.ui b/RedPandaIDE/settingsdialog/projectcompilerwidget.ui new file mode 100644 index 00000000..24de2a0e --- /dev/null +++ b/RedPandaIDE/settingsdialog/projectcompilerwidget.ui @@ -0,0 +1,68 @@ + + + ProjectCompilerWidget + + + + 0 + 0 + 784 + 599 + + + + Form + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + Base compiler set: + + + + + + + + + + + Tab 1 + + + + + Tab 2 + + + + + + + + Customize (apply to this project only): + + + + + + + +