(self, event)
| 179 | self.layout().setContentsMargins(m, m, m, m) |
| 180 | |
| 181 | def paintEvent(self, event): |
| 182 | # 透明背景但是需要留下一个透明度用于鼠标捕获 |
| 183 | painter = QPainter(self) |
| 184 | painter.fillRect(self.rect(), QColor(255, 255, 255, 1)) |
| 185 | |
| 186 | |
| 187 | if __name__ == '__main__': |
nothing calls this directly
no outgoing calls
no test coverage detected