mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f571e6f066
commit
a03309a7b7
@ -33,6 +33,7 @@ class Main(MainWindow):
|
||||
|
||||
self.create_actions()
|
||||
self.create_menubar()
|
||||
self.create_toolbar()
|
||||
self.create_docks()
|
||||
|
||||
self.status_bar = self.statusBar()
|
||||
@ -63,6 +64,10 @@ class Main(MainWindow):
|
||||
f = b.addMenu(_('&File'))
|
||||
f.addAction(self.action_open_book)
|
||||
|
||||
def create_toolbar(self):
|
||||
self.global_bar = b = self.addToolBar(_('Global'))
|
||||
b.addAction(self.action_open_book)
|
||||
|
||||
def create_docks(self):
|
||||
self.file_list_dock = d = QDockWidget(_('&Files Browser'), self)
|
||||
d.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea)
|
||||
|
Loading…
x
Reference in New Issue
Block a user