VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
makVrv::DtExtractReferencesWidget Class Reference

Widget for extracting external references to props. More...

Inheritance diagram for makVrv::DtExtractReferencesWidget:
Inheritance graph
[legend]

Public Member Functions

 DtExtractReferencesWidget (DtDe &de, QWidget *parent)
 CTOR.
 ~DtExtractReferencesWidget ()
 DTOR.
virtual void setSearchCandidateSet (const DtExtractPropsInterface::SearchCandidateSet &scSet)
 Set the search candidates.
virtual void addExtraction (const std::string &searchExp, const std::string &type)
 Add a rule to the list GUI.
virtual void reset ()
 Reset the GUI Deselects all external references.
virtual void setValidSchemas (const std::vector< std::string > &schemaNames)
 Set the valid schema types for props.
void clear ()
 Clear the widget's entries.
- Public Member Functions inherited from makVrv::DtExtractPropsInterface
 DtExtractPropsInterface ()
 CTOR.
virtual ~DtExtractPropsInterface ()
 DTOR.

Protected Slots

virtual void onExtractClicked ()
 Signal emitted when the user has asked to add a rule.
virtual void onSelectAllClicked ()
 Called when the user clicks select all.
virtual void onDeselectAllClicked ()
 Called when the user clicks deselect all.
virtual void onPropTypeComboChanged (const QString &text)
 Called when the user changes the prop type combo selection.
virtual void onModelDefinitionComboChanged (const QString &text)
 Called when the user changes the model def combo selection.

Protected Member Functions

void setupGui ()
 Set up the GUI.

Protected Attributes

DtPropTypeComboBox::DtPropTypeList myTypes
 The list of prop types.
std::string myCurrentType
 The currently selected prop type.
std::string myCurrentModelDefinition
 The currently selected model definition.
DtDemyDe
 The Display Engine.
DtPropTypeComboBoxmyPropTypeCombo
 Combo for selecting a prop type.
DtModelDefinitionComboBoxmyModelDefCombo
 Combo for selecting a model definition.
QListWidget * myReferencesList
 List box of external references.
QLabelmyHelpLabel
 A label with some helpful information.
QPushButtonmyExtractButton
 The extract all button.

Additional Inherited Members

- Public Types inherited from makVrv::DtExtractPropsInterface
typedef std::set< std::string > SearchCandidateSet
- Public Attributes inherited from makVrv::DtExtractPropsInterface
boost::signal< void(const
std::string &expression, bool
isRegEx, const std::string
&type, const std::string
&modelDef)> 
signal_extractProps
 Signal emitted when a rule has been created by the user.
boost::signal< void()> signal_extractAllExternalRefs
 Signal emitted when the user has requested that all external references be extracted (i.e.

Detailed Description

Widget for extracting external references to props.

Constructor & Destructor Documentation

makVrv::DtExtractReferencesWidget::DtExtractReferencesWidget ( DtDe de,
QWidget parent 
)

CTOR.

makVrv::DtExtractReferencesWidget::~DtExtractReferencesWidget ( )

DTOR.

Member Function Documentation

virtual void makVrv::DtExtractReferencesWidget::setSearchCandidateSet ( const DtExtractPropsInterface::SearchCandidateSet scSet)
virtual

Set the search candidates.

Implements makVrv::DtExtractPropsInterface.

virtual void makVrv::DtExtractReferencesWidget::addExtraction ( const std::string &  searchExp,
const std::string &  type 
)
virtual

Add a rule to the list GUI.

Implements makVrv::DtExtractPropsInterface.

virtual void makVrv::DtExtractReferencesWidget::reset ( )
virtual

Reset the GUI Deselects all external references.

Implements makVrv::DtExtractPropsInterface.

virtual void makVrv::DtExtractReferencesWidget::setValidSchemas ( const std::vector< std::string > &  schemaNames)
virtual

Set the valid schema types for props.

Implements makVrv::DtExtractPropsInterface.

void makVrv::DtExtractReferencesWidget::clear ( )

Clear the widget's entries.

virtual void makVrv::DtExtractReferencesWidget::onExtractClicked ( )
protectedvirtualslot

Signal emitted when the user has asked to add a rule.

Called when the user clicks the extract selection button

virtual void makVrv::DtExtractReferencesWidget::onSelectAllClicked ( )
protectedvirtualslot

Called when the user clicks select all.

virtual void makVrv::DtExtractReferencesWidget::onDeselectAllClicked ( )
protectedvirtualslot

Called when the user clicks deselect all.

virtual void makVrv::DtExtractReferencesWidget::onPropTypeComboChanged ( const QString &  text)
protectedvirtualslot

Called when the user changes the prop type combo selection.

virtual void makVrv::DtExtractReferencesWidget::onModelDefinitionComboChanged ( const QString &  text)
protectedvirtualslot

Called when the user changes the model def combo selection.

void makVrv::DtExtractReferencesWidget::setupGui ( )
protected

Set up the GUI.

Member Data Documentation

DtPropTypeComboBox* makVrv::DtExtractReferencesWidget::myPropTypeCombo
protected

Combo for selecting a prop type.

DtModelDefinitionComboBox* makVrv::DtExtractReferencesWidget::myModelDefCombo
protected

Combo for selecting a model definition.

QListWidget* makVrv::DtExtractReferencesWidget::myReferencesList
protected

List box of external references.

QLabel* makVrv::DtExtractReferencesWidget::myHelpLabel
protected

A label with some helpful information.

QPushButton* makVrv::DtExtractReferencesWidget::myExtractButton
protected

The extract all button.

DtPropTypeComboBox::DtPropTypeList makVrv::DtExtractReferencesWidget::myTypes
protected

The list of prop types.

std::string makVrv::DtExtractReferencesWidget::myCurrentType
protected

The currently selected prop type.

std::string makVrv::DtExtractReferencesWidget::myCurrentModelDefinition
protected

The currently selected model definition.

DtDe& makVrv::DtExtractReferencesWidget::myDe
protected

The Display Engine.


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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)