D
D
DenisPy132017-12-07 15:38:06
Python
DenisPy13, 2017-12-07 15:38:06

How to change button color and transparency in PyQt5?

self.b1 = QPushButton(self)
self.b1.setGeometry(QtCore.QRect(3, 447, 294, 50))
self.b1.setText('RUN')
self.b1.clicked.connect(self.show_window_2)
Yes a button that needs to be made transparent or white (change color) and change color when the cursor is hovering over the button)) If you tell me, I will be grateful)) + set the image to this button))

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question