summaryrefslogtreecommitdiff
path: root/ui/passwordedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/passwordedit.h')
-rw-r--r--ui/passwordedit.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/passwordedit.h b/ui/passwordedit.h
index f919803b..12db5f5c 100644
--- a/ui/passwordedit.h
+++ b/ui/passwordedit.h
@@ -3,13 +3,21 @@
#include <QtWidgets/QLineEdit>
#include "uitypes.h"
+class ClickableLabel;
+
class BINARYNINJAUIAPI PasswordEdit: public QLineEdit
{
Q_OBJECT
+ ClickableLabel* m_toggleLabel;
+ void updateToggleIcon();
+
public:
PasswordEdit(QWidget* parent = nullptr);
+protected:
+ void resizeEvent(QResizeEvent* event) override;
+
private slots:
void showContextMenu(const QPoint& pos);
};