mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
movable headers
This commit is contained in:
parent
d23b50dffe
commit
f1059f21ee
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,7 @@ class DeckModel(QAbstractTableModel):
|
|||
self.browser.mw.progress.finish()
|
||||
self.reset()
|
||||
|
||||
# fixme: merge into reset(), fix titlebar flicker
|
||||
def refresh(self):
|
||||
self.cardObjs = {}
|
||||
self.emit(SIGNAL("layoutChanged()"))
|
||||
|
@ -435,6 +436,7 @@ class Browser(QMainWindow):
|
|||
restoreHeader(hh, "editor")
|
||||
hh.setHighlightSections(False)
|
||||
hh.setMinimumSectionSize(50)
|
||||
hh.setMovable(True)
|
||||
self.setColumnSizes()
|
||||
hh.setContextMenuPolicy(Qt.CustomContextMenu)
|
||||
hh.connect(hh, SIGNAL("customContextMenuRequested(QPoint)"),
|
||||
|
|
Loading…
Reference in a new issue