equal
deleted
inserted
replaced
98 pNetTeamsWidget->setAcceptOuter(true); |
98 pNetTeamsWidget->setAcceptOuter(true); |
99 pNetTeamsWidget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
99 pNetTeamsWidget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
100 pageLayout->addWidget(pNetTeamsWidget, 1, 1); |
100 pageLayout->addWidget(pNetTeamsWidget, 1, 1); |
101 |
101 |
102 // Chat |
102 // Chat |
103 |
103 |
104 chatWidget = new HWChatWidget(this, true); |
104 chatWidget = new HWChatWidget(this, true); |
105 chatWidget->setShowFollow(false); // don't show follow in nicks' context menus |
105 chatWidget->setShowFollow(false); // don't show follow in nicks' context menus |
106 chatWidget->setIgnoreListKick(true); // kick ignored players automatically |
106 chatWidget->setIgnoreListKick(true); // kick ignored players automatically |
107 chatWidget->setMinimumHeight(50); |
107 chatWidget->setMinimumHeight(50); |
108 chatWidget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum); |
108 chatWidget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum); |
112 } |
112 } |
113 |
113 |
114 QLayout * PageNetGame::footerLayoutLeftDefinition() |
114 QLayout * PageNetGame::footerLayoutLeftDefinition() |
115 { |
115 { |
116 QHBoxLayout * bottomLeftLayout = new QHBoxLayout(); |
116 QHBoxLayout * bottomLeftLayout = new QHBoxLayout(); |
117 |
117 |
118 btnSetup = addButton(":/res/Settings.png", bottomLeftLayout, 0, true); |
118 btnSetup = addButton(":/res/Settings.png", bottomLeftLayout, 0, true); |
119 btnSetup->setWhatsThis(tr("Edit game preferences")); |
119 btnSetup->setWhatsThis(tr("Edit game preferences")); |
120 |
120 |
121 return bottomLeftLayout; |
121 return bottomLeftLayout; |
122 } |
122 } |