MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / refresh

Method refresh

src/visualsettings.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47void VisualSettings::themeNameChanged(const QString &x) { editColorTheme->setName(x); }
48
49void VisualSettings::refresh() {
50 editColorTheme->setColor(
51 hslTuple(ui->spinBoxMxH->value(), ui->doubleSpinBoxMxS->value(), ui->doubleSpinBoxMxL->value()),
52 hslTuple(ui->spinBoxMiH->value(), ui->doubleSpinBoxMiS->value(), ui->doubleSpinBoxMiL->value()),
53 hslTuple(ui->spinBoxNfH->value(), ui->doubleSpinBoxNfS->value(), ui->doubleSpinBoxNfL->value()),
54 hslTuple(ui->spinBoxCeH->value(), ui->doubleSpinBoxCeS->value(), ui->doubleSpinBoxCeL->value()),
55 dddTuple(ui->grandCompH->value(), ui->grandCompS->value(), ui->grandCompL->value()),
56 dddTuple(ui->grandRateH->value(), ui->grandRateS->value(), ui->grandRateL->value()));
57}
58
59VisualSettings::~VisualSettings() { delete ui; }

Callers 10

changeEventMethod · 0.45
showOptionsDialogMethod · 0.45
refreshButtonClickedMethod · 0.45
tabIndexChangedMethod · 0.45
moveUpTaskMethod · 0.45
moveDownTaskMethod · 0.45
loadContestMethod · 0.45
newContestMethod · 0.45
changeContestNameMethod · 0.45
okayButtonClickedMethod · 0.45

Calls 3

hslTupleClass · 0.85
dddTupleClass · 0.85
setColorMethod · 0.80

Tested by

no test coverage detected