(self)
| 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 | |
| 85 | class SplitterWindow(QMainWindow): |
nothing calls this directly
no test coverage detected