39 pChatWidget = new HWChatWidget(this, gameSettings, sdli, true); |
39 pChatWidget = new HWChatWidget(this, gameSettings, sdli, 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 |
45 |
45 pGameCFG = new GameCFGWidget(this); |
46 pGameCFG = new GameCFGWidget(this); |
46 pageLayout->addWidget(pGameCFG, 0, 0); |
47 pageLayout->addWidget(pGameCFG, 0, 0); |
47 |
48 |
48 QPushButton * btnSetup = new QPushButton(this); |
49 QPushButton * btnSetup = new QPushButton(this); |
56 |
57 |
57 |
58 |
58 QHBoxLayout * bottomLayout = new QHBoxLayout; |
59 QHBoxLayout * bottomLayout = new QHBoxLayout; |
59 pageLayout->addLayout(bottomLayout, 4, 0, 1, 2); |
60 pageLayout->addLayout(bottomLayout, 4, 0, 1, 2); |
60 |
61 |
|
62 |
61 BtnBack = addButton(":/res/Exit.png", bottomLayout, 0, true); |
63 BtnBack = addButton(":/res/Exit.png", bottomLayout, 0, true); |
|
64 connect(BtnBack, SIGNAL(clicked()), this, SIGNAL(goBack())); |
|
65 |
62 |
66 |
63 leRoomName = new QLineEdit(this); |
67 leRoomName = new QLineEdit(this); |
64 leRoomName->setMaxLength(60); |
68 leRoomName->setMaxLength(60); |
65 leRoomName->setMinimumWidth(200); |
69 leRoomName->setMinimumWidth(200); |
66 leRoomName->setMaximumWidth(400); |
70 leRoomName->setMaximumWidth(400); |