You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
759 B
C++
36 lines
759 B
C++
#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();
|
|
|
|
virtual void cloneMode (const std::string& originId,
|
|
const CSMWorld::UniversalId::Type type);
|
|
|
|
virtual void toggleWidgets(bool active = true);
|
|
|
|
};
|
|
}
|
|
|
|
#endif
|