Skip to content

Commit

Permalink
added fullscreen option to context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ozmartian committed Aug 11, 2017
1 parent 4643917 commit f68011f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vidcutter/videocutter.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@ def initActions(self) -> None:
statusTip='View shortcut key bindings')
self.settingsAction = QAction(self.settingsIcon, 'Settings', self, triggered=self.showSettings,
statusTip='Configure application settings')
self.fullscreenAction = QAction(self.fullscreenIcon, 'Toggle fullscreen', self, triggered=self.toggleFullscreen,
statusTip='Switch to fullscreen video')

def initToolbar(self) -> None:
self.toolbar.addAction(self.openAction)
Expand All @@ -552,6 +554,7 @@ def initMenus(self) -> None:
self.appMenu.addSeparator()
self.appMenu.addAction(self.settingsAction)
self.appMenu.addSeparator()
self.appMenu.addAction(self.fullscreenAction)
self.appMenu.addAction(self.mediaInfoAction)
self.appMenu.addAction(self.keyRefAction)
self.appMenu.addSeparator()
Expand Down

0 comments on commit f68011f

Please sign in to comment.