update();
}
-void Header::leaveEvent(QEvent*)
-{
- mouse_point_ = QPoint(-1, -1);
- update();
-}
-
void Header::contextMenuEvent(QContextMenuEvent *event)
{
const shared_ptr<RowItem> r = get_mouse_over_item(mouse_point_);
void mouseMoveEvent(QMouseEvent *event);
- void leaveEvent(QEvent *event);
-
void contextMenuEvent(QContextMenuEvent *event);
void keyPressEvent(QKeyEvent *e);
p->show();
}
+void MarginWidget::leaveEvent(QEvent*)
+{
+ mouse_point_ = QPoint(-1, -1);
+ update();
+}
+
void MarginWidget::clear_selection()
{
}
*/
void show_popup(const std::shared_ptr<ViewItem> &item);
+private:
+ void leaveEvent(QEvent *event);
+
public Q_SLOTS:
virtual void clear_selection();
i->drag_release();
}
-void Ruler::leaveEvent(QEvent*)
-{
- mouse_point_ = QPoint(-1, -1);
- update();
-}
-
void Ruler::mouseDoubleClickEvent(QMouseEvent *e)
{
view_.add_flag(view_.offset() + ((double)e->x() + 0.5) * view_.scale());
void mouseMoveEvent(QMouseEvent *e);
void mousePressEvent(QMouseEvent *e);
void mouseReleaseEvent(QMouseEvent *);
- void leaveEvent(QEvent*);
void mouseDoubleClickEvent(QMouseEvent *e);