Enhance attribute entry and add protected attributes (#220)
* Allow protected attributes to be hidden * Entry area is resizable * Added test cases for protected attributes
This commit is contained in:
@@ -76,6 +76,8 @@ private Q_SLOTS:
|
||||
void editCurrentAttribute();
|
||||
void removeCurrentAttribute();
|
||||
void updateCurrentAttribute();
|
||||
void protectCurrentAttribute(bool state);
|
||||
void revealCurrentAttribute();
|
||||
void insertAttachment();
|
||||
void saveCurrentAttachment();
|
||||
void openAttachment(const QModelIndex& index);
|
||||
@@ -110,6 +112,8 @@ private:
|
||||
QMenu* createPresetsMenu();
|
||||
void updateEntryData(Entry* entry) const;
|
||||
|
||||
void displayAttribute(QModelIndex index, bool showProtected);
|
||||
|
||||
Entry* m_entry;
|
||||
Database* m_database;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user