mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
* missing files
This commit is contained in:
parent
f083db7c5a
commit
7270d16f45
20
Editor/ConfigWindows.cpp
Normal file
20
Editor/ConfigWindows.cpp
Normal file
@ -0,0 +1,20 @@
|
||||
#include "StdInc.h"
|
||||
#include "ConfigWindows.h"
|
||||
#include "Editor.h"
|
||||
#include "../lib/Mapping/CMap.h"
|
||||
|
||||
#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"));
|
||||
|
||||
}
|
23
Editor/ConfigWindows.h
Normal file
23
Editor/ConfigWindows.h
Normal file
@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
#include <QtGui>
|
||||
|
||||
class Editor;
|
||||
|
||||
|
||||
class MapSpecifications: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit MapSpecifications(QWidget *p = 0);
|
||||
|
||||
private:
|
||||
Editor * editor;
|
||||
QLineEdit *lineEdit;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user