2022-05-13 20:22:16 +08:00
|
|
|
#ifndef COMPILEARGUMENTSWIDGET_H
|
|
|
|
#define COMPILEARGUMENTSWIDGET_H
|
|
|
|
|
|
|
|
#include <QMap>
|
2022-05-14 11:21:59 +08:00
|
|
|
#include <QTabWidget>
|
2022-05-13 20:22:16 +08:00
|
|
|
#include "../settings.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class CompileArgumentsWidget;
|
|
|
|
}
|
|
|
|
|
2022-05-14 11:21:59 +08:00
|
|
|
class CompileArgumentsWidget : public QTabWidget
|
2022-05-13 20:22:16 +08:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit CompileArgumentsWidget(QWidget *parent = nullptr);
|
|
|
|
~CompileArgumentsWidget();
|
|
|
|
|
2022-05-14 11:21:59 +08:00
|
|
|
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
|