cutter/src/dialogs/preferences/AsmOptionsWidget.h

64 lines
1.7 KiB
C
Raw Normal View History

#ifndef ASMOPTIONSWIDGET_H
#define ASMOPTIONSWIDGET_H
#include <QDialog>
#include <QPushButton>
2017-10-02 09:41:28 +00:00
#include <memory>
2018-03-04 17:42:02 +00:00
#include "Cutter.h"
class PreferencesDialog;
namespace Ui
{
class AsmOptionsWidget;
}
class AsmOptionsWidget : public QDialog
{
Q_OBJECT
public:
explicit AsmOptionsWidget(PreferencesDialog *dialog, QWidget *parent = nullptr);
~AsmOptionsWidget();
private:
std::unique_ptr<Ui::AsmOptionsWidget> ui;
void triggerAsmOptionsChanged();
private slots:
void saveAsDefault();
void resetToDefault();
void updateAsmOptionsFromVars();
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);
2018-01-31 08:01:16 +00:00
void on_slowCheckBox_toggled(bool checked);
void on_linesCheckBox_toggled(bool checked);
2018-02-04 19:34:52 +00:00
void on_fcnlinesCheckBox_toggled(bool checked);
2018-01-31 08:01:16 +00:00
void on_emuCheckBox_toggled(bool checked);
void on_cmtrightCheckBox_toggled(bool checked);
void on_varsumCheckBox_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);
2018-01-31 08:01:16 +00:00
void on_asmTabsSpinBox_valueChanged(int value);
2018-02-01 09:01:09 +00:00
void on_nbytesSpinBox_valueChanged(int value);
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 //ASMOPTIONSWIDGET_H