2021-08-01 23:24:37 +08:00
|
|
|
#ifndef CPUDIALOG_H
|
|
|
|
#define CPUDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class CPUDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class CPUDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit CPUDialog(QWidget *parent = nullptr);
|
|
|
|
~CPUDialog();
|
|
|
|
void updateInfo();
|
2021-11-25 07:42:56 +08:00
|
|
|
public slots:
|
|
|
|
void setDisassembly(const QString& file, const QString& funcName,const QStringList& lines);
|
2021-08-01 23:24:37 +08:00
|
|
|
signals:
|
|
|
|
void closed();
|
|
|
|
private:
|
|
|
|
void sendSyntaxCommand();
|
|
|
|
private:
|
|
|
|
Ui::CPUDialog *ui;
|
|
|
|
// QWidget interface
|
|
|
|
protected:
|
|
|
|
void closeEvent(QCloseEvent *event) override;
|
|
|
|
private slots:
|
|
|
|
void on_rdIntel_toggled(bool checked);
|
|
|
|
void on_rdATT_toggled(bool checked);
|
2021-08-13 11:18:42 +08:00
|
|
|
void on_chkBlendMode_stateChanged(int arg1);
|
2021-08-01 23:24:37 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CPUDIALOG_H
|