Mercurial > trustbridge
changeset 964:706405a2f3e8
(issue89) Add help icon to help button
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 28 Aug 2014 12:55:19 +0200 |
parents | 62b832d0b839 |
children | 013ca910589a |
files | ui/icons.qrc ui/img/show-help_16.png ui/mainwindow.cpp |
diffstat | 3 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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>
--- 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