diff options
| author | Rusty Wagner <rusty@vector35.com> | 2019-03-19 15:41:08 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2019-03-20 13:00:17 -0400 |
| commit | 411acbaa4a1d217e731d3df0b189445117be3b26 (patch) | |
| tree | 49b5c5290058ffb98dd23ec9a7c1a49921254d15 /ui/reportcollectionwidget.h | |
| parent | ca1bc587c22928bbd7198813064c9615c3c12771 (diff) | |
Add in progress UI API headers
Diffstat (limited to 'ui/reportcollectionwidget.h')
| -rw-r--r-- | ui/reportcollectionwidget.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ui/reportcollectionwidget.h b/ui/reportcollectionwidget.h new file mode 100644 index 00000000..95dc9262 --- /dev/null +++ b/ui/reportcollectionwidget.h @@ -0,0 +1,32 @@ +#pragma once + +#include <QtWidgets/QWidget> +#include <QtWidgets/QSplitter> +#include <QtWidgets/QListWidget> +#include <QtWidgets/QVBoxLayout> +#include "binaryninjaapi.h" +#include "viewframe.h" +#include "uicontext.h" + +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; + +private Q_SLOTS: + void selectReport(int i); +}; |
