MCPcopy Create free account
hub / github.com/YACReader/yacreader / applyTheme

Method applyTheme

YACReaderLibrary/comics_view_transition.cpp:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11void ComicsViewTransition::applyTheme(const Theme &theme)
12{
13 setStyleSheet(QString("QWidget {background:%1}").arg(theme.gridAndInfoView.backgroundColor.name()));
14 update();
15}
16
17void ComicsViewTransition::paintEvent(QPaintEvent *)
18{

Callers

nothing calls this directly

Calls 2

QStringClass · 0.70
nameMethod · 0.45

Tested by

no test coverage detected