34 //pageLayout->setSpacing(1); |
34 //pageLayout->setSpacing(1); |
35 pageLayout->setColumnStretch(0, 50); |
35 pageLayout->setColumnStretch(0, 50); |
36 pageLayout->setColumnStretch(1, 50); |
36 pageLayout->setColumnStretch(1, 50); |
37 |
37 |
38 // chatwidget |
38 // chatwidget |
39 pChatWidget = new HWChatWidget(this, m_gameSettings, m_sdli, true); |
39 pChatWidget = new HWChatWidget(this, m_gameSettings, true); |
40 pChatWidget->setShowReady(true); // show status bulbs by default |
40 pChatWidget->setShowReady(true); // show status bulbs by default |
41 pChatWidget->setShowFollow(false); // don't show follow in nicks' context menus |
41 pChatWidget->setShowFollow(false); // don't show follow in nicks' context menus |
42 pageLayout->addWidget(pChatWidget, 2, 0, 1, 2); |
42 pageLayout->addWidget(pChatWidget, 2, 0, 1, 2); |
43 pageLayout->setRowStretch(1, 100); |
43 pageLayout->setRowStretch(1, 100); |
44 pageLayout->setRowStretch(2, 100); |
44 pageLayout->setRowStretch(2, 100); |
91 connect(btnSetup, SIGNAL(clicked()), this, SIGNAL(SetupClicked())); |
91 connect(btnSetup, SIGNAL(clicked()), this, SIGNAL(SetupClicked())); |
92 |
92 |
93 connect(BtnUpdate, SIGNAL(clicked()), this, SLOT(onUpdateClick())); |
93 connect(BtnUpdate, SIGNAL(clicked()), this, SLOT(onUpdateClick())); |
94 } |
94 } |
95 |
95 |
96 PageNetGame::PageNetGame(QWidget* parent, QSettings * gameSettings, SDLInteraction * sdli) : AbstractPage(parent) |
96 PageNetGame::PageNetGame(QWidget* parent, QSettings * gameSettings) : AbstractPage(parent) |
97 { |
97 { |
98 m_gameSettings = gameSettings; |
98 m_gameSettings = gameSettings; |
99 m_sdli = sdli; |
|
100 |
99 |
101 initPage(); |
100 initPage(); |
102 |
101 |
103 QMenu * menu = new QMenu(BtnMaster); |
102 QMenu * menu = new QMenu(BtnMaster); |
104 |
103 |