VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Slots | Signals | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions
makVrf::DtEnumerationSelectionWidget Class Reference

Widget that will allow the user to select enumerations from pulldowns. More...

Inheritance diagram for makVrf::DtEnumerationSelectionWidget:
Inheritance graph
[legend]

Public Slots

virtual void updateFilters (bool initializing=false)
virtual void entityTypeChanged ()

Signals

void typeChanged (const DtObjectType &)
void typeChangedWithMatchingType (const DtObjectType &, const DtObjectType &)

Public Member Functions

 DtEnumerationSelectionWidget (QWidget *parent=NULL, const Qt::WindowFlags &flags=0)
 default constructor
virtual ~DtEnumerationSelectionWidget ()
 destructor
int kind () const
void setKind (int)
int domain () const
void setDomain (int)
int category () const
void setCategory (int)
int subCategory () const
void setSubCategory (int)
int country () const
void setCountry (int)
int specific () const
void setSpecific (int)
int extra () const
void setExtra (int)
virtual void moveItemsDownOneRow ()
virtual void setEnabled (bool)
void setCombo (QComboBox *, int)
virtual bool init (DtDisDictionaryInterface *disDictionary)
 Sets up the comboboxes based on the given DtDisDictionary.
virtual void setKindEnabled (bool)
 Sets whether or not the kind selection is enabled. Default it true.
virtual void setMatchingTypeEnabled (bool)
 Sets whether or not matching type is enabled.
virtual bool matchingTypeEnabled () const
virtual void setMatchingType (const DtObjectType &)
 Sets the matching type.
virtual DtObjectType matchingType () const
virtual void setObjectType (const DtObjectType &)
virtual DtObjectType objectType () const
virtual void setEntityType (const DtEntityType &)
virtual DtEntityType entityType () const

Public Attributes

QGridLayout * myGridLayout
QLabelmyKindLabel
QComboBoxmyKind
QCheckBoxmyKindMatches
QLabelmyDomainLabel
QComboBoxmyDomain
QCheckBoxmyDomainMatches
QLabelmyCategoryLabel
QComboBoxmyCategory
QCheckBoxmyCategoryMatches
QLabelmySubcategoryLabel
QComboBoxmySubcategory
QCheckBoxmySubcategoryMatches
QLabelmyCountryLabel
QComboBoxmyCountry
QCheckBoxmyCountryMatches
QLabelmySpecificLabel
QComboBoxmySpecific
QCheckBoxmySpecificMatches
QLabelmyExtraLabel
QComboBoxmyExtra
QCheckBoxmyExtraMatches
int mySisoKind
int mySisoDomain
int mySisoCountry
int mySisoCategory
int mySisoSubcategory
int mySisoSpecific
int mySisoExtra
QLineEditmyEntityType
QLineEditmyMatchingType
QLabelmyEntityTypeLabel
QHBoxLayout * myMatchingTypeLayout
QLabelmyMatchingTypeLabel
QPushButtonmyAdvancedMode
QWidgetmyAdvancedCanvas
QVBoxLayout * myAdvancedLayout
QLabelmyAdvacedDescription

Protected Slots

virtual void changed ()
virtual void advancedModeChanged (bool)

Protected Member Functions

virtual void makeConnections (bool)
virtual int customize (QComboBox *, int)
virtual int populateFilter (QComboBox *filter, std::map< int, std::string > &list, bool initializing)

Protected Attributes

DtDisDictionaryInterfacemyDisDictionary
bool myBlockEntityTypeChange
bool myMatchingTypeEnabled

Private Member Functions

 DtEnumerationSelectionWidget (const DtEnumerationSelectionWidget &)
DtEnumerationSelectionWidgetoperator= (const DtEnumerationSelectionWidget &)

Detailed Description

Widget that will allow the user to select enumerations from pulldowns.

Constructor & Destructor Documentation

makVrf::DtEnumerationSelectionWidget::DtEnumerationSelectionWidget ( QWidget parent = NULL,
const Qt::WindowFlags &  flags = 0 
)

default constructor

