mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 01:20:45 +08:00
860c7f6057
Needed for AVR, as it doesn't seem to have a $ps.
50 lines
1.7 KiB
C++
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:
|
|
};
|
|
|