mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-18 00:11:06 -04:00
Add header context menu to entry view table
Add header context menu to entry view table (accessible using right click on header), providing: - Actions to toggle 'Hide Usernames' / 'Hide Passwords' - Actions to toggle column visibility - Actions to resize columns - Action to reset view to defaults
This commit is contained in:
parent
268035ff9e
commit
31d73626e5
4 changed files with 313 additions and 5 deletions
|
@ -578,3 +578,21 @@ void EntryModel::setHidePasswords(const bool hide)
|
|||
m_hidePasswords = hide;
|
||||
emit hidePasswordsChanged();
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Fonic <https://github.com/fonic>
|
||||
* Toggle state of 'Hide Usernames' setting
|
||||
*/
|
||||
void EntryModel::toggleHideUsernames(const bool hide)
|
||||
{
|
||||
setHideUsernames(hide);
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Fonic <https://github.com/fonic>
|
||||
* Toggle state of 'Hide Passwords' setting
|
||||
*/
|
||||
void EntryModel::toggleHidePasswords(const bool hide)
|
||||
{
|
||||
setHidePasswords(hide);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue