diff options
| author | Jordan Wiens <github@psifertex.com> | 2025-12-19 14:18:19 -0500 |
|---|---|---|
| committer | Jordan Wiens <github@psifertex.com> | 2025-12-19 15:20:22 -0500 |
| commit | dbdf3381e2dd32527cffaca6081fc5a9913f1cc7 (patch) | |
| tree | 4f10dc3101700a63f7e83a087e69b5b1659fb61a /examples/triage/view.h | |
| parent | 1cabd2def9da8ee106be26308b96a2a91cd92a2f (diff) | |
triage view responsive layout
Diffstat (limited to 'examples/triage/view.h')
| -rw-r--r-- | examples/triage/view.h | 6 |
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(); |
