MCPcopy Create free account
hub / github.com/KDAB/KDChart / MyHeaderView

Class MyHeaderView

python/examples/headers/main.py:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44# pylint: disable=too-few-public-methods
45class MyHeaderView(QHeaderView):
46 def __init__(self, parent=None):
47 super().__init__(Qt.Horizontal, parent)
48
49 def sizeHint(self):
50 s = super().sizeHint()
51 s.setHeight(s.height() * 3)
52 return s
53
54
55if __name__ == '__main__':

Callers 1

main.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected