1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
#ifndef DIALOG_XREFS_H_20191119_
#define DIALOG_XREFS_H_20191119_
#include "edb.h"
#include "ui_DialogXRefs.h"
#include <QDialog>
#include <utility>
class QListWidgetItem;
namespace AnalyzerPlugin {
class DialogXRefs : public QDialog {
Q_OBJECT
public:
explicit DialogXRefs(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
~DialogXRefs() override = default;
public Q_SLOTS:
void on_listReferences_itemDoubleClicked(QListWidgetItem *item);
public:
void addReference(const std::pair<edb::address_t, edb::address_t> &reference);
private:
Ui::DialogXRefs ui;
};
}
#endif
|