cutter/src/dialogs/AsmOptionsDialog.h

51 lines
1.2 KiB
C
Raw Normal View History

#ifndef ASMOPTIONSDIALOG_H
#define ASMOPTIONSDIALOG_H
#include <QDialog>
#include <QPushButton>
2017-10-02 09:41:28 +00:00
#include <memory>
#include "cutter.h"
namespace Ui
{
class AsmOptionsDialog;
}
class AsmOptionsDialog : public QDialog
{
Q_OBJECT
public:
explicit AsmOptionsDialog(QWidget *parent = nullptr);
~AsmOptionsDialog();
private:
CutterCore *core;
2017-10-02 09:41:28 +00:00
std::unique_ptr<Ui::AsmOptionsDialog> ui;
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);
void on_caseComboBox_currentIndexChanged(int index);
void on_bblineCheckBox_toggled(bool checked);
void on_varsubCheckBox_toggled(bool checked);
void on_varsubOnlyCheckBox_toggled(bool checked);
void on_buttonBox_clicked(QAbstractButton *button);
};
#endif //ASMOPTIONSDIALOG_H