diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-01-22 16:11:19 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-01-22 16:11:19 -0500 |
| commit | 3dd22f40996fc128ffce6026e8e747ca66bcc21d (patch) | |
| tree | a5e7fc57dc620fc4d4a408ffdbf114bb66dcf91d /ui/externallocationdialog.h | |
| parent | 96053ffc711aa27fcaeeb6cbfa89df0c253361f8 (diff) | |
Project support
Diffstat (limited to 'ui/externallocationdialog.h')
| -rw-r--r-- | ui/externallocationdialog.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ui/externallocationdialog.h b/ui/externallocationdialog.h new file mode 100644 index 00000000..c86eea70 --- /dev/null +++ b/ui/externallocationdialog.h @@ -0,0 +1,29 @@ +#pragma once + +#include <QtWidgets/QComboBox> +#include <QtWidgets/QDialog> +#include <QtWidgets/QLineEdit> +#include <QtWidgets/QPushButton> +#include "uitypes.h" + + +class BINARYNINJAUIAPI ExternalLocationDialog : public QDialog +{ + QPushButton* m_acceptButton; + QPushButton* m_cancelButton; + + QLineEdit* m_internalSymbolField; + QComboBox* m_libraryField; + QLineEdit* m_externalSymbolField; + QLineEdit* m_addressField; + + BinaryViewRef m_data; + ExternalLocationRef m_location; + + void Submit(); + + void updateForm(); + +public: + ExternalLocationDialog(QWidget* parent, BinaryViewRef data, ExternalLocationRef loc = nullptr, ExternalLibraryRef lib = nullptr, std::optional<std::string> rawSym = {}); +}; |
