VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtCrowdCreationDialog Class Reference
Inheritance diagram for makVrf::DtCrowdCreationDialog:
Inheritance graph
[legend]

Public Member Functions

 DtCrowdCreationDialog (makVrv::DtDe &de, QWidget *parent=0, const Qt::WindowFlags &flags=0)
virtual ~DtCrowdCreationDialog ()
virtual int exec ()
virtual void displayDialog ()
virtual void setWaypoint (const DtUUID &)
 Was: setWaypointName.
virtual DtUUID waypoint () const
 Was: waypointName.
virtual void setArea (const DtUUID &)
 Was: setAreaName.
virtual DtUUID area () const
 Was: areaName.
virtual void processCreateNewWaypoint ()
 tells the creation manager to begin to create a waypoint object
virtual void processCreateNewArea ()
 tells the creation manager to begin to create an area object
virtual void processAccept (const DtIfCreateMultipleEntities &msg)
 Creates and sends the DtIfCreateMultipleEntities message to the sim engine.

Public Attributes

Ui::CrowdCreationDialogUi myUiImpl

Protected Slots

virtual void onAddWaypointButtonClicked ()
 Invoked when the "Add Waypont" button is pressed.
virtual void onAddAreaButtonClicked ()
 Invoked when the "Add Area" button is pressed.
virtual void onNewObject ()
 Invoked when the "New" button is pressed.
virtual void accept ()
 Invoked when the Ok button of this dialog is pressed.
virtual void cancel ()
 Invoked when the Cancel button of this dialog is pressed.
virtual void addNewEntityToCreate (const DtCreateItemData &)
 Invoked when the dialog that adds a new entity is ok'd.
virtual void onDeleteObject ()
 Invoked when the "Delete" button is pressed.
virtual void editItem (const DtCreateItemData &)
 Invoked when the dialog that edits the information of an entity displayed on the list of entities to create is Ok'd.
virtual void onEditObject ()
 Invoked when the "Edit" button is pressed.
virtual void entityDialogClosed ()
 Invoked when the dialog that adds a new entity is closing.
virtual void numberToCreateChanged (QTreeWidgetItem *, int)
virtual void updateButtons ()
 Updates the status of the buttons inside the dialog.

Protected Member Functions

virtual void setupGui ()
virtual void slot_onWaypointAdded (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s)
virtual void slot_onAreaAdded (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s)
virtual QString getNextAvailableGroupName () const
 Automatically generates a valid group name Currently not implemented.
virtual void keyPressEvent (QKeyEvent *e)
virtual void setup (QTreeWidgetItem *item, const DtCreateItemData &d)
 This routine is called when adding/editing an entity to create It populates the different columns of the item with the information associated with the item data sent as argument.
virtual void updateTotal ()
 Updates the total count of entities to be added.

Protected Attributes

makVrv::DtDemyDe
makVrf::DtVrfFilteredListViewmyWaypointSelection
makVrf::DtVrfFilteredListViewmyAreaSelection
QHash< QTreeWidgetItem
*, DtCreateItemData
myItemMap
QTreeWidgetItemmyEditItem
makVrv::DtSignalConnectionManager myConnectionManager

Constructor & Destructor Documentation

makVrf::DtCrowdCreationDialog::DtCrowdCreationDialog ( makVrv::DtDe de,
QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
)
virtual makVrf::DtCrowdCreationDialog::~DtCrowdCreationDialog ( )
virtual

Member Function Documentation

virtual int makVrf::DtCrowdCreationDialog::exec ( )
virtual
virtual void makVrf::DtCrowdCreationDialog::displayDialog ( )
virtual
virtual void makVrf::DtCrowdCreationDialog::setWaypoint ( const DtUUID )
virtual

Was: setWaypointName.

virtual DtUUID makVrf::DtCrowdCreationDialog::waypoint ( ) const
virtual

Was: waypointName.

virtual void makVrf::DtCrowdCreationDialog::setArea ( const DtUUID )
virtual

Was: setAreaName.

virtual DtUUID makVrf::DtCrowdCreationDialog::area ( ) const
virtual

Was: areaName.

virtual void makVrf::DtCrowdCreationDialog::processCreateNewWaypoint ( )
virtual

tells the creation manager to begin to create a waypoint object

virtual void makVrf::DtCrowdCreationDialog::processCreateNewArea ( )
virtual

