[PATCH] (UI) Changed some icons
Wald Commits
scm-commit at wald.intevation.org
Fri Jun 27 11:54:39 CEST 2014
# HG changeset patch
# User Emanuel Schuetze <emanuel at intevation.de>
# 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 @@
<file>img/document-close.png</file>
<file>img/view-refresh.png</file>
<file>img/document-encrypt.png</file>
- <file>img/task-attempt.png</file>
+ <file>img/dialog-warning.png</file>
<file>img/dialog-information.png</file>
- <file>img/system-search.png</file>
- <file>img/system-shutdown.png</file>
- <file>img/edit-redo.png</file>
+ <file>img/application-exit.png</file>
+ <file>img/edit-find.png</file>
<file>img/security-low.png</file>
<file>img/security-medium.png</file>
<file>img/security-high.png</file>
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()));
More information about the Trustbridge-commits
mailing list