diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-06-17 14:09:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-06-17 16:37:17 +0200 |
commit | a81d7c4e0379a021664f8f6c5e9032a47fcf61d6 (patch) | |
tree | 79f8560e76a2dbba57f3355663727290e5999cc5 /cui/source/inc | |
parent | 9da14cf5461a1883718da9f92e03dd0dd6e28efd (diff) |
tdf#43452 indicate when maximum password length has been reached
Change-Id: I58ba5887d41a80aa0ef2be547351f2faeccfa3cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96533
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/passwdomdlg.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cui/source/inc/passwdomdlg.hxx b/cui/source/inc/passwdomdlg.hxx index e49634026e93..1f690ca391c7 100644 --- a/cui/source/inc/passwdomdlg.hxx +++ b/cui/source/inc/passwdomdlg.hxx @@ -25,25 +25,32 @@ class PasswordToOpenModifyDialog : public SfxDialogController { std::unique_ptr<weld::Entry> m_xPasswdToOpenED; + std::unique_ptr<weld::Label> m_xPasswdToOpenInd; std::unique_ptr<weld::Entry> m_xReenterPasswdToOpenED; + std::unique_ptr<weld::Label> m_xReenterPasswdToOpenInd; std::unique_ptr<weld::Expander> m_xOptionsExpander; std::unique_ptr<weld::Button> m_xOk; std::unique_ptr<weld::CheckButton> m_xOpenReadonlyCB; std::unique_ptr<weld::Label> m_xPasswdToModifyFT; std::unique_ptr<weld::Entry> m_xPasswdToModifyED; + std::unique_ptr<weld::Label> m_xPasswdToModifyInd; std::unique_ptr<weld::Label> m_xReenterPasswdToModifyFT; std::unique_ptr<weld::Entry> m_xReenterPasswdToModifyED; + std::unique_ptr<weld::Label> m_xReenterPasswdToModifyInd; OUString m_aOneMismatch; OUString m_aTwoMismatch; OUString m_aInvalidStateForOkButton; OUString m_aInvalidStateForOkButton_v2; + OUString m_aIndicatorTemplate; + int m_nMaxPasswdLen; bool m_bIsPasswordToModify; DECL_LINK(OkBtnClickHdl, weld::Button&, void); DECL_LINK(ReadonlyOnOffHdl, weld::Button&, void); + DECL_LINK(ChangeHdl, weld::Entry&, void); PasswordToOpenModifyDialog( const PasswordToOpenModifyDialog & ) = delete; PasswordToOpenModifyDialog & operator = ( const PasswordToOpenModifyDialog & ) = delete; |