RedPanda-CPP/RedPandaIDE/settingsdialog/projectcompilerwidget.h

37 lines
755 B
C
Raw Normal View History

2021-09-15 08:02:08 +08:00
#ifndef PROJECTCOMPILERWIDGET_H
#define PROJECTCOMPILERWIDGET_H
#include <QWidget>
#include "settingswidget.h"
2021-09-15 08:02:08 +08:00
namespace Ui {
class ProjectCompilerWidget;
}
class ProjectCompilerWidget : public SettingsWidget
2021-09-15 08:02:08 +08:00
{
Q_OBJECT
public:
explicit ProjectCompilerWidget(const QString& name, const QString& group, QWidget *parent = nullptr);
2021-09-15 08:02:08 +08:00
~ProjectCompilerWidget();
private:
void refreshOptions();
2021-09-15 08:02:08 +08:00
private:
Ui::ProjectCompilerWidget *ui;
QByteArray mOptions;
// SettingsWidget interface
protected:
void doLoad() override;
void doSave() override;
// SettingsWidget interface
public:
void init() override;
private slots:
void on_cbCompilerSet_currentIndexChanged(int index);
2021-09-15 08:02:08 +08:00
};
#endif // PROJECTCOMPILERWIDGET_H