Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.color_button16 = QtWidgets.QPushButton(self.centralwidget)
- self.gridLayout.addWidget(self.color_button16, 3, 0)
- self.color_button16.setMinimumSize(30, 30)
- self.color_button16.setMaximumSize(30, 30)
- self.color_button16.setStyleSheet("background-color :khaki")
- self.color_button16.clicked.connect(self.setcolor15)
- def setcolor15(self):
- self.textEdit.setStyleSheet("background-color :khaki")
- MainWindow.statusBar().showMessage('Zmieniono kolor.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement