2017-03-29 10:18:37 +00:00
|
|
|
#ifndef OPTIONSDIALOG_H
|
|
|
|
#define OPTIONSDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QStringList>
|
|
|
|
|
|
|
|
#include "qrcore.h"
|
|
|
|
#include "analthread.h"
|
|
|
|
|
|
|
|
class MainWindow;
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class OptionsDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class OptionsDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
QRCore *core;
|
2017-04-01 11:20:13 +00:00
|
|
|
explicit OptionsDialog(QString filename, QWidget *parent = 0);
|
2017-03-29 10:18:37 +00:00
|
|
|
~OptionsDialog();
|
|
|
|
RAnalFunction functionAt(ut64 addr);
|
|
|
|
QStringList asm_plugins;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_closeButton_clicked();
|
|
|
|
|
|
|
|
void on_okButton_clicked();
|
|
|
|
|
|
|
|
void on_cancelButton_clicked();
|
|
|
|
|
|
|
|
void anal_finished();
|
|
|
|
|
|
|
|
void on_analSlider_valueChanged(int value);
|
|
|
|
|
|
|
|
void on_AdvOptButton_clicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
int anal_level;
|
|
|
|
QString filename;
|
|
|
|
QString shortfn;
|
|
|
|
Ui::OptionsDialog *ui;
|
2017-03-31 22:47:37 +00:00
|
|
|
AnalThread analThread;
|
2017-03-29 10:18:37 +00:00
|
|
|
MainWindow *w;
|
2017-04-01 11:20:13 +00:00
|
|
|
|
|
|
|
void setFilename(QString fn, QString shortfn);
|
|
|
|
void setFilename(QString fn);
|
2017-03-29 10:18:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // OPTIONSDIALOG_H
|