| 107 | } |
| 108 | |
| 109 | void 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 | |
| 126 | void GrabWidget::setCursorOnAll(Qt::CursorShape cursor) |
| 127 | { |
nothing calls this directly
no test coverage detected