MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setColor

Method setColor

app/src/Platform/CSD.cpp:927–934  ·  view source on GitHub ↗

* @brief Sets a custom color for the title bar. */

Source from the content-addressed store, hash-verified

925 * @brief Sets a custom color for the title bar.
926 */
927void Window::setColor(const QString& color)
928{
929 if (m_color == color)
930 return;
931
932 m_color = color;
933 updateTheme();
934}
935
936/**
937 * @brief Creates the drop-shadow as a BorderImage over a shared 9-slice atlas (no per-window

Callers 5

updateStyleMethod · 0.45
addWindowMethod · 0.45
setupFrameMethod · 0.45
setThemeMethod · 0.45
onInputDataChangedMethod · 0.45

Calls

no outgoing calls

Tested by 1

onInputDataChangedMethod · 0.36