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

#include <landtexturecreator.hpp>

Inheritance diagram for CSVWorld::LandTextureCreator:
Collaboration diagram for CSVWorld::LandTextureCreator:

Public Member Functions

 LandTextureCreator (CSMWorld::Data &data, QUndoStack &undoStack, const CSMWorld::UniversalId &id)
 
void cloneMode (const std::string &originId, const CSMWorld::UniversalId::Type type) override
 
void focus () override
 Focus main input widget. More...
 
void reset () override
 
std::string getErrors () const override
 
- 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 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...
 
- Public Member Functions inherited from CSVWorld::Creator
virtual ~Creator ()
 

Protected Member Functions

void configureCreateCommand (CSMWorld::CreateCommand &command) const override
 Allow subclasses to add additional data to command. More...
 
std::string getId () const override
 
- 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 pushCommand (std::unique_ptr< CSMWorld::CreateCommand > command, const std::string &id)
 
CSMWorld::DatagetData () const
 
QUndoStack & getUndoStack ()
 
const CSMWorld::UniversalIdgetCollectionId () const
 
std::string getNamespace () const
 

Private Slots

void nameChanged (const QString &val)
 
void indexChanged (int val)
 

Private Attributes

QLineEdit * mNameEdit
 
QSpinBoxmIndexBox
 
std::string mName
 

Additional Inherited Members

- Signals inherited from CSVWorld::Creator
void done ()
 
void requestFocus (const std::string &id)
 
- Protected Attributes inherited from CSVWorld::GenericCreator
bool mCloneMode
 

Constructor & Destructor Documentation

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

Here is the call graph for this function:

Member Function Documentation

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

Reimplemented from CSVWorld::GenericCreator.

Here is the call graph for this function:

void CSVWorld::LandTextureCreator::configureCreateCommand ( CSMWorld::CreateCommand command) const
overrideprotectedvirtual

Allow subclasses to add additional data to command.

Reimplemented from CSVWorld::GenericCreator.

Here is the call graph for this function:

void CSVWorld::LandTextureCreator::focus ( )
overridevirtual

Focus main input widget.

Reimplemented from CSVWorld::GenericCreator.

std::string CSVWorld::LandTextureCreator::getErrors ( ) const
overridevirtual

Return formatted error descriptions for the current state of the creator. if an empty string is returned, there is no error.

Reimplemented from CSVWorld::GenericCreator.

Here is the call graph for this function:

std::string CSVWorld::LandTextureCreator::getId ( ) const
overrideprotectedvirtual

Reimplemented from CSVWorld::GenericCreator.

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVWorld::LandTextureCreator::indexChanged ( int  val)
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVWorld::LandTextureCreator::nameChanged ( const QString &  val)
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVWorld::LandTextureCreator::reset ( )
overridevirtual

Reimplemented from CSVWorld::GenericCreator.

Here is the call graph for this function:

Member Data Documentation

QSpinBox* CSVWorld::LandTextureCreator::mIndexBox
private
std::string CSVWorld::LandTextureCreator::mName
private
QLineEdit* CSVWorld::LandTextureCreator::mNameEdit
private

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