[PATCH 2 of 6] (issue89) Add help icon to help button
Wald Commits
scm-commit at wald.intevation.org
Thu Aug 28 12:57:40 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1409223319 -7200
# Node ID 706405a2f3e8989b299c0066c17cef3598ff4e29
# Parent 62b832d0b83992c8518240408db36fd2bf26de8e
(issue89) Add help icon to help button
diff -r 62b832d0b839 -r 706405a2f3e8 ui/icons.qrc
--- a/ui/icons.qrc Thu Aug 28 12:54:28 2014 +0200
+++ b/ui/icons.qrc Thu Aug 28 12:55:19 2014 +0200
@@ -24,5 +24,6 @@
<file>img/red-circle.png</file>
<file>img/preferences-network_16.png</file>
<file>img/preferences-network_64.png</file>
+ <file>img/show-help_16.png</file>
</qresource>
</RCC>
diff -r 62b832d0b839 -r 706405a2f3e8 ui/img/show-help_16.png
Binary file ui/img/show-help_16.png has changed
diff -r 62b832d0b839 -r 706405a2f3e8 ui/mainwindow.cpp
--- a/ui/mainwindow.cpp Thu Aug 28 12:54:28 2014 +0200
+++ b/ui/mainwindow.cpp Thu Aug 28 12:55:19 2014 +0200
@@ -535,6 +535,7 @@
QHBoxLayout *helpButtonLayout = new QHBoxLayout();
QPushButton *helpButton = new QPushButton(tr("Show Help"));
+ helpButton->setIcon(QIcon(":/img/show-help_16.png"));
connect(helpButton, SIGNAL(clicked()), this, SLOT(showHelp()));
helpButtonLayout->addWidget(helpButton);
#ifdef USE_CURL
More information about the Trustbridge-commits
mailing list