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

Method setColor

source/text/MarkdownNoteEntry.cpp:375–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375void MarkdownNoteEntry::setColor(const QColor &color) {
376 noteData.color = color;
377 colorIndicator->setStyleSheet(QString("background-color: %1; border-radius: 2px;")
378 .arg(color.name()));
379}
380
381void MarkdownNoteEntry::setPreviewMode(bool preview) {
382 if (previewMode == preview) return;

Callers 4

applyAndroidPaletteFunction · 0.45
applyWindowsPaletteFunction · 0.45
setDarkModeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected