MCPcopy Create free account
hub / github.com/alpha-liu-01/SpeedyNote / chooseGridColor

Method chooseGridColor

source/ControlPanelDialog.cpp:1472–1478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1470}
1471
1472void ControlPanelDialog::chooseGridColor() {
1473 QColor chosen = QColorDialog::getColor(selectedGridColor, this, tr("Select Grid/Line Color"));
1474 if (chosen.isValid()) {
1475 selectedGridColor = chosen;
1476 gridColorButton->setStyleSheet(QString("background-color: %1").arg(selectedGridColor.name()));
1477 }
1478}
1479
1480void ControlPanelDialog::createThemeTab() {
1481 themeTab = new QWidget(this);

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected