diff --git a/RedPandaIDE/RedPandaIDE.pro b/RedPandaIDE/RedPandaIDE.pro index 177d9f6d..edbf65f6 100644 --- a/RedPandaIDE/RedPandaIDE.pro +++ b/RedPandaIDE/RedPandaIDE.pro @@ -37,6 +37,7 @@ SOURCES += \ settingsdialog/compilersetoptionwidget.cpp \ settings.cpp \ settingsdialog/editorclipboardwidget.cpp \ + settingsdialog/editorcolorschemewidget.cpp \ settingsdialog/editorfontwidget.cpp \ settingsdialog/editorgeneralwidget.cpp \ settingsdialog/settingsdialog.cpp \ @@ -75,6 +76,7 @@ HEADERS += \ settingsdialog/compilersetoptionwidget.h \ settings.h \ settingsdialog/editorclipboardwidget.h \ + settingsdialog/editorcolorschemewidget.h \ settingsdialog/editorfontwidget.h \ settingsdialog/editorgeneralwidget.h \ settingsdialog/settingsdialog.h \ @@ -90,6 +92,7 @@ FORMS += \ settingsdialog/compilersetdirectorieswidget.ui \ settingsdialog/compilersetoptionwidget.ui \ settingsdialog/editorclipboardwidget.ui \ + settingsdialog/editorcolorschemewidget.ui \ settingsdialog/editorfontwidget.ui \ settingsdialog/editorgeneralwidget.ui \ settingsdialog/settingsdialog.ui diff --git a/RedPandaIDE/settingsdialog/editorcolorschemewidget.cpp b/RedPandaIDE/settingsdialog/editorcolorschemewidget.cpp new file mode 100644 index 00000000..5fce1704 --- /dev/null +++ b/RedPandaIDE/settingsdialog/editorcolorschemewidget.cpp @@ -0,0 +1,14 @@ +#include "editorcolorschemewidget.h" +#include "ui_editorcolorschemewidget.h" + +EditorColorSchemeWidget::EditorColorSchemeWidget(QWidget *parent) : + QWidget(parent), + ui(new Ui::EditorColorSchemeWidget) +{ + ui->setupUi(this); +} + +EditorColorSchemeWidget::~EditorColorSchemeWidget() +{ + delete ui; +} diff --git a/RedPandaIDE/settingsdialog/editorcolorschemewidget.h b/RedPandaIDE/settingsdialog/editorcolorschemewidget.h new file mode 100644 index 00000000..077063ad --- /dev/null +++ b/RedPandaIDE/settingsdialog/editorcolorschemewidget.h @@ -0,0 +1,22 @@ +#ifndef EDITORCOLORSCHEMEWIDGET_H +#define EDITORCOLORSCHEMEWIDGET_H + +#include + +namespace Ui { +class EditorColorSchemeWidget; +} + +class EditorColorSchemeWidget : public QWidget +{ + Q_OBJECT + +public: + explicit EditorColorSchemeWidget(QWidget *parent = nullptr); + ~EditorColorSchemeWidget(); + +private: + Ui::EditorColorSchemeWidget *ui; +}; + +#endif // EDITORCOLORSCHEMEWIDGET_H diff --git a/RedPandaIDE/settingsdialog/editorcolorschemewidget.ui b/RedPandaIDE/settingsdialog/editorcolorschemewidget.ui new file mode 100644 index 00000000..fbb327be --- /dev/null +++ b/RedPandaIDE/settingsdialog/editorcolorschemewidget.ui @@ -0,0 +1,216 @@ + + + EditorColorSchemeWidget + + + + 0 + 0 + 781 + 556 + + + + + 0 + 0 + + + + Form + + + + + + + + + Scheme + + + + + + + + + + ... + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + Qt::Horizontal + + + + + + + + 0 + 0 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + + + + TextLabel + + + + + + + Foreground: + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Font Styles + + + + + + Bold + + + + + + + Italic + + + + + + + Underlined + + + + + + + + + + TextLabel + + + + + + + Background: + + + + + + + + + + + + + + 0 + 0 + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + + + + + SynEdit + QFrame +
qsynedit/SynEdit.h
+ 1 +
+
+ + +