Developer Documentation
Loading...
Searching...
No Matches
HandleAction Class Reference
Inheritance diagram for HandleAction:

Public Member Functions

 HandleAction (QIcon _icon, QString _description, QObject *_parent=0, DataType _objectTypeRestriction=DATA_ALL)
 Default constructor.
 
 ~HandleAction ()
 Default destructor.
 
void selectionEnvironmentHandle (QString _handle)
 Get/Set selection environment handle name.
 
QString selectionEnvironmentHandle ()
 
void selectionModeHandle (QString _handle)
 Get/Set selection mode handle name.
 
QString selectionModeHandle ()
 
void addAssociatedType (unsigned int _associatedType)
 Get/Set associated primitive types.
 
void removeAssociatedType (unsigned int _associatedType)
 
bool isAssociated (unsigned int _type, bool _associatedWithAll=false)
 
void objectTypeRestriction (const DataType &_type)
 
const DataTypeobjectTypeRestriction () const
 

Private Attributes

QString selectionEnvHandle_
 
QString selectionModeHandle_
 
unsigned int associatedTypes_
 
DataType objectTypeRestriction_
 

Detailed Description

Definition at line 51 of file HelperClasses.hh.

Constructor & Destructor Documentation

◆ HandleAction()

HandleAction::HandleAction ( QIcon  _icon,
QString  _description,
QObject *  _parent = 0,
DataType  _objectTypeRestriction = DATA_ALL 
)
inline

Default constructor.

Definition at line 55 of file HelperClasses.hh.

◆ ~HandleAction()

HandleAction::~HandleAction ( )
inline

Default destructor.

Definition at line 61 of file HelperClasses.hh.

Member Function Documentation

◆ addAssociatedType()

void HandleAction::addAssociatedType ( unsigned int  _associatedType)
inline

Get/Set associated primitive types.

Definition at line 72 of file HelperClasses.hh.

◆ isAssociated()

bool HandleAction::isAssociated ( unsigned int  _type,
bool  _associatedWithAll = false 
)
inline

Definition at line 74 of file HelperClasses.hh.

◆ objectTypeRestriction() [1/2]

const DataType & HandleAction::objectTypeRestriction ( ) const
inline

Definition at line 86 of file HelperClasses.hh.

◆ objectTypeRestriction() [2/2]

void HandleAction::objectTypeRestriction ( const DataType _type)
inline

Definition at line 82 of file HelperClasses.hh.

◆ removeAssociatedType()

void HandleAction::removeAssociatedType ( unsigned int  _associatedType)
inline

Definition at line 73 of file HelperClasses.hh.

◆ selectionEnvironmentHandle() [1/2]

QString HandleAction::selectionEnvironmentHandle ( )
inline

Definition at line 65 of file HelperClasses.hh.

◆ selectionEnvironmentHandle() [2/2]

void HandleAction::selectionEnvironmentHandle ( QString  _handle)
inline

Get/Set selection environment handle name.

Definition at line 64 of file HelperClasses.hh.

◆ selectionModeHandle() [1/2]

QString HandleAction::selectionModeHandle ( )
inline

Definition at line 69 of file HelperClasses.hh.

◆ selectionModeHandle() [2/2]

void HandleAction::selectionModeHandle ( QString  _handle)
inline

Get/Set selection mode handle name.

Definition at line 68 of file HelperClasses.hh.

Member Data Documentation

◆ associatedTypes_

unsigned int HandleAction::associatedTypes_
private

Definition at line 94 of file HelperClasses.hh.

◆ objectTypeRestriction_

DataType HandleAction::objectTypeRestriction_
private

Definition at line 96 of file HelperClasses.hh.

◆ selectionEnvHandle_

QString HandleAction::selectionEnvHandle_
private

Definition at line 91 of file HelperClasses.hh.

◆ selectionModeHandle_

QString HandleAction::selectionModeHandle_
private

Definition at line 92 of file HelperClasses.hh.


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