Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PimCommon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
PimCommon
Commits
3545cb4e
Commit
3545cb4e
authored
Jul 03, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return passwordLineEdit widget
parent
a88d4f4e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
src/pimcommon/widgets/lineeditpassword.cpp
src/pimcommon/widgets/lineeditpassword.cpp
+5
-0
src/pimcommon/widgets/lineeditpassword.h
src/pimcommon/widgets/lineeditpassword.h
+2
-0
No files found.
CMakeLists.txt
View file @
3545cb4e
cmake_minimum_required
(
VERSION 3.0
)
set
(
PIM_VERSION
"5.5.6
1
"
)
set
(
PIM_VERSION
"5.5.6
2
"
)
project
(
pimcommon VERSION
${
PIM_VERSION
}
)
...
...
src/pimcommon/widgets/lineeditpassword.cpp
View file @
3545cb4e
...
...
@@ -87,6 +87,11 @@ void LineEditPassword::showToggleEchoModeAction(const QString &text)
mToggleEchoModeAction
->
setVisible
(
mIsToggleEchoModeAvailable
&&
(
mPasswordLineEdit
->
echoMode
()
==
QLineEdit
::
Normal
||
!
text
.
isEmpty
()));
}
QLineEdit
*
LineEditPassword
::
passwordLineEdit
()
const
{
return
mPasswordLineEdit
;
}
QAction
*
LineEditPassword
::
toggleEchoModeAction
()
const
{
return
mToggleEchoModeAction
;
...
...
src/pimcommon/widgets/lineeditpassword.h
View file @
3545cb4e
...
...
@@ -35,6 +35,8 @@ public:
QAction
*
toggleEchoModeAction
()
const
;
QLineEdit
*
passwordLineEdit
()
const
;
private:
void
initialize
();
void
toggleEchoMode
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment