|
OpenMW
|
Record creator for body parts. More...
#include <bodypartcreator.hpp>
Public Member Functions | |
| BodyPartCreator (CSMWorld::Data &data, QUndoStack &undoStack, const CSMWorld::UniversalId &id) | |
| virtual std::string | getErrors () const |
| virtual void | reset () |
| Clear ID and checkbox input widgets. More... | |
Public Member Functions inherited from CSVWorld::GenericCreator | |
| GenericCreator (CSMWorld::Data &data, QUndoStack &undoStack, const CSMWorld::UniversalId &id, bool relaxedIdRules=false) | |
| virtual void | setEditLock (bool locked) |
| virtual void | toggleWidgets (bool active=true) |
| virtual void | cloneMode (const std::string &originId, const CSMWorld::UniversalId::Type type) |
| virtual void | touch (const std::vector< CSMWorld::UniversalId > &ids) |
| Touches a record, if the creator supports it. More... | |
| virtual void | setScope (unsigned int scope) |
| Default implementation: Throw an exception if scope!=Scope_Content. More... | |
| virtual void | focus () |
| Focus main input widget. More... | |
Public Member Functions inherited from CSVWorld::Creator | |
| virtual | ~Creator () |
Private Slots | |
| void | checkboxClicked () |
Private Member Functions | |
| virtual std::string | getId () const |
Private Attributes | |
| QCheckBox * | mFirstPerson |
Additional Inherited Members | |
Signals inherited from CSVWorld::Creator | |
| void | done () |
| void | requestFocus (const std::string &id) |
Protected Member Functions inherited from CSVWorld::GenericCreator | |
| void | update () |
| virtual void | setManualEditing (bool enabled) |
| Enable/disable manual ID editing (enabled by default). More... | |
| void | insertAtBeginning (QWidget *widget, bool stretched) |
| void | insertBeforeButtons (QWidget *widget, bool stretched) |
| Insert given widget before Create and Cancel buttons. More... | |
| std::string | getClonedId () const |
| virtual std::string | getIdValidatorResult () const |
| virtual void | configureCreateCommand (CSMWorld::CreateCommand &command) const |
| Allow subclasses to add additional data to command. More... | |
| virtual void | pushCommand (std::unique_ptr< CSMWorld::CreateCommand > command, const std::string &id) |
| CSMWorld::Data & | getData () const |
| QUndoStack & | getUndoStack () |
| const CSMWorld::UniversalId & | getCollectionId () const |
| std::string | getNamespace () const |
Protected Attributes inherited from CSVWorld::GenericCreator | |
| bool | mCloneMode |
Record creator for body parts.
| CSVWorld::BodyPartCreator::BodyPartCreator | ( | CSMWorld::Data & | data, |
| QUndoStack & | undoStack, | ||
| const CSMWorld::UniversalId & | id | ||
| ) |
|
privateslot |
|
virtual |
Reimplemented from CSVWorld::GenericCreator.
|
privatevirtual |
Reimplemented from CSVWorld::GenericCreator.
|
virtual |
Clear ID and checkbox input widgets.
Reimplemented from CSVWorld::GenericCreator.
|
private |
1.8.6