Merge branch 'master' of https://github.com/oed/qutebrowser into oed-master
This commit is contained in:
commit
ad6065605a
@ -951,6 +951,7 @@ KEY_DATA = collections.OrderedDict([
|
|||||||
('forward', ['L']),
|
('forward', ['L']),
|
||||||
('forward -t', ['tl']),
|
('forward -t', ['tl']),
|
||||||
('forward -w', ['wl']),
|
('forward -w', ['wl']),
|
||||||
|
('fullscreen', ['<F11>']),
|
||||||
('hint', ['f']),
|
('hint', ['f']),
|
||||||
('hint all tab', ['F']),
|
('hint all tab', ['F']),
|
||||||
('hint all window', ['wf']),
|
('hint all window', ['wf']),
|
||||||
|
@ -305,6 +305,14 @@ class MainWindow(QWidget):
|
|||||||
"""
|
"""
|
||||||
super().close()
|
super().close()
|
||||||
|
|
||||||
|
@cmdutils.register(instance='main-window', scope='window')
|
||||||
|
def fullscreen(self):
|
||||||
|
"""Toggle fullscreen mode."""
|
||||||
|
if self.isFullScreen():
|
||||||
|
self.showNormal()
|
||||||
|
else:
|
||||||
|
self.showFullScreen()
|
||||||
|
|
||||||
def resizeEvent(self, e):
|
def resizeEvent(self, e):
|
||||||
"""Extend resizewindow's resizeEvent to adjust completion.
|
"""Extend resizewindow's resizeEvent to adjust completion.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user