gui/schedule: hide vertical header

This commit is contained in:
Sebastien Bourdeauducq 2016-01-07 16:56:48 +08:00
parent 028ed72b72
commit 8778aef6a1
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ class ScheduleDock(dockarea.Dock):
QtGui.QHeaderView.ResizeToContents) QtGui.QHeaderView.ResizeToContents)
self.table.verticalHeader().setResizeMode( self.table.verticalHeader().setResizeMode(
QtGui.QHeaderView.ResizeToContents) QtGui.QHeaderView.ResizeToContents)
self.table.verticalHeader().hide()
self.addWidget(self.table) self.addWidget(self.table)
self.table.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu) self.table.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)