From 6668ad394b5b635d3d4905ac93ef1f0dce1278a9 Mon Sep 17 00:00:00 2001 From: Jon Palmisciano Date: Mon, 9 May 2022 12:00:46 -0400 Subject: Add API for saving/restoring split layout info --- ui/pane.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/pane.h b/ui/pane.h index d26eb046..e4ba4e97 100644 --- a/ui/pane.h +++ b/ui/pane.h @@ -284,6 +284,9 @@ class BINARYNINJAUIAPI SplitPaneContainer : public QWidget void open(Pane* pane, Qt::Orientation primaryDirection = Qt::Vertical); + QVariantMap layoutPersistenceInfo() const; + void applyPersistedLayout(const QVariantMap&); + #ifndef BINARYNINJAUI_BINDINGS void recreateViewFrames(std::map& locations); #endif -- cgit v1.3.1