Exemple #1
0
 def sizeHint(self):
     #D(ALL, "ruler height: %d" % self.pane().header_height())
     return QtCore.QSize(self.pane().width_hint(),
                         self.pane().header_height())
Exemple #2
0
 def sizeHint(self):
     return QtCore.QSize(600, 150)
Exemple #3
0
 def sizeHint(self):
     return QtCore.QSize(0, self._pane.footer_height())
Exemple #4
0
 def sizeHint(self):
     return QtCore.QSize(100, 100)
Exemple #5
0
 def sizeHint(self):
     """ provides hint for widget size, usually caled during resizeEvent """
     # ask this container pane for calculating width & height of data
     return QtCore.QSize(self.pane().width_hint(),
                         self.pane().height_hint())
Exemple #6
0
 def sizeHint(self):
     return QtCore.QSize(800, 600)