mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
41 lines
728 B
C++
41 lines
728 B
C++
#ifndef CSV_WORLD_CELLCREATOR_H
|
|
#define CSV_WORLD_CELLCREATOR_H
|
|
|
|
class QLabel;
|
|
class QSpinBox;
|
|
class QComboBox;
|
|
|
|
#include "genericcreator.hpp"
|
|
|
|
namespace CSVWorld
|
|
{
|
|
class CellCreator : public GenericCreator
|
|
{
|
|
Q_OBJECT
|
|
|
|
QComboBox *mType;
|
|
QLabel *mXLabel;
|
|
QSpinBox *mX;
|
|
QLabel *mYLabel;
|
|
QSpinBox *mY;
|
|
|
|
protected:
|
|
|
|
virtual std::string getId() const;
|
|
|
|
public:
|
|
|
|
CellCreator (CSMWorld::Data& data, QUndoStack& undoStack, const CSMWorld::UniversalId& id);
|
|
|
|
virtual void reset();
|
|
|
|
private slots:
|
|
|
|
void setType (int index);
|
|
|
|
void valueChanged (int index);
|
|
};
|
|
}
|
|
|
|
#endif
|