| 998 | } |
| 999 | |
| 1000 | void MainWindow::raiseContainingDock(QWidget *widget) { |
| 1001 | QWidget *dock = findSelfOrParent<QDockWidget*>(widget); |
| 1002 | if (dock != Q_NULLPTR) { |
| 1003 | if (m_uiEditMode) { |
| 1004 | dock->show(); |
| 1005 | } |
| 1006 | dock->activateWindow(); |
| 1007 | dock->raise(); |
| 1008 | } |
| 1009 | } |
| 1010 | |
| 1011 | void MainWindow::mouseDoubleClickEvent(QMouseEvent *event) { |
| 1012 | if (!childAt(event->pos())) { |
nothing calls this directly
no outgoing calls
no test coverage detected