Clarify the buttons in pagenet
authorWuzzy <Wuzzy2@mail.ru>
Sat, 08 Dec 2018 19:20:57 +0100
changeset 14391 35af3d1ccdfc
parent 14390 50c3186f05ab
child 14393 cf49fac6e88a
Clarify the buttons in pagenet
QTfrontend/ui/page/pagenet.cpp
--- a/QTfrontend/ui/page/pagenet.cpp	Sat Dec 08 19:03:57 2018 +0100
+++ b/QTfrontend/ui/page/pagenet.cpp	Sat Dec 08 19:20:57 2018 +0100
@@ -47,6 +47,7 @@
     BtnNetConnect = new QPushButton(ConnGroupBox);
     BtnNetConnect->setFont(*font14);
     BtnNetConnect->setText(QPushButton::tr("Connect"));
+    BtnNetConnect->setWhatsThis(tr("Connect to the selected server"));
     GBClayout->addWidget(BtnNetConnect, 2, 2);
 
     tvServersList = new QTableView(ConnGroupBox);
@@ -56,11 +57,13 @@
     BtnUpdateSList = new QPushButton(ConnGroupBox);
     BtnUpdateSList->setFont(*font14);
     BtnUpdateSList->setText(QPushButton::tr("Update"));
+    BtnUpdateSList->setWhatsThis(tr("Update the list of servers"));
     GBClayout->addWidget(BtnUpdateSList, 2, 0);
 
     BtnSpecifyServer = new QPushButton(ConnGroupBox);
     BtnSpecifyServer->setFont(*font14);
-    BtnSpecifyServer->setText(QPushButton::tr("Specify"));
+    BtnSpecifyServer->setText(QPushButton::tr("Specify address"));
+    BtnSpecifyServer->setWhatsThis(tr("Specify the address and port number of a known server and connect to it directly"));
     GBClayout->addWidget(BtnSpecifyServer, 2, 1);
 
     return pageLayout;
@@ -71,6 +74,7 @@
     QHBoxLayout * footerLayout = new QHBoxLayout();
 
     BtnNetSvrStart = formattedButton(QPushButton::tr("Start server"));
+    BtnNetSvrStart->setWhatsThis(tr("Start private server"));
     BtnNetSvrStart->setMinimumSize(180, 50);
     QString serverPath = bindir->absolutePath() + "/hedgewars-server";
 #ifdef Q_OS_WIN