2013-07-30 08:27:17 +00:00
|
|
|
#ifndef CSV_WORLD_REFERENCEABLECREATOR_H
|
|
|
|
#define CSV_WORLD_REFERENCEABLECREATOR_H
|
|
|
|
|
|
|
|
class QComboBox;
|
|
|
|
|
|
|
|
#include "genericcreator.hpp"
|
|
|
|
|
|
|
|
namespace CSVWorld
|
|
|
|
{
|
|
|
|
class ReferenceableCreator : public GenericCreator
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
QComboBox *mType;
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
virtual void configureCreateCommand (CSMWorld::CreateCommand& command) const;
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
ReferenceableCreator (CSMWorld::Data& data, QUndoStack& undoStack,
|
|
|
|
const CSMWorld::UniversalId& id);
|
|
|
|
|
|
|
|
virtual void reset();
|
2014-01-23 15:00:44 +00:00
|
|
|
virtual void toggleWidgets(bool active = true);
|
2013-07-30 08:27:17 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|