mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 23:13:42 +02:00
...
This commit is contained in:
parent
603e486e8c
commit
b1e3fab82d
1 changed files with 10 additions and 0 deletions
|
|
@ -89,6 +89,16 @@ def __init__(self, parent):
|
|||
b.clicked.connect(self.delete_bookmark)
|
||||
l.addWidget(b, l.rowCount() - 1, 1)
|
||||
|
||||
self.button_delete = b = QPushButton(_('Sort &name'), self)
|
||||
b.setToolTip(_('Sort bookmarks by name'))
|
||||
b.clicked.connect(self.sort_by_name)
|
||||
l.addWidget(b)
|
||||
|
||||
self.button_delete = b = QPushButton(_('Sort &position'), self)
|
||||
b.setToolTip(_('Sort bookmarks by position in book'))
|
||||
b.clicked.connect(self.sort_by_pos)
|
||||
l.addWidget(b, l.rowCount() - 1, 1)
|
||||
|
||||
self.button_export = b = QPushButton(QIcon(I('back.png')), _('E&xport'), self)
|
||||
b.clicked.connect(self.export_bookmarks)
|
||||
l.addWidget(b)
|
||||
|
|
|
|||
Loading…
Reference in a new issue