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

Method backgroundColor

source/ui/widgets/ToggleButton.cpp:163–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163QColor SubToolbarToggle::backgroundColor() const
164{
165 if (m_checked) {
166 return m_darkMode ? QColor(70, 130, 180) : QColor(100, 149, 237);
167 } else {
168 return m_darkMode ? Qt::black : Qt::white;
169 }
170}
171

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected