QTfrontend/ui/page/pagenetserver.cpp
branch0.9.19
changeset 8785 b26bc69022f7
parent 8749 1b9f026e9fc6
child 9080 9b42757d7e71
equal deleted inserted replaced
8782:9f00cbc539e7 8785:b26bc69022f7
    77     BtnShare = new QPushButton(gb);
    77     BtnShare = new QPushButton(gb);
    78     BtnShare->setText(QPushButton::tr("Invite your friends to your server in just 1 click!"));
    78     BtnShare->setText(QPushButton::tr("Invite your friends to your server in just 1 click!"));
    79     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."));
    79     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."));
    80     gbLayout->addWidget(BtnShare, 2, 1);
    80     gbLayout->addWidget(BtnShare, 2, 1);
    81 
    81 
       
    82     labelURL = new QLabel(gb);
       
    83     labelURL->setText(
       
    84               "<style type=\"text/css\"> a { color: #ffcc00; } </style>"
       
    85               "<div align=\"center\">"
       
    86               "<a href=\"https://code.google.com/p/hedgewars/wiki/HWPlaySchemeSyntax\">" +
       
    87               tr("Click here for details") +
       
    88               "</a></div>");
       
    89     labelURL->setOpenExternalLinks(true);
       
    90     gbLayout->addWidget(labelURL, 3, 1);
       
    91 
    82     return pageLayout;
    92     return pageLayout;
    83 }
    93 }
    84 
    94 
    85 QLayout * PageNetServer::footerLayoutDefinition()
    95 QLayout * PageNetServer::footerLayoutDefinition()
    86 {
    96 {