RedPanda-CPP/RedPandaIDE/widgets/compileargumentswidget.h

29 lines
573 B
C
Raw Normal View History

2022-05-13 20:22:16 +08:00
#ifndef COMPILEARGUMENTSWIDGET_H
#define COMPILEARGUMENTSWIDGET_H
#include <QMap>
#include <QTabWidget>
2022-05-13 20:22:16 +08:00
#include "../settings.h"
namespace Ui {
class CompileArgumentsWidget;
}
class CompileArgumentsWidget : public QTabWidget
2022-05-13 20:22:16 +08:00
{
Q_OBJECT
public:
explicit CompileArgumentsWidget(QWidget *parent = nullptr);
~CompileArgumentsWidget();
QMap<QString, QString> arguments(bool includeUnset) const;
2022-05-13 20:22:16 +08:00
void resetUI(Settings::PCompilerSet pSet, const QMap<QString,QString>& options);
private:
QString mCompilerType;
};
#endif // COMPILEARGUMENTSWIDGET_H