diff options
author | Arno <arno@disconnect.de> | 2018-11-24 04:18:20 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-11-24 04:18:20 +0100 |
commit | ab787e997c927bf8e2684b2e1ac667a57f225102 (patch) | |
tree | 2f1998924f19535bccbaec5d59ae8e753ee29ae3 /randomtab.cpp | |
parent | 92ada0efad9f0b0a3263e4245cfd1441f4b9f7a9 (diff) | |
download | SheMov-ab787e997c927bf8e2684b2e1ac667a57f225102.tar.gz SheMov-ab787e997c927bf8e2684b2e1ac667a57f225102.tar.bz2 SheMov-ab787e997c927bf8e2684b2e1ac667a57f225102.zip |
Dark theme GUI changes
Add icons better suited for dark themes and don't draw an ellipse around
the letter when calling Helper::icon and use the theme's text color to
better match the desktop theme.
Just be a good tenant and respect the user's choices where applicable.
Diffstat (limited to 'randomtab.cpp')
-rw-r--r-- | randomtab.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/randomtab.cpp b/randomtab.cpp index 0b5f8d9..292ae98 100644 --- a/randomtab.cpp +++ b/randomtab.cpp @@ -101,9 +101,9 @@ void RandomTab::setupGui(){ connect(refreshB, &QPushButton::clicked, this, &RandomTab::refreshComboboxes); QPushButton *clearB = new QPushButton(QIcon(":/delete.png"), tr("Clear")); connect(clearB, &QPushButton::clicked, this, &RandomTab::clearAll); - QPushButton *goB = new QPushButton(QIcon(":/huge_bra.png"), tr("Go!")); + QPushButton *goB = new QPushButton(QIcon(":/huge_bra_light.png"), tr("Go!")); connect(goB, &QPushButton::clicked, this, &RandomTab::select); - QAction *goA = new QAction(QIcon(":/huge_bra.png"), tr("Go!"), this); + QAction *goA = new QAction(QIcon(":/huge_bra_light.png"), tr("Go!"), this); connect(goA, &QAction::triggered, this, &RandomTab::select); QGridLayout *actionL = new QGridLayout; actionL->addWidget(clearB, 0, 0); @@ -377,7 +377,7 @@ void RandomTab::select(){ fData << item; } fData[0]->setText(randomFilesQ.value(0).toString()); - fData[0]->setIcon(QIcon(":/huge_bra.png")); + fData[0]->setIcon(QIcon(":/huge_bra_light.png")); fData[1]->setTextAlignment(Qt::AlignRight | Qt::AlignVCenter); qint64 dbSize = randomFilesQ.value(1).toLongLong(); double mbSize = dbSize / 1024.0 / 1024.0; |