1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/editor/ConfigWindows.cpp

21 lines
600 B
C++
Raw Normal View History

2013-02-17 16:01:38 +03:00
#include "StdInc.h"
#include "ConfigWindows.h"
#include "Editor.h"
2013-04-07 13:48:07 +03:00
#include "../lib/mapping/CMap.h"
2013-02-17 16:01:38 +03:00
#include <QTabWidget>
MapSpecifications::MapSpecifications( QWidget *p /*= 0*/ ) : QDialog(p), editor(dynamic_cast<Editor*>(p))
{
QTabWidget * tabs = new QTabWidget(this);
enum {GENERAL, PLAYER_SPEC, TEAMS, RUMORS, TIMED_EVENTS, LOSS_COND, VIC_COND, HEROES, ARTIFACTS, SPELLS, SEC_SKILLS};
QWidget * tabWidgets[11];
tabWidgets[GENERAL] = new QWidget(tabs);
int tabNames[] = {160, 167, 169, 168, 170, 166, 171, 165};
tabs->addTab(tabWidgets[GENERAL], tr("General"));
}