Initial implementation of theming

This commit is contained in:
luisangelsm
2026-02-19 17:39:22 +01:00
parent ed28c94f66
commit 044176d6b7
303 changed files with 4634 additions and 2119 deletions

View File

@ -4,6 +4,7 @@
#include <QtGui>
#include "help_about_dialog_theme.h"
#include "whats_new_dialog_theme.h"
struct ToolbarThemeTemplates {
QString toolbarQSS = "QToolBar { border: none; background: %1; }\n"
@ -126,11 +127,26 @@ struct GoToFlowWidgetTheme {
QIcon goToIcon;
};
struct ShortcutsIconsTheme {
QIcon comicsIcon;
QIcon generalIcon;
QIcon magnifyingGlassIcon;
QIcon pageIcon;
QIcon readingIcon;
};
struct DialogIconsTheme {
QIcon findFolderIcon;
};
struct Theme {
ToolbarTheme toolbar;
ViewerTheme viewer;
GoToFlowWidgetTheme goToFlowWidget;
HelpAboutDialogTheme helpAboutDialog;
WhatsNewDialogTheme whatsNewDialog;
ShortcutsIconsTheme shortcutsIcons;
DialogIconsTheme dialogIcons;
};
#endif // THEME_H