QTfrontend/gamecfgwidget.cpp
changeset 677 9d0bcc3c903a
parent 486 7ea71cd3acd5
child 696 d6f32ed6edc8
equal deleted inserted replaced
676:2aa3082937ac 677:9d0bcc3c903a
    35 	mainLayout.addWidget(GBoxMap);
    35 	mainLayout.addWidget(GBoxMap);
    36 
    36 
    37 	QHBoxLayout *GBoxMapLayout = new QHBoxLayout(GBoxMap);
    37 	QHBoxLayout *GBoxMapLayout = new QHBoxLayout(GBoxMap);
    38 	GBoxMapLayout->setMargin(0);
    38 	GBoxMapLayout->setMargin(0);
    39 	pMapContainer = new HWMapContainer(GBoxMap);
    39 	pMapContainer = new HWMapContainer(GBoxMap);
    40 	GBoxMapLayout->addWidget(new QWidget);
    40 	GBoxMapLayout->addStretch();
    41 	GBoxMapLayout->addWidget(pMapContainer);
    41 	GBoxMapLayout->addWidget(pMapContainer);
    42 	GBoxMapLayout->addWidget(new QWidget);
    42 	GBoxMapLayout->addStretch();
    43 
    43 
    44 	QGroupBox *GBoxOptions = new QGroupBox(this);
    44 	QGroupBox *GBoxOptions = new QGroupBox(this);
    45 	GBoxOptions->setTitle(QGroupBox::tr("Game scheme"));
    45 	GBoxOptions->setTitle(QGroupBox::tr("Game scheme"));
    46 	GBoxOptions->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
    46 	GBoxOptions->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
    47 	mainLayout.addWidget(GBoxOptions);
    47 	mainLayout.addWidget(GBoxOptions);