diff --git a/RedPandaIDE/RedPandaIDE.pro b/RedPandaIDE/RedPandaIDE.pro index d176f670..31f43fdb 100644 --- a/RedPandaIDE/RedPandaIDE.pro +++ b/RedPandaIDE/RedPandaIDE.pro @@ -61,6 +61,7 @@ SOURCES += \ settingsdialog/projectoutputwidget.cpp \ settingsdialog/projectprecompilewidget.cpp \ settingsdialog/projectversioninfowidget.cpp \ + settingsdialog/toolsgeneralwidget.cpp \ shortcutmanager.cpp \ symbolusagemanager.cpp \ todoparser.cpp \ @@ -167,6 +168,7 @@ HEADERS += \ settingsdialog/projectoutputwidget.h \ settingsdialog/projectprecompilewidget.h \ settingsdialog/projectversioninfowidget.h \ + settingsdialog/toolsgeneralwidget.h \ shortcutmanager.h \ symbolusagemanager.h \ todoparser.h \ @@ -246,6 +248,7 @@ FORMS += \ settingsdialog/projectoutputwidget.ui \ settingsdialog/projectprecompilewidget.ui \ settingsdialog/projectversioninfowidget.ui \ + settingsdialog/toolsgeneralwidget.ui \ widgets/aboutdialog.ui \ widgets/cpudialog.ui \ mainwindow.ui \ diff --git a/RedPandaIDE/settingsdialog/toolsgeneralwidget.cpp b/RedPandaIDE/settingsdialog/toolsgeneralwidget.cpp new file mode 100644 index 00000000..49a3dd57 --- /dev/null +++ b/RedPandaIDE/settingsdialog/toolsgeneralwidget.cpp @@ -0,0 +1,14 @@ +#include "toolsgeneralwidget.h" +#include "ui_toolsgeneralwidget.h" + +ToolsGeneralWidget::ToolsGeneralWidget(QWidget *parent) : + QWidget(parent), + ui(new Ui::ToolsGeneralWidget) +{ + ui->setupUi(this); +} + +ToolsGeneralWidget::~ToolsGeneralWidget() +{ + delete ui; +} diff --git a/RedPandaIDE/settingsdialog/toolsgeneralwidget.h b/RedPandaIDE/settingsdialog/toolsgeneralwidget.h new file mode 100644 index 00000000..9f8a698d --- /dev/null +++ b/RedPandaIDE/settingsdialog/toolsgeneralwidget.h @@ -0,0 +1,22 @@ +#ifndef TOOLSGENERALWIDGET_H +#define TOOLSGENERALWIDGET_H + +#include + +namespace Ui { +class ToolsGeneralWidget; +} + +class ToolsGeneralWidget : public QWidget +{ + Q_OBJECT + +public: + explicit ToolsGeneralWidget(QWidget *parent = nullptr); + ~ToolsGeneralWidget(); + +private: + Ui::ToolsGeneralWidget *ui; +}; + +#endif // TOOLSGENERALWIDGET_H diff --git a/RedPandaIDE/settingsdialog/toolsgeneralwidget.ui b/RedPandaIDE/settingsdialog/toolsgeneralwidget.ui new file mode 100644 index 00000000..d34c7476 --- /dev/null +++ b/RedPandaIDE/settingsdialog/toolsgeneralwidget.ui @@ -0,0 +1,183 @@ + + + ToolsGeneralWidget + + + + 0 + 0 + 833 + 300 + + + + Form + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Add + + + + :/icons/images/newlook24/002-add.png:/icons/images/newlook24/002-add.png + + + + + + + Remove + + + + :/icons/images/newlook24/008-close.png:/icons/images/newlook24/008-close.png + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + + + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + + + Program + + + + + + + Working Directory + + + + + + + Parameters + + + + + + + + + + Title + + + + + + + Browse + + + + :/icons/images/newlook24/053-open.png:/icons/images/newlook24/053-open.png + + + + + + + + + + + + + Browse + + + + :/icons/images/newlook24/053-open.png:/icons/images/newlook24/053-open.png + + + + + + + Pause console after the program exit + + + + + + + true + + + + + + + Insert Macro + + + + + + + + + + + + + + + + + + +