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

Method applyTheme

custom_widgets/help_about_dialog.cpp:111–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void HelpAboutDialog::applyTheme(const Theme &theme)
112{
113 if (changelogButton != nullptr) {
114 changelogButton->setStyleSheet(QString("QPushButton { border:none; background:transparent; color:%1;"
115 " font-family:Arial; padding:2px 8px; }"
116 "QPushButton:hover { text-decoration:underline; }")
117 .arg(theme.helpAboutDialog.linkColor.name()));
118 }
119
120 applyHtmlTheme();
121}
122
123void HelpAboutDialog::applyHtmlTheme()
124{

Callers

nothing calls this directly

Calls 2

QStringClass · 0.50
nameMethod · 0.45

Tested by

no test coverage detected