add wiki link for the scheme handling 0.9.19
authorkoda
Sat, 23 Mar 2013 18:42:23 +0100
branch0.9.19
changeset 8785 b26bc69022f7
parent 8782 9f00cbc539e7
child 8788 b6badc953945
add wiki link for the scheme handling
QTfrontend/ui/page/pagenetserver.cpp
QTfrontend/ui/page/pagenetserver.h
--- a/QTfrontend/ui/page/pagenetserver.cpp	Sat Mar 23 18:26:02 2013 +0100
+++ b/QTfrontend/ui/page/pagenetserver.cpp	Sat Mar 23 18:42:23 2013 +0100
@@ -79,6 +79,16 @@
     BtnShare->setWhatsThis(QPushButton::tr("Click to copy your unique server URL in your clipboard. Send this link to your friends ands and they will be able to join you."));
     gbLayout->addWidget(BtnShare, 2, 1);
 
+    labelURL = new QLabel(gb);
+    labelURL->setText(
+              "<style type=\"text/css\"> a { color: #ffcc00; } </style>"
+              "<div align=\"center\">"
+              "<a href=\"https://code.google.com/p/hedgewars/wiki/HWPlaySchemeSyntax\">" +
+              tr("Click here for details") +
+              "</a></div>");
+    labelURL->setOpenExternalLinks(true);
+    gbLayout->addWidget(labelURL, 3, 1);
+
     return pageLayout;
 }
 
--- a/QTfrontend/ui/page/pagenetserver.h	Sat Mar 23 18:26:02 2013 +0100
+++ b/QTfrontend/ui/page/pagenetserver.h	Sat Mar 23 18:42:23 2013 +0100
@@ -32,8 +32,9 @@
         QPushButton *BtnDefault;
         QPushButton *BtnShare;
         QLabel *labelSD;
+        QLabel *labelPort;
+        QLabel *labelURL;
         QLineEdit *leServerDescr;
-        QLabel *labelPort;
         QSpinBox *sbPort;
 
     protected: