diff --git a/gazer/qt_gui/mainwindow.py b/gazer/qt_gui/mainwindow.py index 3ae3774..a5f73dd 100644 --- a/gazer/qt_gui/mainwindow.py +++ b/gazer/qt_gui/mainwindow.py @@ -143,9 +143,16 @@ def __init__(self, tracking_apis=None): ) self.menuBar().addMenu(help_menu) + # Add handlers for fullscreen mode + self._fullscreen = False + self.setWindowTitle("Gazer") self.resize(800, 600) + def mouseDoubleClickEvent(self, *args, **kwargs): + super(GazerMainWindow, self).mouseDoubleClickEvent(*args, **kwargs) + self.toggle_fullscreen() + def _make_tracker_select_menu(self): self.select_tracker_action_group = QActionGroup(self) self.select_tracker_action_group.setExclusive(True)