virtual makVrf::DtEnumerationSelectionWidget::~DtEnumerationSelectionWidget ( )
virtual

destructor

makVrf::DtEnumerationSelectionWidget::DtEnumerationSelectionWidget ( const DtEnumerationSelectionWidget )
private

Member Function Documentation

int makVrf::DtEnumerationSelectionWidget::kind ( ) const
inline
void makVrf::DtEnumerationSelectionWidget::setKind ( int  )
int makVrf::DtEnumerationSelectionWidget::domain ( ) const
inline
void makVrf::DtEnumerationSelectionWidget::setDomain ( int  )
int makVrf::DtEnumerationSelectionWidget::category ( ) const
inline
void makVrf::DtEnumerationSelectionWidget::setCategory ( int  )
int makVrf::DtEnumerationSelectionWidget::subCategory ( ) const
inline
void makVrf::DtEnumerationSelectionWidget::setSubCategory ( int  )
int makVrf::DtEnumerationSelectionWidget::country ( ) const
inline
void makVrf::DtEnumerationSelectionWidget::setCountry ( int  )
int makVrf::DtEnumerationSelectionWidget::specific ( ) const
inline
void makVrf::DtEnumerationSelectionWidget::setSpecific ( int  )
int makVrf::DtEnumerationSelectionWidget::extra ( ) const
inline
void makVrf::DtEnumerationSelectionWidget::setExtra ( int  )
virtual void makVrf::DtEnumerationSelectionWidget::moveItemsDownOneRow ( )
virtual
virtual void makVrf::DtEnumerationSelectionWidget::setEnabled ( bool  )
virtual
void makVrf::DtEnumerationSelectionWidget::setCombo ( QComboBox ,
int   
)
virtual bool makVrf::DtEnumerationSelectionWidget::init ( DtDisDictionaryInterface disDictionary)
virtual

Sets up the comboboxes based on the given DtDisDictionary.

virtual void makVrf::DtEnumerationSelectionWidget::setKindEnabled ( bool  )
virtual

Sets whether or not the kind selection is enabled. Default it true.

virtual void makVrf::DtEnumerationSelectionWidget::setMatchingTypeEnabled ( bool  )
virtual

Sets whether or not matching type is enabled.

This is typically only used to allow for the selection of a specific type, and then also allow an associated matching type by changing the items that have the check box next to the type checked to set the matching type value to -1

virtual bool makVrf::DtEnumerationSelectionWidget::matchingTypeEnabled ( ) const
virtual
virtual void makVrf::DtEnumerationSelectionWidget::setMatchingType ( const DtObjectType &  )
virtual

Sets the matching type.

If items in this type are -1 the check boxes next to the appropriate entry will be checked. If numbers are different than object type, when the matching type is requested the numbers will be changed to those of the object type

virtual DtObjectType makVrf::DtEnumerationSelectionWidget::matchingType ( ) const
virtual
virtual void makVrf::DtEnumerationSelectionWidget::setObjectType ( const DtObjectType &  )
virtual
virtual DtObjectType makVrf::DtEnumerationSelectionWidget::objectType ( ) const
virtual
virtual void makVrf::DtEnumerationSelectionWidget::setEntityType ( const DtEntityType &  )
virtual
virtual DtEntityType makVrf::DtEnumerationSelectionWidget::entityType ( ) const
virtual
void makVrf::DtEnumerationSelectionWidget::typeChanged ( const DtObjectType &  )
signal
void makVrf::DtEnumerationSelectionWidget::typeChangedWithMatchingType ( const DtObjectType &  ,
const DtObjectType &   
)
signal
virtual void makVrf::DtEnumerationSelectionWidget::updateFilters ( bool  initializing = false)
virtualslot
virtual void makVrf::DtEnumerationSelectionWidget::entityTypeChanged ( )
virtualslot
virtual void makVrf::DtEnumerationSelectionWidget::changed ( )
protectedvirtualslot
virtual void makVrf::DtEnumerationSelectionWidget::advancedModeChanged ( bool  )
protectedvirtualslot
virtual void makVrf::DtEnumerationSelectionWidget::makeConnections ( bool  )
protectedvirtual
virtual int makVrf::DtEnumerationSelectionWidget::customize ( QComboBox ,
int   
)
protectedvirtual
virtual int makVrf::DtEnumerationSelectionWidget::populateFilter ( QComboBox filter,
std::map< int, std::string > &  list,
bool  initializing 
)
protectedvirtual
DtEnumerationSelectionWidget& makVrf::DtEnumerationSelectionWidget::operator= ( const DtEnumerationSelectionWidget )
private

