void zoom_fit(bool gui_state);
- void zoom_one_to_one();
-
/**
* Sets the scale and offset.
* @param scale The new view scale in seconds per pixel.
bool eventFilter(QObject *object, QEvent *event);
+ virtual void contextMenuEvent(QContextMenuEvent *event);
+
void resizeEvent(QResizeEvent *event);
void update_hover_point();