59 //netLayoutWidget->setStyleSheet("background: green;"); |
59 //netLayoutWidget->setStyleSheet("background: green;"); |
60 //netLayoutWidget->setFixedSize(314, 260); |
60 //netLayoutWidget->setFixedSize(314, 260); |
61 netLayout->setSpacing(20); |
61 netLayout->setSpacing(20); |
62 netLayout->setAlignment(Qt::AlignHCenter); |
62 netLayout->setAlignment(Qt::AlignHCenter); |
63 |
63 |
64 BtnNetLocal = addButton("Play local network game", (QBoxLayout*)netLayout, 0, false); |
64 BtnNetLocal = addButton(tr("Play local network game"), (QBoxLayout*)netLayout, 0, false); |
65 BtnNetLocal->setWhatsThis(tr("Play a game across a local area network")); |
65 BtnNetLocal->setWhatsThis(tr("Play a game across a local area network")); |
66 BtnNetLocal->setFixedSize(BtnNet->width() - 50, 60); |
66 BtnNetLocal->setFixedSize(BtnNet->width() - 50, 60); |
67 BtnNetLocal->setVisible(false); |
67 BtnNetLocal->setVisible(false); |
68 |
68 |
69 BtnNetOfficial = addButton("Play official network game", (QBoxLayout*)netLayout, 0, false); |
69 BtnNetOfficial = addButton(tr("Play official network game"), (QBoxLayout*)netLayout, 0, false); |
70 BtnNetOfficial->setWhatsThis(tr("Play a game on an official server")); |
70 BtnNetOfficial->setWhatsThis(tr("Play a game on an official server")); |
71 BtnNetOfficial->setFixedSize(BtnNet->width() - 50, 60); |
71 BtnNetOfficial->setFixedSize(BtnNet->width() - 50, 60); |
72 BtnNetOfficial->setVisible(false); |
72 BtnNetOfficial->setVisible(false); |
73 |
73 |
74 // button order matters for overlapping (what's on top and what isn't) |
74 // button order matters for overlapping (what's on top and what isn't) |