MCPcopy Create free account
hub / github.com/Atarity/Lightpack / settingsProfileChanged

Method settingsProfileChanged

Software/src/GrabWidget.cpp:109–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void GrabWidget::settingsProfileChanged()
110{
111 DEBUG_LOW_LEVEL << Q_FUNC_INFO << m_selfId;
112
113 m_coefRed = Settings::getLedCoefRed(m_selfId);
114 m_coefGreen = Settings::getLedCoefGreen(m_selfId);
115 m_coefBlue = Settings::getLedCoefBlue(m_selfId);
116
117 m_configWidget->setIsAreaEnabled(Settings::isLedEnabled(m_selfId));
118 m_configWidget->setCoefs(m_coefRed, m_coefGreen, m_coefBlue);
119
120 move(Settings::getLedPosition(m_selfId));
121 resize(Settings::getLedSize(m_selfId));
122
123 emit resizeOrMoveCompleted(m_selfId);
124}
125
126void GrabWidget::setCursorOnAll(Qt::CursorShape cursor)
127{

Callers

nothing calls this directly

Calls 2

setIsAreaEnabledMethod · 0.80
setCoefsMethod · 0.80

Tested by

no test coverage detected