RedPanda-CPP/RedPandaIDE/settingsdialog/projectcompilerwidget.h

37 lines
755 B
C++

#ifndef PROJECTCOMPILERWIDGET_H
#define PROJECTCOMPILERWIDGET_H
#include <QWidget>
#include "settingswidget.h"
namespace Ui {
class ProjectCompilerWidget;
}
class ProjectCompilerWidget : public SettingsWidget
{
Q_OBJECT
public:
explicit ProjectCompilerWidget(const QString& name, const QString& group, QWidget *parent = nullptr);
~ProjectCompilerWidget();
private:
void refreshOptions();
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);
};
#endif // PROJECTCOMPILERWIDGET_H