From 07bf6de093d2e9614f60b50e8fa193dd5142b0bc Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Wed, 26 Feb 2025 18:45:17 -0500 Subject: [PATCH] chore: add icon credit to about box --- src/apps/deskflow-gui/dialogs/AboutDialog.cpp | 2 +- src/apps/deskflow-gui/dialogs/AboutDialog.ui | 130 ++++++++++++------ 2 files changed, 87 insertions(+), 45 deletions(-) diff --git a/src/apps/deskflow-gui/dialogs/AboutDialog.cpp b/src/apps/deskflow-gui/dialogs/AboutDialog.cpp index da8ed20dd..fff4e4bc3 100644 --- a/src/apps/deskflow-gui/dialogs/AboutDialog.cpp +++ b/src/apps/deskflow-gui/dialogs/AboutDialog.cpp @@ -49,8 +49,8 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), ui{std::make_unique ui->btnOk->setDefault(true); connect(ui->btnOk, &QPushButton::clicked, this, [this] { close(); }); + setFixedWidth(600); adjustSize(); - resize(QSize(parent->width() * 0.65, height())); setMinimumSize(size()); } diff --git a/src/apps/deskflow-gui/dialogs/AboutDialog.ui b/src/apps/deskflow-gui/dialogs/AboutDialog.ui index 4d7a63b82..b1acb92c0 100644 --- a/src/apps/deskflow-gui/dialogs/AboutDialog.ui +++ b/src/apps/deskflow-gui/dialogs/AboutDialog.ui @@ -9,7 +9,7 @@ 0 0 - 493 + 600 475 @@ -207,7 +207,7 @@ p, li { white-space: pre-wrap; } Copy version info - + :/icons/64x64/copy-dark.png:/icons/64x64/copy-dark.png @@ -306,49 +306,93 @@ p, li { white-space: pre-wrap; } - - - - 0 - 0 - + + + QAbstractScrollArea::SizeAdjustPolicy::AdjustIgnored - - Important developers + + true - - false - - - - 6 + + + + 0 + 0 + 580 + 157 + - - 6 + + + 0 + 0 + - - 6 - - - 6 - - - - - - 0 - 0 - - - - lblImportantDevs - - - true - - - - + + + 3 + + + 3 + + + 3 + + + 3 + + + + + <html><head/><body><p>Icons from <a href="https://develop.kde.org/frameworks/breeze-icons/"><span style=" text-decoration: underline; color:#007af4;">KDE Breeze</span></a></p></body></html> + + + + + + + + 0 + 0 + + + + Important Developers + + + + 3 + + + 3 + + + 3 + + + 3 + + + + + + 0 + 0 + + + + lblImportantDevs + + + true + + + + + + + + @@ -375,8 +419,6 @@ p, li { white-space: pre-wrap; } - - - +