40 lines
874 B
C++
40 lines
874 B
C++
#ifndef REFERENCEVIEW_H
|
|
#define REFERENCEVIEW_H
|
|
|
|
#include <QProgressBar>
|
|
#include <QAction>
|
|
#include <QMenu>
|
|
#include "SearchListView.h"
|
|
#include "Bridge.h"
|
|
|
|
class ReferenceView : public SearchListView
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ReferenceView();
|
|
void setupContextMenu();
|
|
|
|
private slots:
|
|
void addColumnAt(int width, QString title);
|
|
void setRowCount(int_t count);
|
|
void deleteAllColumns();
|
|
void setCellContent(int r, int c, QString s);
|
|
void reloadData();
|
|
void setSingleSelection(int index, bool scroll);
|
|
void setSearchStartCol(int col);
|
|
void referenceContextMenu(QMenu* wMenu);
|
|
void followAddress();
|
|
void followDumpAddress();
|
|
|
|
signals:
|
|
void showCpu();
|
|
|
|
private:
|
|
QProgressBar* mSearchProgress;
|
|
QAction* mFollowAddress;
|
|
QAction* mFollowDumpAddress;
|
|
};
|
|
|
|
#endif // REFERENCEVIEW_H
|