|
|
|
@ -165,13 +165,9 @@ DevicePanel::DevicePanel(SettingsWindow *parent) : ListWidget(parent) { |
|
|
|
|
QObject::connect(poweroff_btn, &QPushButton::clicked, this, &DevicePanel::poweroff); |
|
|
|
|
|
|
|
|
|
setStyleSheet(R"( |
|
|
|
|
QPushButton { |
|
|
|
|
height: 120px; |
|
|
|
|
border-radius: 15px; |
|
|
|
|
} |
|
|
|
|
#reboot_btn { background-color: #393939; } |
|
|
|
|
#reboot_btn { height: 120px; border-radius: 15px; background-color: #393939; } |
|
|
|
|
#reboot_btn:pressed { background-color: #4a4a4a; } |
|
|
|
|
#poweroff_btn { background-color: #E22C2C; } |
|
|
|
|
#poweroff_btn { height: 120px; border-radius: 15px; background-color: #E22C2C; } |
|
|
|
|
#poweroff_btn:pressed { background-color: #FF2424; } |
|
|
|
|
)"); |
|
|
|
|
addItem(power_layout); |
|
|
|
|