VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Public Attributes
makVrf::DtEnumerationSelectionWidgetInterface Class Reference
Inheritance diagram for makVrf::DtEnumerationSelectionWidgetInterface:
Inheritance graph
[legend]

List of all members.

Public Types

enum  Enumerations {
  Kind = 0, Domain, Country, Category,
  Subcategory, Specific, Extra, EnumerationsCount = Extra + 1
}

Public Member Functions

virtual ~DtEnumerationSelectionWidgetInterface ()
virtual void clear ()=0
 Clears out any current UI elements.
virtual bool allowWildCard () const =0
 Returns whether or not wild cards are allowed.
virtual int numberOfEnumerations () const =0
 Returns the number of enumerations supported by this widget.
virtual int onlyValidKind () const =0
 If only one valid kind is supported, returns it.
virtual void setEnumerationEnabled (int, bool)=0
 Sets whether or not the enumeration combo is enabled.
virtual bool enumerationEnabled (int) const =0
 Returns whether or not enumeration is enabled.
virtual void clearEnumeration (int)=0
 Clears the enumeration values of the specified enumeration combo.
virtual QHash< QString, int > supportedEnumerations (int) const =0
 Returns a map of the enumerations supported for the enumeration type.
virtual void objectType (DtRangedObjectType &o) const =0
 Fills in the object type based on combo settings.
virtual void setSelectedEnumeration (int enumeration, const QString &)=0
 Sets the enumeration to be selected.
virtual void setEnumerationText (int, const QString &)=0
 Sets the text of the enumeration line edit.
virtual QString selectedEnumeration (int) const =0
 Returns the enumeration selected.
virtual bool showEnumInText () const =0
 Returns true if the enumeration should be shown with the text.
virtual void addEnumeration (int enumeration, int id, const QString &)=0
 For the given enumeration, add the enumeration value and string respresentation.
virtual void signalTypeChanged (const DtRangedObjectType &)=0
 Signal that the type has changed to the supplied type.

Public Attributes

boost::signal< void(int,
std::string)> 
signal_enumerationChanged
 Signal sent when an enumeration has changed and the value it should change to.
boost::signal< void(int,
std::string)> 
signal_enumerationTextChanged
 Sent when the enumeration text value has changed of a line edit.

Member Enumeration Documentation

Enumerator:
Kind 
Domain 
Country 
Category 
Subcategory 
Specific 
Extra 
EnumerationsCount 

Constructor & Destructor Documentation


Member Function Documentation

Clears out any current UI elements.

Implemented in makVrf::DtEnumerationSelectionWidget.

Returns whether or not wild cards are allowed.

Implemented in makVrf::DtEnumerationSelectionWidget.

Returns the number of enumerations supported by this widget.

Implemented in makVrf::DtEnumerationSelectionWidget.

If only one valid kind is supported, returns it.

Implemented in makVrf::DtEnumerationSelectionWidget.

virtual void makVrf::DtEnumerationSelectionWidgetInterface::setEnumerationEnabled ( int  ,
bool   
) [pure virtual]

Sets whether or not the enumeration combo is enabled.

Implemented in makVrf::DtEnumerationSelectionWidget.

Returns whether or not enumeration is enabled.

Implemented in makVrf::DtEnumerationSelectionWidget.

Clears the enumeration values of the specified enumeration combo.

Implemented in makVrf::DtEnumerationSelectionWidget.

virtual QHash<QString, int> makVrf::DtEnumerationSelectionWidgetInterface::supportedEnumerations ( int  ) const [pure virtual]

Returns a map of the enumerations supported for the enumeration type.

Implemented in makVrf::DtEnumerationSelectionWidget.

Fills in the object type based on combo settings.

Implemented in makVrf::DtEnumerationSelectionWidget.

virtual void makVrf::DtEnumerationSelectionWidgetInterface::setSelectedEnumeration ( int  enumeration,
const QString &   
) [pure virtual]

Sets the enumeration to be selected.

Implemented in makVrf::DtEnumerationSelectionWidget.

virtual void makVrf::DtEnumerationSelectionWidgetInterface::setEnumerationText ( int  ,
const QString &   
) [pure virtual]

Sets the text of the enumeration line edit.

Implemented in makVrf::DtEnumerationSelectionWidget.

virtual QString makVrf::DtEnumerationSelectionWidgetInterface::selectedEnumeration ( int  ) const [pure virtual]

Returns the enumeration selected.

Implemented in makVrf::DtEnumerationSelectionWidget.

Returns true if the enumeration should be shown with the text.

Implemented in makVrf::DtEnumerationSelectionWidget.

virtual void makVrf::DtEnumerationSelectionWidgetInterface::addEnumeration ( int  enumeration,
int  id,
const QString &   
) [pure virtual]

For the given enumeration, add the enumeration value and string respresentation.

Implemented in makVrf::DtEnumerationSelectionWidget.

Signal that the type has changed to the supplied type.

Implemented in makVrf::DtEnumerationSelectionWidget.


Member Data Documentation

Signal sent when an enumeration has changed and the value it should change to.

Sent when the enumeration text value has changed of a line edit.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)