mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-02 04:14:52 -05:00
Show Row-Backgroundcolor in a column
Fixes #6553 Allow users to choose to show the entry background color as a column instead of changing the background of the entire row.
This commit is contained in:
parent
4df16fa501
commit
e82e9dad3b
6 changed files with 55 additions and 20 deletions
|
|
@ -48,7 +48,8 @@ public:
|
|||
Attachments = 11,
|
||||
Totp = 12,
|
||||
Size = 13,
|
||||
PasswordStrength = 14
|
||||
PasswordStrength = 14,
|
||||
Color = 15
|
||||
};
|
||||
|
||||
explicit EntryModel(QObject* parent = nullptr);
|
||||
|
|
@ -67,6 +68,7 @@ public:
|
|||
|
||||
void setGroup(Group* group);
|
||||
void setEntries(const QList<Entry*>& entries);
|
||||
void setBackgroundColorVisible(bool visible);
|
||||
|
||||
private slots:
|
||||
void entryAboutToAdd(Entry* entry);
|
||||
|
|
@ -85,6 +87,7 @@ private:
|
|||
void severConnections();
|
||||
void makeConnections(const Group* group);
|
||||
|
||||
bool m_backgroundColorVisible = true;
|
||||
Group* m_group;
|
||||
QList<Entry*> m_entries;
|
||||
QList<Entry*> m_orgEntries;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue