Help - improvement (#1522)

* Help - improvement

* Adding shadow below icons

* Adding keys icon + Update changelog

* color according to the selected theme

* submenu 'Keys and Shortcuts'

* clang

* +

* remove keys_shortcuts

---------

Co-authored-by: ¥IGA <164882787+Xphalnos@users.noreply.github.com>
This commit is contained in:
DanielSvoboda 2024-12-09 13:47:26 -03:00 committed by GitHub
parent 0b59ebb22f
commit 07f451650f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 388 additions and 13 deletions

View file

@ -3,7 +3,11 @@
#pragma once
#include <QDesktopServices>
#include <QDialog>
#include <QLabel>
#include <QPixmap>
#include <QUrl>
namespace Ui {
class AboutDialog;
@ -15,7 +19,18 @@ class AboutDialog : public QDialog {
public:
explicit AboutDialog(QWidget* parent = nullptr);
~AboutDialog();
bool eventFilter(QObject* obj, QEvent* event);
private:
Ui::AboutDialog* ui;
};
void preloadImages();
void updateImagesForCurrentTheme();
void applyHoverEffect(QLabel* label);
void removeHoverEffect(QLabel* label);
bool isDarkTheme() const;
QPixmap originalImages[5];
QPixmap invertedImages[5];
};