From 7daa5b65564208bc0725c061134029ba5e0caa62 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Mon, 24 Aug 2020 22:36:18 -0500 Subject: [PATCH] Use horizontal layouts for buttons and detection elements, repaint device view when selecting all --- qt/OpenRGBDevicePage.cpp | 1 + qt/OpenRGBDialog2.ui | 100 +++++++++++++++++++++------------------ 2 files changed, 55 insertions(+), 46 deletions(-) diff --git a/qt/OpenRGBDevicePage.cpp b/qt/OpenRGBDevicePage.cpp index ff72adf1f..98b7e226e 100644 --- a/qt/OpenRGBDevicePage.cpp +++ b/qt/OpenRGBDevicePage.cpp @@ -1219,5 +1219,6 @@ void Ui::OpenRGBDevicePage::on_SelectAllLEDsButton_clicked() { ui->LEDBox->setCurrentIndex(0); on_LEDBox_currentIndexChanged(0); + ui->DeviceViewBox->repaint(); } } diff --git a/qt/OpenRGBDialog2.ui b/qt/OpenRGBDialog2.ui index 4220afff4..decf790fd 100644 --- a/qt/OpenRGBDialog2.ui +++ b/qt/OpenRGBDialog2.ui @@ -15,27 +15,6 @@ - - - - 24 - - - - - - - Delete Profile - - - - - - - Load Profile - - - @@ -83,32 +62,61 @@ - - - - OpenRGB is detecting devices... - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - + + + + + + Toggle LED View + + + + + + + Save Profile + + + + + + + Delete Profile + + + + + + + Load Profile + + + + + + + - - - - - - - Toggle LED View - - - - - - - Save Profile - - + + + + + + OpenRGB is detecting devices... + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + 24 + + + +