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

Method createAppearanceTab

YACReaderLibrary/options_dialog.cpp:452–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452QWidget *OptionsDialog::createAppearanceTab()
453{
454 return new AppearanceTabWidget(
455 ThemeManager::instance().getAppearanceConfiguration(),
456 ThemeManager::instance().getRepository(),
457 []() { return ThemeManager::instance().getCurrentTheme().sourceJson; },
458 [](const QJsonObject &json) { ThemeManager::instance().setTheme(makeTheme(json)); },
459 this);
460}

Callers

nothing calls this directly

Calls 4

getRepositoryMethod · 0.80
setThemeMethod · 0.80
makeThemeFunction · 0.50

Tested by

no test coverage detected