Mercurial > trustbridge
diff ui/mainwindow.cpp @ 673:e8bc1215904e
(UI) Changed some icons.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Fri, 27 Jun 2014 11:51:53 +0200 |
parents | 7147550ee15d |
children | 69def231f5ac |
line wrap: on
line diff
--- a/ui/mainwindow.cpp Fri Jun 27 11:35:22 2014 +0200 +++ b/ui/mainwindow.cpp Fri Jun 27 11:51:53 2014 +0200 @@ -461,38 +461,38 @@ QToolButton *updatesButton = new QToolButton; updatesButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); updatesButton->setIcon(QIcon(":/img/view-refresh.png")); - updatesButton->setIconSize(QSize(32, 32)); + updatesButton->setIconSize(QSize(40, 40)); updatesButton->setText(tr("Updates")); updatesButton->setFixedWidth(120); - updatesButton->setFixedHeight(75); + updatesButton->setFixedHeight(80); updatesButton->setCheckable(true); updatesButton->setChecked(true); QToolButton *allInstallButton = new QToolButton; allInstallButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); allInstallButton->setIcon(QIcon(":/img/document-encrypt.png")); - allInstallButton->setIconSize(QSize(32, 32)); + allInstallButton->setIconSize(QSize(40, 40)); allInstallButton->setText(tr("Trusted\ncertificates")); allInstallButton->setFixedWidth(120); - allInstallButton->setFixedHeight(75); + allInstallButton->setFixedHeight(80); allInstallButton->setCheckable(true); QToolButton *allRemoveButton = new QToolButton; allRemoveButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); - allRemoveButton->setIcon(QIcon(":/img/task-attempt.png")); - allRemoveButton->setIconSize(QSize(32, 32)); + allRemoveButton->setIcon(QIcon(":/img/dialog-warning.png")); + allRemoveButton->setIconSize(QSize(40, 40)); allRemoveButton->setText(tr("Revoked\ncertificates")); allRemoveButton->setFixedWidth(120); - allRemoveButton->setFixedHeight(75); + allRemoveButton->setFixedHeight(80); allRemoveButton->setCheckable(true); QToolButton *infoButton = new QToolButton; infoButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); infoButton->setIcon(QIcon(":/img/dialog-information.png")); - infoButton->setIconSize(QSize(32, 32)); + infoButton->setIconSize(QSize(40, 40)); infoButton->setText(tr("Information\nand help")); infoButton->setFixedWidth(120); - infoButton->setFixedHeight(75); + infoButton->setFixedHeight(80); infoButton->setCheckable(true); mButtonGroup->addButton(updatesButton); @@ -548,9 +548,9 @@ updatesHeaderTextLayout->addWidget(updatesTip); QPushButton *searchUpdates = new QPushButton(tr("Check for updates")); - searchUpdates->setIcon(QIcon(":/img/system-search.png")); + searchUpdates->setIcon(QIcon(":/img/edit-find.png")); QPushButton *quitButton = new QPushButton(tr("Quit without saving")); - quitButton->setIcon(QIcon(":/img/system-shutdown.png")); + quitButton->setIcon(QIcon(":/img/application-exit.png")); QPushButton *installButton = new QPushButton(tr("Install updates")); #ifdef Q_OS_WIN if (is_admin()) { @@ -558,7 +558,7 @@ installButton->setIcon(uacShield); } #else - installButton->setIcon(QIcon(":/img/edit-redo.png")); + installButton->setIcon(QIcon(":/img/view-refresh.png")); #endif connect(quitButton, SIGNAL(clicked()), this, SLOT(closeApp())); connect(installButton, SIGNAL(clicked()), this, SLOT(checkAndInstallCerts()));