# HG changeset patch # User Emanuel Schuetze # Date 1403862713 -7200 # Node ID e8bc1215904eb9f8a8e6631d6eb5b4a803a88926 # Parent 376978e9cc61c532c259572934711383f1bc8188 (UI) Changed some icons. diff -r 376978e9cc61 -r e8bc1215904e ui/icons.qrc --- a/ui/icons.qrc Fri Jun 27 11:35:22 2014 +0200 +++ b/ui/icons.qrc Fri Jun 27 11:51:53 2014 +0200 @@ -11,11 +11,10 @@ img/document-close.png img/view-refresh.png img/document-encrypt.png - img/task-attempt.png + img/dialog-warning.png img/dialog-information.png - img/system-search.png - img/system-shutdown.png - img/edit-redo.png + img/application-exit.png + img/edit-find.png img/security-low.png img/security-medium.png img/security-high.png diff -r 376978e9cc61 -r e8bc1215904e ui/img/application-exit.png Binary file ui/img/application-exit.png has changed diff -r 376978e9cc61 -r e8bc1215904e ui/img/dialog-warning.png Binary file ui/img/dialog-warning.png has changed diff -r 376978e9cc61 -r e8bc1215904e ui/img/edit-find.png Binary file ui/img/edit-find.png has changed diff -r 376978e9cc61 -r e8bc1215904e ui/img/edit-redo.png Binary file ui/img/edit-redo.png has changed diff -r 376978e9cc61 -r e8bc1215904e ui/img/system-search.png Binary file ui/img/system-search.png has changed diff -r 376978e9cc61 -r e8bc1215904e ui/img/system-shutdown.png Binary file ui/img/system-shutdown.png has changed diff -r 376978e9cc61 -r e8bc1215904e ui/img/task-attempt.png Binary file ui/img/task-attempt.png has changed diff -r 376978e9cc61 -r e8bc1215904e ui/mainwindow.cpp --- 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()));