mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 10:22:58 -05:00
Initial implementation of theming
This commit is contained in:
15
YACReaderLibrary/empty_folder_widget.cpp
Normal file
15
YACReaderLibrary/empty_folder_widget.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
#include "empty_folder_widget.h"
|
||||
|
||||
EmptyFolderWidget::EmptyFolderWidget(QWidget *parent)
|
||||
: EmptyContainerInfo(parent)
|
||||
{
|
||||
setUpDefaultLayout(true);
|
||||
setPixmap(theme.emptyContainer.emptyFolderIcon);
|
||||
setText(tr("This folder doesn't contain comics yet"));
|
||||
}
|
||||
|
||||
void EmptyFolderWidget::applyTheme(const Theme &theme)
|
||||
{
|
||||
EmptyContainerInfo::applyTheme(theme);
|
||||
setPixmap(theme.emptyContainer.emptyFolderIcon);
|
||||
}
|
||||
Reference in New Issue
Block a user