tells the creation manager to begin to create an area object

virtual void makVrf::DtCrowdCreationDialog::processAccept ( const DtIfCreateMultipleEntities msg)
virtual

Creates and sends the DtIfCreateMultipleEntities message to the sim engine.

virtual void makVrf::DtCrowdCreationDialog::setupGui ( )
protectedvirtual
virtual void makVrf::DtCrowdCreationDialog::slot_onWaypointAdded ( makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *  s)
protectedvirtual
virtual void makVrf::DtCrowdCreationDialog::slot_onAreaAdded ( makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *  s)
protectedvirtual
virtual void makVrf::DtCrowdCreationDialog::onAddWaypointButtonClicked ( )
protectedvirtualslot

Invoked when the "Add Waypont" button is pressed.

Allows user to add a new waypoint which is then automatically selected

virtual void makVrf::DtCrowdCreationDialog::onAddAreaButtonClicked ( )
protectedvirtualslot

Invoked when the "Add Area" button is pressed.

Allows user to add a new area which is then automatically selected

virtual void makVrf::DtCrowdCreationDialog::onNewObject ( )
protectedvirtualslot

Invoked when the "New" button is pressed.

Opens up a DtNewCrowdItemDialog to configure the type of crowd to be created in the selected area.

virtual void makVrf::DtCrowdCreationDialog::accept ( )
protectedvirtualslot

Invoked when the Ok button of this dialog is pressed.

virtual void makVrf::DtCrowdCreationDialog::cancel ( )
protectedvirtualslot

Invoked when the Cancel button of this dialog is pressed.

virtual void makVrf::DtCrowdCreationDialog::addNewEntityToCreate ( const DtCreateItemData )
protectedvirtualslot

Invoked when the dialog that adds a new entity is ok'd.

virtual void makVrf::DtCrowdCreationDialog::onDeleteObject ( )
protectedvirtualslot

Invoked when the "Delete" button is pressed.

virtual void makVrf::DtCrowdCreationDialog::editItem ( const DtCreateItemData )
protectedvirtualslot

Invoked when the dialog that edits the information of an entity displayed on the list of entities to create is Ok'd.

virtual void makVrf::DtCrowdCreationDialog::onEditObject ( )
protectedvirtualslot

Invoked when the "Edit" button is pressed.

virtual void makVrf::DtCrowdCreationDialog::entityDialogClosed ( )
protectedvirtualslot

Invoked when the dialog that adds a new entity is closing.

virtual void makVrf::DtCrowdCreationDialog::numberToCreateChanged ( QTreeWidgetItem ,
int   
)
protectedvirtualslot
virtual void makVrf::DtCrowdCreationDialog::updateButtons ( )
protectedvirtualslot

Updates the status of the buttons inside the dialog.

virtual QString makVrf::DtCrowdCreationDialog::getNextAvailableGroupName ( ) const
protectedvirtual

Automatically generates a valid group name Currently not implemented.

Current 3DGui does not support selection groups

virtual void makVrf::DtCrowdCreationDialog::keyPressEvent ( QKeyEvent *  e)
protectedvirtual
virtual void makVrf::DtCrowdCreationDialog::setup ( QTreeWidgetItem item,
const DtCreateItemData d 
)
protectedvirtual

This routine is called when adding/editing an entity to create It populates the different columns of the item with the information associated with the item data sent as argument.

virtual void makVrf::DtCrowdCreationDialog::updateTotal ( )
protectedvirtual

Updates the total count of entities to be added.

Member Data Documentation

Ui::CrowdCreationDialogUi makVrf::DtCrowdCreationDialog::myUiImpl
makVrv::DtDe& makVrf::DtCrowdCreationDialog::myDe
protected
makVrf::DtVrfFilteredListView* makVrf::DtCrowdCreationDialog::myWaypointSelection
protected
makVrf::DtVrfFilteredListView* makVrf::DtCrowdCreationDialog::myAreaSelection
protected
QHash<QTreeWidgetItem*, DtCreateItemData> makVrf::DtCrowdCreationDialog::myItemMap
protected
QTreeWidgetItem* makVrf::DtCrowdCreationDialog::myEditItem
protected
makVrv::DtSignalConnectionManager makVrf::DtCrowdCreationDialog::myConnectionManager
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)