MCPcopy Create free account
hub / github.com/KDE/labplot / noteTextColorChanged

Method noteTextColorChanged

src/frontend/note/NoteView.cpp:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void NoteView::noteTextColorChanged(const QColor& color) {
91 CONDITIONAL_LOCK_RETURN;
92 m_textEdit->selectAll();
93 m_textEdit->setTextColor(color);
94 auto cursor = m_textEdit->textCursor();
95 cursor.clearSelection();
96 m_textEdit->setTextCursor(cursor);
97}

Callers

nothing calls this directly

Calls 3

setTextColorMethod · 0.80
clearSelectionMethod · 0.80
selectAllMethod · 0.45

Tested by

no test coverage detected