OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CSVWorld::ReferenceableCreator Class Reference

#include <referenceablecreator.hpp>

Inheritance diagram for CSVWorld::ReferenceableCreator:
Collaboration diagram for CSVWorld::ReferenceableCreator:

Public Member Functions

 ReferenceableCreator (CSMWorld::Data &data, QUndoStack &undoStack, const CSMWorld::UniversalId &id)
 
virtual void reset ()
 
virtual void cloneMode (const std::string &originId, const CSMWorld::UniversalId::Type type)
 
virtual void toggleWidgets (bool active=true)
 
- 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 std::string getErrors () const
 
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 Member Functions

virtual void configureCreateCommand (CSMWorld::CreateCommand &command) const
 Allow subclasses to add additional data to command. More...
 

Private Attributes

QComboBox * mType
 

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...
 
virtual std::string getId () const
 
virtual std::string getIdValidatorResult () const
 
virtual void pushCommand (std::auto_ptr< CSMWorld::CreateCommand > command, const std::string &id)
 
CSMWorld::DatagetData () const
 
QUndoStack & getUndoStack ()
 
const CSMWorld::UniversalIdgetCollectionId () const
 
std::string getNamespace () const
 
- Protected Attributes inherited from CSVWorld::GenericCreator
bool mCloneMode
 

Constructor & Destructor Documentation

CSVWorld::ReferenceableCreator::ReferenceableCreator ( CSMWorld::Data data,
QUndoStack &  undoStack,
const CSMWorld::UniversalId id 
)

Here is the call graph for this function:

Member Function Documentation

void CSVWorld::ReferenceableCreator::cloneMode ( const std::string &  originId,
const CSMWorld::UniversalId::Type  type 
)
virtual

Reimplemented from CSVWorld::GenericCreator.

Here is the call graph for this function:

void CSVWorld::ReferenceableCreator::configureCreateCommand ( CSMWorld::CreateCommand command) const
privatevirtual

Allow subclasses to add additional data to command.

Reimplemented from CSVWorld::GenericCreator.

Here is the call graph for this function:

void CSVWorld::ReferenceableCreator::reset ( )
virtual

Reimplemented from CSVWorld::GenericCreator.

Here is the call graph for this function:

void CSVWorld::ReferenceableCreator::toggleWidgets ( bool  active = true)
virtual

Reimplemented from CSVWorld::GenericCreator.

Here is the call graph for this function:

Member Data Documentation

QComboBox* CSVWorld::ReferenceableCreator::mType
private

The documentation for this class was generated from the following files: