Files
seer/src/SeerAssemblyPreferenceDialog.h
T
Ernie Pasveer 860c7f6057 Add a config for the Assembly view to change what $pc, $ps, and $sp registers are.
Needed for AVR, as it doesn't seem to have a $ps.
2024-01-05 14:35:53 -06:00

50 lines
1.7 KiB
C++

#pragma once
#include <QtWidgets/QDialog>
#include <QtCore/QString>
#include <QtCore/QVector>
#include "ui_SeerAssemblyPreferenceDialog.h"
class SeerAssemblyPreferenceDialog : public QDialog, protected Ui::SeerAssemblyPreferenceDialogForm {
Q_OBJECT
public:
explicit SeerAssemblyPreferenceDialog (QWidget* parent = 0);
~SeerAssemblyPreferenceDialog ();
void setRegiserNamePC (const QString& name);
QString regiserNamePC () const;
void setRegiserNameFLAGS (const QString& name);
QString regiserNameFLAGS () const;
void setRegiserNameSP (const QString& name);
QString regiserNameSP () const;
void setShowAssemblyAddress (bool flag);
bool showAssemblyAddress () const;
void setShowAssemblyOffset (bool flag);
bool showAssemblyOffset () const;
void setShowAssemblyOpcode (bool flag);
bool showAssemblyOpcode () const;
void setShowAssemblySource (bool flag);
bool showAssemblySource () const;
public slots:
private slots:
protected:
void writeSettings ();
void readSettings ();
void resizeEvent (QResizeEvent* event);
private:
};