diff options
author | saturneric <[email protected]> | 2024-11-29 17:08:12 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-29 17:08:12 +0000 |
commit | 62c4c40a59971c4ee009904d4948977a237de1e3 (patch) | |
tree | 7696deda2990024559411a4d9fdbcfdad5cb45d0 /src/ui/main_window/MainWindowUI.cpp | |
parent | feat: user should confirm the removal of key dbs (diff) | |
download | GpgFrontend-62c4c40a59971c4ee009904d4948977a237de1e3.tar.gz GpgFrontend-62c4c40a59971c4ee009904d4948977a237de1e3.zip |
feat: improve icons and padding
Diffstat (limited to 'src/ui/main_window/MainWindowUI.cpp')
-rw-r--r-- | src/ui/main_window/MainWindowUI.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/ui/main_window/MainWindowUI.cpp b/src/ui/main_window/MainWindowUI.cpp index 7728d0ae..59ad8401 100644 --- a/src/ui/main_window/MainWindowUI.cpp +++ b/src/ui/main_window/MainWindowUI.cpp @@ -49,8 +49,8 @@ void MainWindow::create_actions() { connect(open_act_, &QAction::triggered, edit_, &TextEdit::SlotOpen); browser_act_ = create_action( - "file_browser", tr("File Browser"), ":/icons/file-browser.png", - tr("Open a file browser"), {QKeySequence(Qt::CTRL | Qt::Key_B)}); + "file_browser", tr("File Panel"), ":/icons/file-operator.png", + tr("Open a file panel"), {QKeySequence(Qt::CTRL | Qt::Key_B)}); connect(browser_act_, &QAction::triggered, this, &MainWindow::slot_open_file_tab); @@ -141,29 +141,29 @@ void MainWindow::create_actions() { /* * Crypt Menu */ - encrypt_act_ = create_action("encrypt", tr("Encrypt"), - ":/icons/encrypted.png", tr("Encrypt Message"), + encrypt_act_ = create_action("encrypt", tr("Encrypt"), ":/icons/lock.png", + tr("Encrypt Message"), {QKeySequence(Qt::CTRL | Qt::Key_E)}); connect(encrypt_act_, &QAction::triggered, this, &MainWindow::SlotGeneralEncrypt); - encrypt_sign_act_ = create_action( - "encrypt_sign", tr("Encrypt Sign"), ":/icons/encrypted_signed.png", - tr("Encrypt and Sign Message"), - {QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_E)}); + encrypt_sign_act_ = + create_action("encrypt_sign", tr("Encrypt Sign"), ":/icons/compress.png", + tr("Encrypt and Sign Message"), + {QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_E)}); connect(encrypt_sign_act_, &QAction::triggered, this, &MainWindow::SlotGeneralEncryptSign); - decrypt_act_ = create_action("decrypt", tr("Decrypt"), - ":/icons/decrypted.png", tr("Decrypt Message"), + decrypt_act_ = create_action("decrypt", tr("Decrypt"), ":/icons/unlock.png", + tr("Decrypt Message"), {QKeySequence(Qt::CTRL | Qt::Key_D)}); connect(decrypt_act_, &QAction::triggered, this, &MainWindow::SlotGeneralDecrypt); - decrypt_verify_act_ = create_action( - "decrypt_verify", tr("Decrypt Verify"), ":/icons/decrypted_verified.png", - tr("Decrypt and Verify Message"), - {QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_D)}); + decrypt_verify_act_ = + create_action("decrypt_verify", tr("Decrypt Verify"), + ":/icons/expand.png", tr("Decrypt and Verify Message"), + {QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_D)}); connect(decrypt_verify_act_, &QAction::triggered, this, &MainWindow::SlotGeneralDecryptVerify); @@ -499,9 +499,9 @@ void MainWindow::create_tool_bars() { crypt_tool_bar_ = addToolBar(tr("Operations")); crypt_tool_bar_->setObjectName("cryptToolBar"); crypt_tool_bar_->addAction(encrypt_act_); - crypt_tool_bar_->addAction(encrypt_sign_act_); + // crypt_tool_bar_->addAction(encrypt_sign_act_); crypt_tool_bar_->addAction(decrypt_act_); - crypt_tool_bar_->addAction(decrypt_verify_act_); + // crypt_tool_bar_->addAction(decrypt_verify_act_); crypt_tool_bar_->addAction(sign_act_); crypt_tool_bar_->addAction(verify_act_); view_menu_->addAction(crypt_tool_bar_->toggleViewAction()); |