summaryrefslogtreecommitdiff
path: root/examples/triage/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/triage/view.h')
-rw-r--r--examples/triage/view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/triage/view.h b/examples/triage/view.h
index e691b951..ab4f1024 100644
--- a/examples/triage/view.h
+++ b/examples/triage/view.h
@@ -6,12 +6,16 @@
#include "byte.h"
+class HeaderWidget;
+
class TriageView : public QScrollArea, public View
{
BinaryViewRef m_data;
uint64_t m_currentOffset = 0;
ByteView* m_byteView = nullptr;
QPushButton* m_fullAnalysisButton = nullptr;
+ QSplitter* m_importExportSplitter = nullptr;
+ HeaderWidget* m_headerWidget = nullptr;
public:
TriageView(QWidget* parent, BinaryViewRef data);
@@ -28,9 +32,11 @@ class TriageView : public QScrollArea, public View
protected:
virtual void focusInEvent(QFocusEvent* event) override;
+ virtual void resizeEvent(QResizeEvent* event) override;
private:
void goToAddress();
+ void updateImportExportLayout();
private Q_SLOTS:
void startFullAnalysis();