mirror of
https://github.com/wassname/sloth.git
synced 2026-07-18 12:40:43 +08:00
added more buttons
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ class MainWindow(QMainWindow):
|
||||
QMainWindow.__init__(self, parent)
|
||||
|
||||
vlayout = QVBoxLayout()
|
||||
for i in range(5):
|
||||
for i in range(8):
|
||||
button = QPushButton("TestButton %d" % i)
|
||||
button.clicked.connect(self.clickedButton)
|
||||
vlayout.addWidget(button)
|
||||
|
||||
Reference in New Issue
Block a user