Пример #1
0
 def sizeHint(self):
     """we never want a horizontal scrollbar for player names,
     we always want to see them in full"""
     return QSize(self.__col0Width(), QTreeView.sizeHint(self).height())
Пример #2
0
 def sizeHint(self):
     """we never want a horizontal scrollbar for player names,
     we always want to see them in full"""
     return QSize(self.__col0Width(), QTreeView.sizeHint(self).height())