Enhancement: add feature #1765 (#1812)

* Enhancement: add feature #1765

Double click replace Ctrl+C.
When Double Clicked, Copy the Screen to Clipboard.

* Enhancement: add feature #1765

Double click replace Ctrl+C.
When Double Clicked, Copy the Screen to Clipboard.
This commit is contained in:
GongHeng2017
2021-10-08 01:07:57 +08:00
committed by GitHub
parent 1ba6108474
commit c194d582bb
2 changed files with 8 additions and 0 deletions

View File

@@ -570,6 +570,10 @@ void CaptureWidget::mouseDoubleClickEvent(QMouseEvent* event)
handleToolSignal(CaptureTool::REQ_ADD_CHILD_WIDGET);
m_panel->setToolWidget(m_activeTool->configurationWidget());
}
} else {
if (m_selection->geometry().contains(event->pos())) {
copyScreenshot();
}
}
}