mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Extract noLibrariesWidget theme and use themed line assets
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
This commit is contained in:
@ -122,11 +122,6 @@ struct EmptyContainerTheme {
|
||||
QColor backgroundColor;
|
||||
QString titleLabelQSS;
|
||||
|
||||
// For NoLibrariesWidget
|
||||
QColor textColor;
|
||||
QColor descriptionTextColor;
|
||||
QPixmap noLibrariesIcon;
|
||||
|
||||
// Search-related icons (themed from search_result.svg)
|
||||
QPixmap searchingIcon; // For ClassicComicsView searching state
|
||||
QPixmap noSearchResultsIcon; // For NoSearchResultsWidget empty state
|
||||
@ -139,6 +134,14 @@ struct EmptyContainerTheme {
|
||||
QMap<int, QPixmap> emptyLabelIcons; // Keyed by YACReader::LabelColors enum value
|
||||
};
|
||||
|
||||
struct NoLibrariesWidgetTheme {
|
||||
QColor backgroundColor; // Background of the widget
|
||||
QColor textColor; // Main title text color
|
||||
QColor descriptionTextColor; // Description text color
|
||||
QPixmap noLibrariesIcon; // Icon displayed in the widget
|
||||
QPixmap noLibrariesLinePixmap; // Themed horizontal line separator
|
||||
};
|
||||
|
||||
struct SidebarTheme {
|
||||
QColor backgroundColor;
|
||||
QColor separatorColor;
|
||||
@ -172,6 +175,7 @@ struct ImportWidgetTheme {
|
||||
QPixmap importingIcon;
|
||||
QPixmap updatingIcon;
|
||||
QIcon coversToggleIcon;
|
||||
QPixmap glowLinePixmap; // Themed glow line animation
|
||||
};
|
||||
|
||||
struct NavigationTreeThemeTemplates {
|
||||
@ -491,6 +495,7 @@ struct Theme {
|
||||
HelpAboutDialogTheme helpAboutDialog;
|
||||
WhatsNewDialogTheme whatsNewDialog;
|
||||
EmptyContainerTheme emptyContainer;
|
||||
NoLibrariesWidgetTheme noLibrariesWidget;
|
||||
SidebarTheme sidebar;
|
||||
SidebarIconsTheme sidebarIcons;
|
||||
LibraryItemTheme libraryItem;
|
||||
|
||||
Reference in New Issue
Block a user