# HG changeset patch
# User displacer
# Date 1199720653 0
# Node ID 32a546d1eb3e69dceaf642214c7561e84126f5f2
# Parent 07787e748831c061eb597f26c932f735a6f3c4fa
prepare weapons combo
diff -r 07787e748831 -r 32a546d1eb3e QTfrontend/pages.cpp
--- a/QTfrontend/pages.cpp Mon Jan 07 13:09:10 2008 +0000
+++ b/QTfrontend/pages.cpp Mon Jan 07 15:44:13 2008 +0000
@@ -308,7 +308,7 @@
AGGroupBox = new QGroupBox(this);
AGGroupBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
AGGroupBox->setTitle(QGroupBox::tr("Audio/Graphic options"));
- pageLayout->addWidget(AGGroupBox, 1, 1);
+ pageLayout->addWidget(AGGroupBox, 2, 1);
QVBoxLayout * GBAlayout = new QVBoxLayout(AGGroupBox);
QHBoxLayout * GBAreslayout = new QHBoxLayout(0);
@@ -351,12 +351,21 @@
BtnBack = addButton("Back", pageLayout, 4, 0);
- WeaponsButt = addButton("Weapons scheme", pageLayout, 1, 0);
+ QGroupBox* groupWeapons = new QGroupBox(this);
+ groupWeapons->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
+ groupWeapons->setTitle(QGroupBox::tr("Weapons"));
+ pageLayout->addWidget(groupWeapons, 1, 0, 1, 3);
+ QGridLayout * WeaponsLayout = new QGridLayout(groupWeapons);
+
+ WeaponsButt = addButton("Weapons scheme", WeaponsLayout, 0, 0);
+ WeaponsName = new QComboBox(this);
+ WeaponsLayout->addWidget(WeaponsName, 0, 1);
+ WeaponEdit = addButton("Edit", WeaponsLayout, 0, 2);
NNGroupBox = new QGroupBox(this);
NNGroupBox->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
NNGroupBox->setTitle(QGroupBox::tr("Net options"));
- pageLayout->addWidget(NNGroupBox, 1, 2);
+ pageLayout->addWidget(NNGroupBox, 2, 2);
QGridLayout * GBNlayout = new QGridLayout(NNGroupBox);
labelNN = new QLabel(NNGroupBox);
diff -r 07787e748831 -r 32a546d1eb3e QTfrontend/pages.h
--- a/QTfrontend/pages.h Mon Jan 07 13:09:10 2008 +0000
+++ b/QTfrontend/pages.h Mon Jan 07 15:44:13 2008 +0000
@@ -174,6 +174,9 @@
PageOptions(QWidget* parent = 0);
QPushButton* WeaponsButt;
+ QPushButton* WeaponEdit;
+ QComboBox* WeaponsName;
+
QPushButton *BtnBack;
QGroupBox *groupBox;
QPushButton *BtnNewTeam;
diff -r 07787e748831 -r 32a546d1eb3e hedgewars.kdevelop
--- a/hedgewars.kdevelop Mon Jan 07 13:09:10 2008 +0000
+++ b/hedgewars.kdevelop Mon Jan 07 15:44:13 2008 +0000
@@ -18,20 +18,20 @@
hedgewars
.
false
-
+
kdevsubversion
-
+
executable
/
bin/hedgewars
-
+
false
true
-
+
false
false
@@ -172,16 +172,16 @@
make
-
+
true
1
0
false
-
-
-
+
+
+
default
@@ -189,9 +189,9 @@
0
-
-
-
+
+
+
default
@@ -200,12 +200,12 @@
-
+
-
-
-
-
+
+
+
+
true
false
false
@@ -311,7 +311,7 @@
false
-
+
set
m_,_
theValue