diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-09-19 16:21:07 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-09-19 17:05:17 -0400 |
| commit | c8851b8a56f1d983c93695f31cac98fa36466086 (patch) | |
| tree | a69e5b507207243e67b5fc2f84d811b2269bd051 | |
| parent | 78830c47514d9effd21bf627976f712ba10a4183 (diff) | |
Add tag text input in tag creation dialog
| -rw-r--r-- | ui/flowgraphwidget.h | 2 | ||||
| -rw-r--r-- | ui/linearview.h | 2 | ||||
| -rw-r--r-- | ui/tagtypelist.h | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index 3ed2886e..0985bc75 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -360,7 +360,7 @@ class BINARYNINJAUIAPI FlowGraphWidget : void bookmarkAddress(); void unbookmarkAddress(); void tagAddress(); - void tagAddressAccepted(TagTypeRef tt); + void tagAddressAccepted(TagTypeRef tt, const QString& text); void manageAddressTags(); void mergeVariables(); void mergeVariablesAtCurrentLocation(); diff --git a/ui/linearview.h b/ui/linearview.h index aaa4a9ac..138b326c 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -335,7 +335,7 @@ private Q_SLOTS: void bookmarkAddress(); void unbookmarkAddress(); void tagAddress(); - void tagAddressAccepted(TagTypeRef tt); + void tagAddressAccepted(TagTypeRef tt, const QString& text); void manageAddressTags(); void createExternalLink(); diff --git a/ui/tagtypelist.h b/ui/tagtypelist.h index 284bbfe1..cc99dcb9 100644 --- a/ui/tagtypelist.h +++ b/ui/tagtypelist.h @@ -173,6 +173,7 @@ class BINARYNINJAUIAPI TagTypeSelectDialog : public QDialog BinaryViewRef m_data; TagTypeDialogModel* m_model; QComboBox* m_tagTypeList; + QLineEdit* m_tagTextInput; private Q_SLOTS: void select(); @@ -181,5 +182,5 @@ class BINARYNINJAUIAPI TagTypeSelectDialog : public QDialog TagTypeSelectDialog(QWidget* parent, BinaryViewRef data); Q_SIGNALS: - void selected(TagTypeRef tagType); + void selected(TagTypeRef tagType, QString text); }; |
