OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
referenceablecreator.hpp
Go to the documentation of this file.
1 #ifndef CSV_WORLD_REFERENCEABLECREATOR_H
2 #define CSV_WORLD_REFERENCEABLECREATOR_H
3 
4 class QComboBox;
5 
6 #include "genericcreator.hpp"
7 
8 namespace CSVWorld
9 {
11  {
12  Q_OBJECT
13 
14  QComboBox *mType;
15 
16  private:
17 
18  virtual void configureCreateCommand (CSMWorld::CreateCommand& command) const;
19 
20  public:
21 
22  ReferenceableCreator (CSMWorld::Data& data, QUndoStack& undoStack,
23  const CSMWorld::UniversalId& id);
24 
25  virtual void reset();
26 
27  virtual void cloneMode (const std::string& originId,
28  const CSMWorld::UniversalId::Type type);
29 
30  virtual void toggleWidgets(bool active = true);
31 
32  };
33 }
34 
35 #endif
Definition: commands.hpp:48
Definition: referenceablecreator.hpp:10
Type
Definition: universalid.hpp:40
virtual void reset()
Definition: referenceablecreator.cpp:38
QComboBox * mType
Definition: referenceablecreator.hpp:14
virtual void configureCreateCommand(CSMWorld::CreateCommand &command) const
Allow subclasses to add additional data to command.
Definition: referenceablecreator.cpp:9
ReferenceableCreator(CSMWorld::Data &data, QUndoStack &undoStack, const CSMWorld::UniversalId &id)
Definition: referenceablecreator.cpp:15
Definition: data.hpp:77
Definition: genericcreator.hpp:28
virtual void toggleWidgets(bool active=true)
Definition: referenceablecreator.cpp:51
virtual void cloneMode(const std::string &originId, const CSMWorld::UniversalId::Type type)
Definition: referenceablecreator.cpp:44
Definition: universalid.hpp:12