diff options
| author | Brian Potchik <brian@vector35.com> | 2025-10-10 09:34:08 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-10-10 09:34:08 -0400 |
| commit | 5c41155a46f93ead2b1d7feda8e6bc6f5b4f9549 (patch) | |
| tree | dda665f5ec8b8e92d490f6b1efea3e35868ee096 /ui/passwordedit.h | |
| parent | 47f5c67fd7f68dfd95392531431a3efca0ccda3c (diff) | |
Add password prompting for encrypted containers in Container Browser.
Diffstat (limited to 'ui/passwordedit.h')
| -rw-r--r-- | ui/passwordedit.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/passwordedit.h b/ui/passwordedit.h index 7c34c49e..f919803b 100644 --- a/ui/passwordedit.h +++ b/ui/passwordedit.h @@ -5,9 +5,11 @@ class BINARYNINJAUIAPI PasswordEdit: public QLineEdit { + Q_OBJECT + public: PasswordEdit(QWidget* parent = nullptr); - virtual void focusInEvent(QFocusEvent* e) override; - virtual void focusOutEvent(QFocusEvent* e) override; +private slots: + void showContextMenu(const QPoint& pos); }; |
