2017-10-01 14:36:40 +00:00
|
|
|
|
|
|
|
#ifndef ASMOPTIONSDIALOG_H
|
|
|
|
#define ASMOPTIONSDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QPushButton>
|
2017-10-02 09:41:28 +00:00
|
|
|
#include <memory>
|
2017-10-01 14:36:40 +00:00
|
|
|
|
|
|
|
#include "cutter.h"
|
|
|
|
|
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class AsmOptionsDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class AsmOptionsDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2017-10-10 10:17:05 +00:00
|
|
|
explicit AsmOptionsDialog(QWidget *parent = nullptr);
|
2017-10-01 14:36:40 +00:00
|
|
|
~AsmOptionsDialog();
|
|
|
|
|
|
|
|
private:
|
|
|
|
CutterCore *core;
|
2017-10-02 09:41:28 +00:00
|
|
|
std::unique_ptr<Ui::AsmOptionsDialog> ui;
|
2017-10-01 14:36:40 +00:00
|
|
|
|
|
|
|
void updateFromVars();
|
|
|
|
void saveAsDefault();
|
|
|
|
void resetToDefault();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_esilCheckBox_toggled(bool checked);
|
|
|
|
void on_pseudoCheckBox_toggled(bool checked);
|
|
|
|
void on_offsetCheckBox_toggled(bool checked);
|
|
|
|
void on_describeCheckBox_toggled(bool checked);
|
|
|
|
void on_stackpointerCheckBox_toggled(bool checked);
|
|
|
|
void on_bytesCheckBox_toggled(bool checked);
|
|
|
|
void on_bytespaceCheckBox_toggled(bool checked);
|
|
|
|
void on_lbytesCheckBox_toggled(bool checked);
|
|
|
|
void on_syntaxComboBox_currentIndexChanged(int index);
|
2017-10-01 16:03:06 +00:00
|
|
|
void on_caseComboBox_currentIndexChanged(int index);
|
2017-10-01 14:36:40 +00:00
|
|
|
void on_bblineCheckBox_toggled(bool checked);
|
2017-10-01 16:03:06 +00:00
|
|
|
void on_varsubCheckBox_toggled(bool checked);
|
|
|
|
void on_varsubOnlyCheckBox_toggled(bool checked);
|
2017-10-01 14:36:40 +00:00
|
|
|
void on_buttonBox_clicked(QAbstractButton *button);
|
2017-10-14 09:35:49 +00:00
|
|
|
void on_fontSelectionButton_clicked();
|
2017-10-01 14:36:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //ASMOPTIONSDIALOG_H
|