| 508 | } |
| 509 | |
| 510 | void InputEditorView::timerEvent(QTimerEvent* event) |
| 511 | { |
| 512 | if (event->timerId() != markerTimerId) |
| 513 | return QTableView::timerEvent(event); |
| 514 | |
| 515 | this->killTimer(markerTimerId); |
| 516 | markerTimerId = 0; |
| 517 | |
| 518 | int x = columnViewportPosition(InputEditorModel::COLUMN_FRAME) + columnWidth(InputEditorModel::COLUMN_FRAME) / 2; |
| 519 | int y = rowViewportPosition(markerRow) + rowHeight(markerRow); |
| 520 | QPoint pos = QPoint(x, y); |
| 521 | |
| 522 | BalloonTip::showBalloon("", QString(inputEditorModel->getMarkerText(markerRow).c_str()), this->mapToGlobal(pos), this); |
| 523 | } |
| 524 | |
| 525 | void InputEditorView::hideEvent(QHideEvent* event) |
| 526 | { |
nothing calls this directly
no test coverage detected