blob: d74bd0638d3d754aee074b9d1c98c7d759d58433 (
plain)
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
35
36
37
38
39
40
41
42
43
|
#pragma once
#include <QtWidgets/QWidget>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QVBoxLayout>
#include "binaryninjaapi.h"
#include "viewframe.h"
#include "uicontext.h"
/*!
\defgroup reportcollectionwidget ReportCollectionWidget
\ingroup uiapi
*/
/*!
\ingroup reportcollectionwidget
*/
class BINARYNINJAUIAPI ReportCollectionWidget : public QWidget, public ViewContainer
{
Q_OBJECT
QSplitter* m_splitter;
QListWidget* m_list;
QWidget* m_report;
QWidget* m_reportContainer;
QVBoxLayout* m_reportLayout;
ReportCollectionRef m_collection;
int m_currentReportIndex;
std::string m_title;
public:
ReportCollectionWidget(QWidget* parent, ReportCollectionRef reports, const std::string& title);
virtual View* getView() override;
ReportCollectionWidget* duplicate();
private Q_SLOTS:
void selectReport(int i);
};
|