MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / mousePressEvent

Method mousePressEvent

gui/qt/lcdwidget.cpp:138–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void LCDWidget::mousePressEvent(QMouseEvent *e) {
139 if (e->button() == Qt::LeftButton && (control.ports[5] & 1 << 4)) {
140 m_screenshotDrag = true;
141 e->accept();
142 } else {
143 e->ignore();
144 }
145}
146
147void LCDWidget::mouseMoveEvent(QMouseEvent *e) {
148 if (m_screenshotDrag)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected