Skip to content

Commit

Permalink
Add fullscreen feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMauderer committed Jan 28, 2016
1 parent 6ed4582 commit 7ca0a13
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gazer/qt_gui/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7ca0a13

Please sign in to comment.