mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-08 06:22:53 -04:00
Improve various application icons
This commit is contained in:
parent
f32dc96757
commit
b0a68ea0de
13 changed files with 53 additions and 7 deletions
|
@ -294,7 +294,7 @@ void AutoTypeSelectDialog::buildActionMenu()
|
|||
auto typeTotpAction = new QAction(icons()->icon("auto-type"), tr("Type {TOTP}"), this);
|
||||
auto copyUsernameAction = new QAction(icons()->icon("username-copy"), tr("Copy Username"), this);
|
||||
auto copyPasswordAction = new QAction(icons()->icon("password-copy"), tr("Copy Password"), this);
|
||||
auto copyTotpAction = new QAction(icons()->icon("chronometer"), tr("Copy TOTP"), this);
|
||||
auto copyTotpAction = new QAction(icons()->icon("totp"), tr("Copy TOTP"), this);
|
||||
m_actionMenu->addAction(typeUsernameAction);
|
||||
m_actionMenu->addAction(typePasswordAction);
|
||||
m_actionMenu->addAction(typeTotpAction);
|
||||
|
|
|
@ -45,7 +45,7 @@ EntryPreviewWidget::EntryPreviewWidget(QWidget* parent)
|
|||
m_ui->setupUi(this);
|
||||
|
||||
// Entry
|
||||
m_ui->entryTotpButton->setIcon(icons()->icon("chronometer"));
|
||||
m_ui->entryTotpButton->setIcon(icons()->icon("totp"));
|
||||
m_ui->entryCloseButton->setIcon(icons()->icon("dialog-close"));
|
||||
m_ui->togglePasswordButton->setIcon(icons()->onOffIcon("password-show", true));
|
||||
m_ui->toggleEntryNotesButton->setIcon(icons()->onOffIcon("password-show", true));
|
||||
|
|
|
@ -402,6 +402,13 @@ MainWindow::MainWindow()
|
|||
m_ui->actionEntryCopyUsername->setIcon(icons()->icon("username-copy"));
|
||||
m_ui->actionEntryCopyPassword->setIcon(icons()->icon("password-copy"));
|
||||
m_ui->actionEntryCopyURL->setIcon(icons()->icon("url-copy"));
|
||||
m_ui->menuEntryCopyAttribute->setIcon(icons()->icon("attributes-copy"));
|
||||
m_ui->menuEntryTotp->setIcon(icons()->icon("totp"));
|
||||
m_ui->actionEntryTotp->setIcon(icons()->icon("totp"));
|
||||
m_ui->actionEntryCopyTotp->setIcon(icons()->icon("totp-copy"));
|
||||
m_ui->actionEntryTotpQRCode->setIcon(icons()->icon("qrcode"));
|
||||
m_ui->actionEntrySetupTotp->setIcon(icons()->icon("totp-edit"));
|
||||
m_ui->menuTags->setIcon(icons()->icon("tag-multiple"));
|
||||
m_ui->actionEntryDownloadIcon->setIcon(icons()->icon("favicon-download"));
|
||||
m_ui->actionGroupSortAsc->setIcon(icons()->icon("sort-alphabetical-ascending"));
|
||||
m_ui->actionGroupSortDesc->setIcon(icons()->icon("sort-alphabetical-descending"));
|
||||
|
|
|
@ -291,7 +291,7 @@ QVariant EntryModel::data(const QModelIndex& index, int role) const
|
|||
break;
|
||||
case Totp:
|
||||
if (entry->hasTotp()) {
|
||||
return icons()->icon("chronometer");
|
||||
return icons()->icon("totp");
|
||||
}
|
||||
break;
|
||||
case PasswordStrength:
|
||||
|
@ -388,7 +388,7 @@ QVariant EntryModel::headerData(int section, Qt::Orientation orientation, int ro
|
|||
case Paperclip:
|
||||
return icons()->icon("paperclip");
|
||||
case Totp:
|
||||
return icons()->icon("chronometer");
|
||||
return icons()->icon("totp");
|
||||
case PasswordStrength:
|
||||
return icons()->icon("lock-question");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue