OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
bodypartcreator.hpp
Go to the documentation of this file.
1 #ifndef BODYPARTCREATOR_HPP
2 #define BODYPARTCREATOR_HPP
3 
4 class QCheckBox;
5 
6 #include "genericcreator.hpp"
7 
8 namespace CSMWorld
9 {
10  class Data;
11  class UniversalId;
12 }
13 
14 namespace CSVWorld
15 {
18  {
19  Q_OBJECT
20 
21  QCheckBox *mFirstPerson;
22 
23  private:
24 
26  virtual std::string getId() const;
27 
28  public:
29 
31  CSMWorld::Data& data,
32  QUndoStack& undoStack,
33  const CSMWorld::UniversalId& id);
34 
36  virtual std::string getErrors() const;
37 
39  virtual void reset();
40 
41  private slots:
42 
43  void checkboxClicked();
44  };
45 }
46 
47 #endif // BODYPARTCREATOR_HPP
virtual void reset()
Clear ID and checkbox input widgets.
Definition: bodypartcreator.cpp:45
virtual std::string getErrors() const
Definition: bodypartcreator.cpp:32
virtual std::string getId() const
Definition: bodypartcreator.cpp:8
BodyPartCreator(CSMWorld::Data &data, QUndoStack &undoStack, const CSMWorld::UniversalId &id)
Definition: bodypartcreator.cpp:20
QCheckBox * mFirstPerson
Definition: bodypartcreator.hpp:21
Definition: data.hpp:80
Definition: genericcreator.hpp:28
Record creator for body parts.
Definition: bodypartcreator.hpp:17
void checkboxClicked()
Definition: bodypartcreator.cpp:51
Definition: universalid.hpp:12