|
|
|
@ -501,7 +501,7 @@ void VideoForm::mousePressEvent(QMouseEvent *event)
|
|
|
|
qreal x = event->localPos().x() / m_videoWidget->size().width();
|
|
|
|
qreal x = event->localPos().x() / m_videoWidget->size().width();
|
|
|
|
qreal y = event->localPos().y() / m_videoWidget->size().height();
|
|
|
|
qreal y = event->localPos().y() / m_videoWidget->size().height();
|
|
|
|
QString posTip = QString(R"("pos": {"x": %1, "y": %2})").arg(x).arg(y);
|
|
|
|
QString posTip = QString(R"("pos": {"x": %1, "y": %2})").arg(x).arg(y);
|
|
|
|
qInfo(posTip.toStdString().c_str());
|
|
|
|
qInfo() << posTip.toStdString().c_str();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (event->button() == Qt::LeftButton) {
|
|
|
|
if (event->button() == Qt::LeftButton) {
|
|
|
|
|