Mercurial > trustbridge
comparison ui/mainwindow.cpp @ 996:29783ef4da62
(UI) Added space in QPushButton on about page.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Mon, 01 Sep 2014 15:05:48 +0200 |
parents | da6ce90bef17 |
children | 405c97ca4ab0 |
comparison
equal
deleted
inserted
replaced
995:da6ce90bef17 | 996:29783ef4da62 |
---|---|
533 infoCenterLayout->insertSpacing(2, 10); | 533 infoCenterLayout->insertSpacing(2, 10); |
534 infoCenterLayout->insertSpacing(4, 10); | 534 infoCenterLayout->insertSpacing(4, 10); |
535 infoCenterLayout->insertSpacing(6, 10); | 535 infoCenterLayout->insertSpacing(6, 10); |
536 | 536 |
537 QHBoxLayout *helpButtonLayout = new QHBoxLayout(); | 537 QHBoxLayout *helpButtonLayout = new QHBoxLayout(); |
538 QPushButton *helpButton = new QPushButton(tr("Show Help")); | 538 QPushButton *helpButton = new QPushButton(" " + tr("Show Help")); |
539 helpButton->setIcon(QIcon(":/img/show-help_16.png")); | 539 helpButton->setIcon(QIcon(":/img/show-help_16.png")); |
540 connect(helpButton, SIGNAL(clicked()), this, SLOT(showHelp())); | 540 connect(helpButton, SIGNAL(clicked()), this, SLOT(showHelp())); |
541 helpButtonLayout->addWidget(helpButton); | 541 helpButtonLayout->addWidget(helpButton); |
542 #ifdef USE_CURL | 542 #ifdef USE_CURL |
543 QPushButton *proxySettingsButton = new QPushButton(tr("Proxy settings")); | 543 QPushButton *proxySettingsButton = new QPushButton(" " + tr("Proxy settings")); |
544 proxySettingsButton->setIcon(QIcon(":/img/preferences-network_16.png")); | 544 proxySettingsButton->setIcon(QIcon(":/img/preferences-network_16.png")); |
545 connect(proxySettingsButton, SIGNAL(clicked()), this, SLOT(showProxySettings())); | 545 connect(proxySettingsButton, SIGNAL(clicked()), this, SLOT(showProxySettings())); |
546 helpButtonLayout->addWidget(proxySettingsButton); | 546 helpButtonLayout->addWidget(proxySettingsButton); |
547 #endif | 547 #endif |
548 helpButtonLayout->addStretch(); | 548 helpButtonLayout->addStretch(); |