MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / mouseMoveEvent

Method mouseMoveEvent

pj_plotting/widget/src/DockToolbar.cpp:111–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void 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
122void DockToolbar::enterEvent(QEnterEvent* ev) {
123 ui_->buttonFullscreen->setVisible(true);

Callers

nothing calls this directly

Calls 3

titleBarMethod · 0.80
setVisibleMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected