cutter/src/dialogs/OptionsDialog.h

61 lines
1.2 KiB
C
Raw Normal View History

#ifndef OPTIONSDIALOG_H
#define OPTIONSDIALOG_H
#include <QDialog>
#include <QStringList>
2017-09-25 12:55:41 +00:00
#include "cutter.h"
#include "analthread.h"
class MainWindow;
2017-04-09 19:55:06 +00:00
namespace Ui
{
class OptionsDialog;
}
class OptionsDialog : public QDialog
{
Q_OBJECT
public:
explicit OptionsDialog(MainWindow *main);
~OptionsDialog();
RAnalFunction functionAt(ut64 addr);
QStringList asm_plugins;
void setupAndStartAnalysis(int level, QList<QString> advanced);
public slots:
void updateProgress(const QString &str);
private slots:
void on_closeButton_clicked();
void on_okButton_clicked();
void on_cancelButton_clicked();
void on_analSlider_valueChanged(int value);
void on_AdvOptButton_clicked();
void on_analCheckBox_clicked(bool checked);
void on_archComboBox_currentIndexChanged(int index);
void on_pdbSelectButton_clicked();
void updatePDBLayout();
void anal_finished();
private:
AnalThread analThread;
MainWindow *main;
int defaultAnalLevel;
2017-04-01 11:20:13 +00:00
QString analysisDescription(int level);
void updateCPUComboBox();
public:
Ui::OptionsDialog *ui;
QString getSelectedArch();
QString getSelectedCPU();
int getSelectedBits();
QString getSelectedOS();
};
#endif // OPTIONSDIALOG_H