VR-Forces 5.0.1 Developer's Guide
 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::DtSpawnSinkCreationDialog Class Reference
Inheritance diagram for makVrf::DtSpawnSinkCreationDialog:
Inheritance graph
[legend]

Public Member Functions

 DtSpawnSinkCreationDialog (makVrv::DtDe &de, QWidget *parent=0, const Qt::WindowFlags &flags=0)
 
virtual ~DtSpawnSinkCreationDialog ()
 
virtual int exec ()
 
virtual void init ()
 
virtual void slot_updatePatternList (const SpawnTemplateDescriptionList &patternList)
 

Public Attributes

Ui::SpawnSinkCreationDialogUi myUiImpl
 

Protected Slots

virtual void updateButtons ()
 
virtual void onCreateSpawnButtonClicked ()
 
virtual void onCreateSinkButtonClicked ()
 
virtual void onNewTemplateButtonClicked ()
 
virtual void slot_createSpawnTemplate (DtRwSpawnData &spawnData)
 
virtual void slot_editSpawnTemplate (DtRwSpawnData &spawnData)
 
virtual void onEditTemplateButtonClicked ()
 
virtual void onCopyTemplateButtonClicked ()
 
virtual void onDeleteTemplateButtonClicked ()
 
virtual void editCancelled ()
 
virtual void cancel ()
 

Protected Member Functions

virtual void setupGui ()
 
virtual void slot_creationStopped ()
 
virtual void slot_creatingObject ()
 
virtual void slot_spawnSinkPointCountUpdated (const SpawnTemplateDescriptionList &patternList)
 
virtual void processTemplateDataForCopy (DtSimMessage *rsp)
 
virtual void processTemplateDataForEdit (DtSimMessage *rsp)
 
virtual void disableButtons (bool b)
 
virtual void showEditTemplateDialog (const DtRwSpawnData &data)
 
virtual void showNewTemplateDialog (const DtRwSpawnData &data=DtRwSpawnData("spawn-data"))
 

Protected Attributes

makVrv::DtDemyDe
 
QStringList myTemplateNamesInUse
 
makVrv::DtSignalConnectionManager myConnectionManager
 
makVrv::DtSignalConnectionManager myObjectConnectionConnectionManager
 
DtString mySelectOnNextUpdate
 

Constructor & Destructor Documentation

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

Member Function Documentation

virtual int makVrf::DtSpawnSinkCreationDialog::exec ( )
virtual
virtual void makVrf::DtSpawnSinkCreationDialog::init ( )
virtual

Call before showing.

virtual void makVrf::DtSpawnSinkCreationDialog::slot_updatePatternList ( const SpawnTemplateDescriptionList patternList)
virtual
virtual void makVrf::DtSpawnSinkCreationDialog::setupGui ( )
protectedvirtual
virtual void makVrf::DtSpawnSinkCreationDialog::slot_creationStopped ( )
protectedvirtual
virtual void makVrf::DtSpawnSinkCreationDialog::slot_creatingObject ( )
protectedvirtual
virtual void makVrf::DtSpawnSinkCreationDialog::slot_spawnSinkPointCountUpdated ( const SpawnTemplateDescriptionList patternList)
protectedvirtual
virtual void makVrf::DtSpawnSinkCreationDialog::processTemplateDataForCopy ( DtSimMessage rsp)
protectedvirtual
virtual void makVrf::DtSpawnSinkCreationDialog::processTemplateDataForEdit ( DtSimMessage rsp)
protectedvirtual
virtual void makVrf::DtSpawnSinkCreationDialog::disableButtons ( bool  b)
protectedvirtual
virtual void makVrf::DtSpawnSinkCreationDialog::showEditTemplateDialog ( const DtRwSpawnData data)
protectedvirtual
virtual void makVrf::DtSpawnSinkCreationDialog::showNewTemplateDialog ( const DtRwSpawnData data = DtRwSpawnData("spawn-data"))
protectedvirtual
virtual void makVrf::DtSpawnSinkCreationDialog::updateButtons ( )
protectedvirtualslot

Updates the status of the buttons inside the dialog.

virtual void makVrf::DtSpawnSinkCreationDialog::onCreateSpawnButtonClicked ( )
protectedvirtualslot

Puts the dialog in a state where the user can click on the main map to create spawn points Each left click will create spawn point to be attached to the selected template. If no template is selected this button is disabled.Right click will end the creation state.

virtual void makVrf::DtSpawnSinkCreationDialog::onCreateSinkButtonClicked ( )
protectedvirtualslot

Puts the dialog in a state where the user can click on the main map to create spawn points Each left click will create spawn point. If no template is selected this button is disabled.Right click will end the creation state.

virtual void makVrf::DtSpawnSinkCreationDialog::onNewTemplateButtonClicked ( )
protectedvirtualslot

Pops up a new dialog to allow the user to enter parameters to create a new template.

virtual void makVrf::DtSpawnSinkCreationDialog::slot_createSpawnTemplate ( DtRwSpawnData spawnData)
protectedvirtualslot

Connects to the createTemplate signal, sends createSpawnTemplate message to selected backend.

virtual void makVrf::DtSpawnSinkCreationDialog::slot_editSpawnTemplate ( DtRwSpawnData spawnData)
protectedvirtualslot

Connects to the editTemplate signal, sends updateSpawnTemplate message to selected backend.

virtual void makVrf::DtSpawnSinkCreationDialog::onEditTemplateButtonClicked ( )
protectedvirtualslot

Pops up the template parameters dialog to allow the user to edit the parameters of the selected template. If no template is selected this button is disabled.

virtual void makVrf::DtSpawnSinkCreationDialog::onCopyTemplateButtonClicked ( )
protectedvirtualslot

Copies the currently selected template and gives a new name.

virtual void makVrf::DtSpawnSinkCreationDialog::onDeleteTemplateButtonClicked ( )
protectedvirtualslot

Deletes the selected template. If no template is selected this button is disabled.

virtual void makVrf::DtSpawnSinkCreationDialog::editCancelled ( )
protectedvirtualslot

Invoked when the child dialog cancels, used to reenable the buttons of this dialog.

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

Invoked when the Cancel button of this dialog is pressed.

Member Data Documentation

Ui::SpawnSinkCreationDialogUi makVrf::DtSpawnSinkCreationDialog::myUiImpl
makVrv::DtDe& makVrf::DtSpawnSinkCreationDialog::myDe
protected
QStringList makVrf::DtSpawnSinkCreationDialog::myTemplateNamesInUse
protected
makVrv::DtSignalConnectionManager makVrf::DtSpawnSinkCreationDialog::myConnectionManager
protected
makVrv::DtSignalConnectionManager makVrf::DtSpawnSinkCreationDialog::myObjectConnectionConnectionManager
protected
DtString makVrf::DtSpawnSinkCreationDialog::mySelectOnNextUpdate
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)