Изменил(а) на 'main.py'
This commit is contained in:
parent
586e881115
commit
79f326561f
2
main.py
2
main.py
@ -160,7 +160,7 @@ class AppWindow(QMainWindow):
|
|||||||
if color.isValid():
|
if color.isValid():
|
||||||
palette = QPalette()
|
palette = QPalette()
|
||||||
palette.setColor(QPalette.Button, color)
|
palette.setColor(QPalette.Button, color)
|
||||||
self.color_b.setPalette(palette)
|
self.ui.pushButton_leds_color.setPalette(palette)
|
||||||
for led in self.ui.led_array:
|
for led in self.ui.led_array:
|
||||||
led.setStyleSheet(f"background-color: {color.name()};")
|
led.setStyleSheet(f"background-color: {color.name()};")
|
||||||
for s in RGB:
|
for s in RGB:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user