| 109 | } |
| 110 | |
| 111 | void DockToolbar::mouseMoveEvent(QMouseEvent* ev) { |
| 112 | ui_->buttonFullscreen->setVisible(true); |
| 113 | ui_->buttonSplitHorizontal->setVisible(!fullscreen_mode_); |
| 114 | ui_->buttonSplitVertical->setVisible(!fullscreen_mode_); |
| 115 | if (auto* area = parent_dock_->dockAreaWidget()) { |
| 116 | QCoreApplication::sendEvent(area->titleBar(), ev); |
| 117 | } |
| 118 | ev->accept(); |
| 119 | QWidget::mouseMoveEvent(ev); |
| 120 | } |
| 121 | |
| 122 | void DockToolbar::enterEvent(QEnterEvent* ev) { |
| 123 | ui_->buttonFullscreen->setVisible(true); |
nothing calls this directly
no test coverage detected