diff -r 7c7476f56114 -r 40e59e9f82ce QTfrontend/gamecfgwidget.cpp --- a/QTfrontend/gamecfgwidget.cpp Tue Mar 10 21:57:33 2009 +0000 +++ b/QTfrontend/gamecfgwidget.cpp Wed Mar 11 14:32:28 2009 +0000 @@ -23,10 +23,12 @@ #include #include #include +#include #include "gamecfgwidget.h" #include "igbox.h" #include "hwconsts.h" +#include "ammoSchemeModel.h" GameCFGWidget::GameCFGWidget(QWidget* parent, bool externalControl) : QGroupBox(parent), mainLayout(this) @@ -42,10 +44,14 @@ mainLayout.addWidget(GBoxOptions); QGridLayout *GBoxOptionsLayout = new QGridLayout(GBoxOptions); + + QTableView * tv = new QTableView(this); + tv->setModel(new AmmoSchemeModel); + GBoxOptionsLayout->addWidget(tv, 0, 0, 1, 2); CB_mode_Forts = new QCheckBox(GBoxOptions); CB_mode_Forts->setText(QCheckBox::tr("Forts mode")); - GBoxOptionsLayout->addWidget(CB_mode_Forts, 0, 0, 1, 2); + GBoxOptionsLayout->addWidget(CB_mode_Forts, 9, 0, 1, 2); CB_teamsDivide = new QCheckBox(GBoxOptions); CB_teamsDivide->setText(QCheckBox::tr("Divide teams"));