1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-23 00:53:56 +00:00
openmw/apps/opencs/view/world/referenceablecreator.hpp
2022-09-22 21:35:26 +03:00

34 lines
743 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;
private slots:
void setType(int index);
};
}
#endif