1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 22:49:55 +00:00
openmw-tes3mp/apps/opencs/view/world/referenceablecreator.hpp
2020-10-16 22:18:54 +04:00

35 lines
763 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:
void configureCreateCommand (CSMWorld::CreateCommand& command) const override;
public:
ReferenceableCreator (CSMWorld::Data& data, QUndoStack& undoStack,
const CSMWorld::UniversalId& id);
void reset() override;
void cloneMode (const std::string& originId,
const CSMWorld::UniversalId::Type type) override;
void toggleWidgets(bool active = true) override;
};
}
#endif