QTfrontend/mapContainer.cpp
changeset 4701 7ed88cfc99b1
parent 4699 47d8a524780a
child 4936 d65d438acd23
equal deleted inserted replaced
4699:47d8a524780a 4701:7ed88cfc99b1
   175     mapLayout->addWidget(maze_size_selection, 2, 1);
   175     mapLayout->addWidget(maze_size_selection, 2, 1);
   176     maze_size_selection->hide();
   176     maze_size_selection->hide();
   177     connect(maze_size_selection, SIGNAL(currentIndexChanged(int)), this, SLOT(setMaze_size(int)));
   177     connect(maze_size_selection, SIGNAL(currentIndexChanged(int)), this, SLOT(setMaze_size(int)));
   178 
   178 
   179     gbThemes = new IconedGroupBox(mapWidget);
   179     gbThemes = new IconedGroupBox(mapWidget);
   180     gbThemes->setTitleTextPadding(60);
   180     gbThemes->setTitleTextPadding(80);
   181     gbThemes->setContentTopPadding(6);
   181     gbThemes->setContentTopPadding(15);
   182     gbThemes->setTitle(tr("Themes"));
   182     gbThemes->setTitle(tr("Themes"));
   183 
   183 
   184     //gbThemes->setStyleSheet("padding: 0px"); // doesn't work - stylesheet is set with icon
   184     //gbThemes->setStyleSheet("padding: 0px"); // doesn't work - stylesheet is set with icon
   185     mapLayout->addWidget(gbThemes, 0, 2, 3, 1);
   185     mapLayout->addWidget(gbThemes, 0, 2, 3, 1);
   186 
   186 
   371     chooseMap->setItemData(0, mapInfo);
   371     chooseMap->setItemData(0, mapInfo);
   372     mapInfo[0] = QString("+maze+");
   372     mapInfo[0] = QString("+maze+");
   373     chooseMap->setItemData(1, mapInfo);
   373     chooseMap->setItemData(1, mapInfo);
   374     mapInfo[0] = QString("+drawn+");
   374     mapInfo[0] = QString("+drawn+");
   375     chooseMap->setItemData(2, mapInfo);
   375     chooseMap->setItemData(2, mapInfo);
   376     gbThemes->setIcon(QIcon(QString("%1/Themes/%2/icon.png").arg(datadir->absolutePath()).arg(theme)));
   376     gbThemes->setIcon(QIcon(QString("%1/Themes/%2/icon@2x.png").arg(datadir->absolutePath()).arg(theme)));
   377     emit themeChanged(theme);
   377     emit themeChanged(theme);
   378 }
   378 }
   379 
   379 
   380 QString HWMapContainer::getCurrentSeed() const
   380 QString HWMapContainer::getCurrentSeed() const
   381 {
   381 {