diff options
| -rw-r--r-- | binaryninjaapi.h | 2 | ||||
| -rw-r--r-- | ui/passwordedit.h | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index c04c903d..99eb1344 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -14731,7 +14731,7 @@ namespace BinaryNinja { Property JSON Data Type Prerequisite Optional {Allowed Values} and Notes ================== ====================================== ================== ======== ======================================================================= "title" string None No Concise Setting Title - "type" string None No {"array", "boolean", "number", "string"} + "type" string None No {"array", "boolean", "number", "password", "string"} "elementType" string "type" is "array" No {"string"} "enum" array : {string} "type" is "array" Yes Enumeration definitions "enumDescriptions" array : {string} "type" is "array" Yes Enumeration descriptions that match "enum" array diff --git a/ui/passwordedit.h b/ui/passwordedit.h new file mode 100644 index 00000000..7c34c49e --- /dev/null +++ b/ui/passwordedit.h @@ -0,0 +1,13 @@ +#pragma once + +#include <QtWidgets/QLineEdit> +#include "uitypes.h" + +class BINARYNINJAUIAPI PasswordEdit: public QLineEdit +{ +public: + PasswordEdit(QWidget* parent = nullptr); + + virtual void focusInEvent(QFocusEvent* e) override; + virtual void focusOutEvent(QFocusEvent* e) override; +}; |
