diff options
| author | Brian Potchik <brian@vector35.com> | 2026-02-09 15:37:07 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2026-02-09 15:37:07 -0500 |
| commit | d66617bdfab6c64b9fe0faa89566d2f35973b211 (patch) | |
| tree | 88c46638ffb70f21bd9f9dec8db1d0fea738a568 /ui | |
| parent | c5461c58c56e9a9e8e6bc50122d30b142ae5f8da (diff) | |
Add button to open with options from the Container Browser dialog.
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/containerbrowser.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/containerbrowser.h b/ui/containerbrowser.h index a5978d06..d7423dba 100644 --- a/ui/containerbrowser.h +++ b/ui/containerbrowser.h @@ -91,10 +91,13 @@ class BINARYNINJAUIAPI ContainerBrowser : public QDialog QDialogButtonBox* m_buttons = nullptr; AllColumnsFilterProxyModel* m_proxy = nullptr; + QPushButton* m_openWithOptionsButton = nullptr; + QStringList m_pendingSelectionPath; QStringList m_selectedPaths; int m_lastPreviewSize = 0; int m_dialogWidth = 0; + bool m_openWithOptionsRequested = false; void connectSignals(); void updatePreviewForIndex(const QModelIndex& proxyIndex); @@ -113,6 +116,7 @@ public: ContainerBrowser(TransformSessionRef session, QWidget* parent = nullptr); QStringList selectedPaths() const { return m_selectedPaths; } + bool openWithOptionsRequested() const { return m_openWithOptionsRequested; } - static std::vector<TransformContextRef> openContainerFile(const QString& path, bool forceShowDialog = false); + static std::vector<TransformContextRef> openContainerFile(const QString& path, bool forceShowDialog = false, bool* outOpenWithOptions = nullptr); }; |
