173 mapLayout->addWidget(cbTemplateFilter, 2, 1); |
173 mapLayout->addWidget(cbTemplateFilter, 2, 1); |
174 |
174 |
175 connect(cbTemplateFilter, SIGNAL(activated(int)), this, SLOT(setTemplateFilter(int))); |
175 connect(cbTemplateFilter, SIGNAL(activated(int)), this, SLOT(setTemplateFilter(int))); |
176 |
176 |
177 maze_size_label = new QLabel(tr("Type"), mapWidget); |
177 maze_size_label = new QLabel(tr("Type"), mapWidget); |
178 mainLayout.addWidget(maze_size_label, 2, 0); |
178 mapLayout->addWidget(maze_size_label, 2, 0); |
179 maze_size_label->hide(); |
179 maze_size_label->hide(); |
180 cbMazeSize = new QComboBox(mapWidget); |
180 cbMazeSize = new QComboBox(mapWidget); |
181 cbMazeSize->addItem(tr("Small tunnels"), 0); |
181 cbMazeSize->addItem(tr("Small tunnels"), 0); |
182 cbMazeSize->addItem(tr("Medium tunnels"), 1); |
182 cbMazeSize->addItem(tr("Medium tunnels"), 1); |
183 cbMazeSize->addItem(tr("Large tunnels"), 2); |
183 cbMazeSize->addItem(tr("Large tunnels"), 2); |