comparison ui/mainwindow.cpp @ 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 0a4f7235e759
children 013ca910589a
comparison
equal deleted inserted replaced
963:62b832d0b839 964:706405a2f3e8
533 infoCenterLayout->insertSpacing(4, 10); 533 infoCenterLayout->insertSpacing(4, 10);
534 infoCenterLayout->insertSpacing(6, 10); 534 infoCenterLayout->insertSpacing(6, 10);
535 535
536 QHBoxLayout *helpButtonLayout = new QHBoxLayout(); 536 QHBoxLayout *helpButtonLayout = new QHBoxLayout();
537 QPushButton *helpButton = new QPushButton(tr("Show Help")); 537 QPushButton *helpButton = new QPushButton(tr("Show Help"));
538 helpButton->setIcon(QIcon(":/img/show-help_16.png"));
538 connect(helpButton, SIGNAL(clicked()), this, SLOT(showHelp())); 539 connect(helpButton, SIGNAL(clicked()), this, SLOT(showHelp()));
539 helpButtonLayout->addWidget(helpButton); 540 helpButtonLayout->addWidget(helpButton);
540 #ifdef USE_CURL 541 #ifdef USE_CURL
541 QPushButton *proxySettingsButton = new QPushButton(tr("Proxy settings")); 542 QPushButton *proxySettingsButton = new QPushButton(tr("Proxy settings"));
542 proxySettingsButton->setIcon(QIcon(":/img/preferences-network_16.png")); 543 proxySettingsButton->setIcon(QIcon(":/img/preferences-network_16.png"));

http://wald.intevation.org/projects/trustbridge/