MCPcopy
hub / github.com/PyQt5/PyQt / MainWindow

Class MainWindow

Demo/FramelessWindow.py:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23
24class MainWindow(QWidget):
25
26 def __init__(self, *args, **kwargs):
27 super(MainWindow, self).__init__(*args, **kwargs)
28 layout = QVBoxLayout(self, spacing=0)
29 layout.setContentsMargins(0, 0, 0, 0)
30 layout.addWidget(QPushButton('按钮', self))
31 layout.addWidget(QTextEdit(self))
32
33
34# 样式

Callers 1

FramelessWindow.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected