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

!!!!!!!!!! DtSimulationCommandSimulationCommandWidget More...

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

Public Member Functions

 DtSimulationCommandStealthCommandWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
virtual ~DtSimulationCommandStealthCommandWidget ()
- Public Member Functions inherited from makVrf::DtSimulationCommandDialogInterface
 DtSimulationCommandDialogInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
- Public Member Functions inherited from makVrf::DtBaseTaskSetDialogInterface
 DtBaseTaskSetDialogInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
virtual ~DtBaseTaskSetDialogInterface ()
virtual void run (const std::vector< makVrv::DtSimEntry * > &)
 Calls setupGui and shows the dialog.
virtual void setOKEnabled (bool)
 Enables/disables OK button.
int accepted () const
 0 - Closed without pressing cancel or ok 1 - Closed by ok 2 - Closed by cancel
virtual void setupGui (const std::vector< makVrv::DtSimEntry * > &)
 Sets up the ok/cancel buttons.
- Public Member Functions inherited from makVrf::DtTaskSetDialogInterface
 DtTaskSetDialogInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
virtual ~DtTaskSetDialogInterface ()
virtual void connectSignals (const std::vector< makVrv::DtSimEntry * > &)
 Setup signals to cancel dialog if all objects deleted that this dialog is representing.
virtual void setSendToRemoteController (bool b)
 Set to true to send the message immediately to the remote controller given the currently selected entities when the dialog was created.
virtual bool sendToRemoteController () const
virtual void selectionChanged (const DtUUID &selection)
 Notify dialog of selection changes from attached dialogs.
virtual void sendSetRequest (std::vector< DtUUID > names, const DtSetDataRequest &)
 Sends signal to send out set.
virtual bool insertMapFocusHandler (DtMapFocusHandler *, int index=-1)
 If a dialog has manages map focus handlers, inserts this map focus handler into the chain.
virtual void initializeFromAction (DtVrfTaskSetAction *)
 Intializes contents from action as an action could have relevant properties assigned to it containing additional data.
virtual void sendTaskRequest (std::vector< DtUUID > names, const DtSimTask &)
 Sends signal to send out task.
virtual std::vector< DtUUIDnames () const
virtual void setPartOfPlan (int b)
 0 - Not part of plan dialog 1 - Part of plan dialog 2 - Part of command widget 3 - Part of embedded entity menu
int partOfPlan () const
virtual void cancel ()
 Sends out cancel signal.
virtual QWidgetwidget ()
 Returns the widget.
const std::vector
< makVrv::DtSimEntry * > & 
connectedTo () const
- Public Member Functions inherited from makVrf::DtCommandDialogExtensionInterface
virtual ~DtCommandDialogExtensionInterface ()
virtual bool initiallyBroadcast () const
 Whether or not to initially set to broadcast. Default is false.
virtual bool allowBroadcasting () const
 Whether or not to allow broadcasting. Default is true.
virtual void onCancel ()=0
virtual makVrv::DtUnicode broadcastTitle () const

Public Attributes

QWidgetmyCanvas
QVBoxLayout * myMainLayout
QHBoxLayout * myStealthCommandsLayout
QWidgetmyStealthCommandsWidget
QLabelmyStealthCommandsLabel
QComboBoxmyStealthCommandsCombo
DtScriptedTaskDialogmyVariables

Protected Slots

virtual void stealthCommandChanged ()

Protected Member Functions

virtual QWidgetcontents (const std::vector< makVrv::DtSimEntry * > &data)
 Creates set dialog contents. Called from setupGui.
virtual void sendRequest ()
 Override to send the set or task request.
virtual void setupStatement (const DtSimStatement *)
virtual bool wantsSelectionOfObjectInCommandMode () const
 Override to return false if, when this task is used as part of a simulation command, it does not want to allow to choose an object to apply the command to.
virtual void initializeItems (const std::vector< makVrv::DtSimEntry * > &data)
 Override for dialogs that need item initialization.
virtual bool valid () const
 Override to return whether or not extension is valid.
virtual void validate ()
virtual void resizeWidgetToContents ()
virtual void showEvent (QShowEvent *)
- Protected Member Functions inherited from makVrf::DtSimulationCommandDialogInterface
virtual std::vector< std::string > commandDialogFiltersFor (const std::vector< makVrv::DtSimEntry * > &data, const DtSimStatement *stmt, int &initialSelection) const
 If part of a command dialog the filters to use for the command dialog selection.
- Protected Member Functions inherited from makVrf::DtBaseTaskSetDialogInterface
virtual void postGuiSetup (const std::vector< makVrv::DtSimEntry * > &data)
 Called after setupGui to set up other items in the gui (fill combo boxes, initial text edit, etc)
virtual void closeEvent (QCloseEvent *)
 Figure out if a cancelled signal needs to be sent.
virtual bool editStatement (const std::vector< makVrv::DtSimEntry * > &, const DtSimStatement *)
 Edits the current statement. Return true if the statement can be edited.
virtual void setupFrom (const std::vector< makVrv::DtSimEntry * > &s)
 Sets up dialog by asking logic to do it.
virtual void sendSetRequest (const DtSetDataRequest &)
virtual void sendTaskRequest (const DtSimTask &)
virtual void sendCommandRequest (const DtSimCommandObjectWrapper &)
 Sends signal to send out command.
- Protected Member Functions inherited from makVrf::DtTaskSetDialogInterface
virtual void slot_objectAboutToBeRemoved (makVrv::DtSimObjectEntry &)

Protected Attributes

DtStealthCommandCommandmyStealthCommand

Detailed Description

!!!!!!!!!! DtSimulationCommandSimulationCommandWidget

Constructor & Destructor Documentation

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

Member Function Documentation

virtual QWidget* makVrf::DtSimulationCommandStealthCommandWidget::contents ( const std::vector< makVrv::DtSimEntry * > &  data)
protectedvirtual

Creates set dialog contents. Called from setupGui.

Reimplemented from makVrf::DtSimulationCommandDialogInterface.

virtual void makVrf::DtSimulationCommandStealthCommandWidget::sendRequest ( )
protectedvirtual

Override to send the set or task request.

Implements makVrf::DtBaseTaskSetDialogInterface.

virtual void makVrf::DtSimulationCommandStealthCommandWidget::setupStatement ( const DtSimStatement )
protectedvirtual
virtual bool makVrf::DtSimulationCommandStealthCommandWidget::wantsSelectionOfObjectInCommandMode ( ) const
protectedvirtual

Override to return false if, when this task is used as part of a simulation command, it does not want to allow to choose an object to apply the command to.

Calls down to logic with method of same name

Reimplemented from makVrf::DtBaseTaskSetDialogInterface.

virtual void makVrf::DtSimulationCommandStealthCommandWidget::initializeItems ( const std::vector< makVrv::DtSimEntry * > &  data)
protectedvirtual

Override for dialogs that need item initialization.

Reimplemented from makVrf::DtBaseTaskSetDialogInterface.

virtual bool makVrf::DtSimulationCommandStealthCommandWidget::valid ( ) const
protectedvirtual

Override to return whether or not extension is valid.

Reimplemented from makVrf::DtBaseTaskSetDialogInterface.

virtual void makVrf::DtSimulationCommandStealthCommandWidget::validate ( )
protectedvirtual
virtual void makVrf::DtSimulationCommandStealthCommandWidget::resizeWidgetToContents ( )
protectedvirtual
virtual void makVrf::DtSimulationCommandStealthCommandWidget::showEvent ( QShowEvent *  )
protectedvirtual
virtual void makVrf::DtSimulationCommandStealthCommandWidget::stealthCommandChanged ( )
protectedvirtualslot

Member Data Documentation

QWidget* makVrf::DtSimulationCommandStealthCommandWidget::myCanvas
QVBoxLayout* makVrf::DtSimulationCommandStealthCommandWidget::myMainLayout
QHBoxLayout* makVrf::DtSimulationCommandStealthCommandWidget::myStealthCommandsLayout
QWidget* makVrf::DtSimulationCommandStealthCommandWidget::myStealthCommandsWidget
QLabel* makVrf::DtSimulationCommandStealthCommandWidget::myStealthCommandsLabel
QComboBox* makVrf::DtSimulationCommandStealthCommandWidget::myStealthCommandsCombo
DtScriptedTaskDialog* makVrf::DtSimulationCommandStealthCommandWidget::myVariables
DtStealthCommandCommand* makVrf::DtSimulationCommandStealthCommandWidget::myStealthCommand
protected

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)