MCPcopy Index your code
hub / github.com/PyQt5/PyQt / createHandle

Method createHandle

QSplitter/RewriteHandle.py:76–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 print('clicked')
75
76 def createHandle(self):
77 if self.count() == 1:
78 # 这里表示第一个分割条
79 handle = SplitterHandle(self.orientation(), self)
80 handle.clicked.connect(self.onClicked)
81 return handle
82 return super(Splitter, self).createHandle()
83
84
85class SplitterWindow(QMainWindow):

Callers

nothing calls this directly

Calls 3

SplitterHandleClass · 0.85
orientationMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected