2021-06-14 08:01:00 +08:00
|
|
|
#include "editorcolorschemewidget.h"
|
|
|
|
#include "ui_editorcolorschemewidget.h"
|
2021-06-18 22:57:19 +08:00
|
|
|
#include "../settings.h"
|
|
|
|
#include "../colorscheme.h"
|
2021-06-14 08:01:00 +08:00
|
|
|
|
2021-06-17 10:39:46 +08:00
|
|
|
EditorColorSchemeWidget::EditorColorSchemeWidget(const QString& name, const QString& group, QWidget *parent) :
|
|
|
|
SettingsWidget(name,group,parent),
|
2021-06-14 08:01:00 +08:00
|
|
|
ui(new Ui::EditorColorSchemeWidget)
|
|
|
|
{
|
|
|
|
ui->setupUi(this);
|
2021-06-18 22:57:19 +08:00
|
|
|
|
|
|
|
for (QString schemeName: pColorManager->getSchemes()) {
|
|
|
|
ui->cbScheme->addItem(schemeName);
|
|
|
|
}
|
2021-06-14 08:01:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
EditorColorSchemeWidget::~EditorColorSchemeWidget()
|
|
|
|
{
|
|
|
|
delete ui;
|
|
|
|
}
|
2021-06-18 21:48:40 +08:00
|
|
|
|
|
|
|
void EditorColorSchemeWidget::doLoad()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void EditorColorSchemeWidget::doSave()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|