| 1057 | } |
| 1058 | |
| 1059 | void RemoteViewWidget::updatePickerVisibility() const |
| 1060 | { |
| 1061 | QPointF sourceCoordinates = frame().transform().inverted().map(QPointF(m_currentMousePosition)); // for quick view, transform is needed |
| 1062 | QPoint sourceCoordinatesInt = QPoint(std::floor(sourceCoordinates.x()), std::floor(sourceCoordinates.y())); |
| 1063 | if (frame().image().rect().contains(sourceCoordinatesInt)) { |
| 1064 | m_trailingColorLabel->show(); |
| 1065 | } else { |
| 1066 | m_trailingColorLabel->hide(); |
| 1067 | } |
| 1068 | } |
| 1069 | |
| 1070 | void RemoteViewWidget::pickColor() const |
| 1071 | { |