Member Data Documentation

QGridLayout* makVrf::DtEnumerationSelectionWidget::myGridLayout
QLabel* makVrf::DtEnumerationSelectionWidget::myKindLabel
QComboBox* makVrf::DtEnumerationSelectionWidget::myKind
QCheckBox* makVrf::DtEnumerationSelectionWidget::myKindMatches
QLabel* makVrf::DtEnumerationSelectionWidget::myDomainLabel
QComboBox* makVrf::DtEnumerationSelectionWidget::myDomain
QCheckBox* makVrf::DtEnumerationSelectionWidget::myDomainMatches
QLabel* makVrf::DtEnumerationSelectionWidget::myCategoryLabel
QComboBox* makVrf::DtEnumerationSelectionWidget::myCategory
QCheckBox* makVrf::DtEnumerationSelectionWidget::myCategoryMatches
QLabel* makVrf::DtEnumerationSelectionWidget::mySubcategoryLabel
QComboBox* makVrf::DtEnumerationSelectionWidget::mySubcategory
QCheckBox* makVrf::DtEnumerationSelectionWidget::mySubcategoryMatches
QLabel* makVrf::DtEnumerationSelectionWidget::myCountryLabel
QComboBox* makVrf::DtEnumerationSelectionWidget::myCountry
QCheckBox* makVrf::DtEnumerationSelectionWidget::myCountryMatches
QLabel* makVrf::DtEnumerationSelectionWidget::mySpecificLabel
QComboBox* makVrf::DtEnumerationSelectionWidget::mySpecific
QCheckBox* makVrf::DtEnumerationSelectionWidget::mySpecificMatches
QLabel* makVrf::DtEnumerationSelectionWidget::myExtraLabel
QComboBox* makVrf::DtEnumerationSelectionWidget::myExtra
QCheckBox* makVrf::DtEnumerationSelectionWidget::myExtraMatches
int makVrf::DtEnumerationSelectionWidget::mySisoKind
int makVrf::DtEnumerationSelectionWidget::mySisoDomain
int makVrf::DtEnumerationSelectionWidget::mySisoCountry
int makVrf::DtEnumerationSelectionWidget::mySisoCategory
int makVrf::DtEnumerationSelectionWidget::mySisoSubcategory
int makVrf::DtEnumerationSelectionWidget::mySisoSpecific
int makVrf::DtEnumerationSelectionWidget::mySisoExtra
QLineEdit* makVrf::DtEnumerationSelectionWidget::myEntityType
QLineEdit* makVrf::DtEnumerationSelectionWidget::myMatchingType
QLabel* makVrf::DtEnumerationSelectionWidget::myEntityTypeLabel
QHBoxLayout* makVrf::DtEnumerationSelectionWidget::myMatchingTypeLayout
QLabel* makVrf::DtEnumerationSelectionWidget::myMatchingTypeLabel
QPushButton* makVrf::DtEnumerationSelectionWidget::myAdvancedMode
QWidget* makVrf::DtEnumerationSelectionWidget::myAdvancedCanvas
QVBoxLayout* makVrf::DtEnumerationSelectionWidget::myAdvancedLayout
QLabel* makVrf::DtEnumerationSelectionWidget::myAdvacedDescription
DtDisDictionaryInterface* makVrf::DtEnumerationSelectionWidget::myDisDictionary
protected
bool makVrf::DtEnumerationSelectionWidget::myBlockEntityTypeChange
protected
bool makVrf::DtEnumerationSelectionWidget::myMatchingTypeEnabled
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)