mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-14 22:53:15 +00:00
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:
parent
0b59ebb22f
commit
07f451650f
12 changed files with 388 additions and 13 deletions
|
@ -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];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue