MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / ThemeSettingsTab

Method ThemeSettingsTab

src/settingsdialogtheme.cpp:12–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10using namespace MOBase;
11
12ThemeSettingsTab::ThemeSettingsTab(Settings& s, SettingsDialog& d) : SettingsTab(s, d)
13{
14 // style
15 addStyles();
16 selectStyle();
17
18 // colors
19 ui->colorTable->load(s);
20
21 QObject::connect(ui->resetColorsBtn, &QPushButton::clicked, [&] {
22 ui->colorTable->resetColors();
23 });
24
25 QObject::connect(ui->exploreStyles, &QPushButton::clicked, [&] {
26 onExploreStyles();
27 });
28}
29
30void ThemeSettingsTab::update()
31{

Callers

nothing calls this directly

Calls 2

resetColorsMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected