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

Contains makVrf::DtSetStatePacingTrackingDialogs class. More...

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

Public Member Functions

 DtSetStatePacingTrackingDialog (makVrv::DtDe &de, QWidget *parent, const DtString &property, const Qt::WindowFlags &flags=0)
virtual ~DtSetStatePacingTrackingDialog ()
- Public Member Functions inherited from makVrf::DtSetStateFlattenedPropertyDialog
 DtSetStateFlattenedPropertyDialog (makVrv::DtDe &de, QWidget *parent, const DtString &prop, const DtString &element, const Qt::WindowFlags &flags=0)
virtual ~DtSetStateFlattenedPropertyDialog ()
- Public Member Functions inherited from makVrf::DtSetStatePropertiesDialog
 DtSetStatePropertiesDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
virtual ~DtSetStatePropertiesDialog ()
virtual void addProperty (const DtPropertyInterface *, bool merge=false)
 Adds a property to be able to be modified via the set command into the interface.
- 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.
virtual bool valid () const
 Override to return whether or not extension is valid.
int accepted () const
 0 - Closed without pressing cancel or ok 1 - Closed by ok 2 - Closed by cancel
- 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 QString &selection)
 Notify dialog of selection changes from attached dialogs.
virtual void sendSetRequest (std::vector< std::string > 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< std::string > names, const DtSimTask &)
 Sends signal to send out task.
virtual std::vector< std::string > names () 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 void onCancel ()=0
virtual makVrv::DtUnicode broadcastTitle () const

Protected Member Functions

virtual void addDataEntryIfModifiableValue (PropertyItem &item, const DtReaderWriter *rw, const DtString &pathSoFar, int level, bool updateExistingValue, int row)
 Create combo rather than line edit...
virtual void valueFromWidget (const PropertyItem &item, DtReaderWriter *rw) const
 Fills in the reader/writer value from the combo.
- Protected Member Functions inherited from makVrf::DtSetStateFlattenedPropertyDialog
virtual void setupGui (const std::vector< makVrv::DtSimEntry * > &data)
 If there is a single entry, find it's location and convert to local to set.
virtual void sendRequest ()
 Override to send the set or task request.
virtual DtString properties () const
 Properties used to check against to make sure this is an editable dialog. Returns base + "Pacing/Tracking".
virtual DtRwProperties createModifiedFlattenedPropertyStructure (const DtRwProperties &props) const
 Given the flat list of items modified, change that to the property structure.
virtual void mergeModifiedFlattened (DtReaderWriter *target, const DtReaderWriter *source) const
 Merges in modified pacing/tracking into full structure.
virtual void setupStatement (const DtSimStatement *stmt)
- Protected Member Functions inherited from makVrf::DtSetStatePropertiesDialog
virtual QWidgetcontents (const std::vector< makVrv::DtSimEntry * > &data)
 Creates set dialog contents. Called from setupGui.
virtual void setupFrom (const std::vector< makVrv::DtSimEntry * > &s)
 Sets up dialog by asking logic to do it.
virtual void cleanupPropertyItem (PropertyItem &) const
virtual void clearProperties ()
virtual void markAsReadOnly (PropertyItem &)
 Marks item and all children as read only. Hides check boxes and makes them unchecked.
virtual bool addPropertyItemForDataEntry (PropertyItem &, const DtReaderWriter *, const DtString &pathSoFar, int level, bool updateExistingValue=false)
 Adds in the property and all it's children.
virtual int addPropertyItemToDataSheet (PropertyItem &, const DtReaderWriter *, const DtString &pathSoFar, int level)
 Adds property item to data sheet except for data entry QLineEdit. adds only as a label. Returns the row added to.
virtual DtRwProperties modifiedProperties () const
virtual bool modifiedProperties (const PropertyItem &, DtReaderWriter *rw, bool parentItList=false) const
virtual void setupStateProperties (DtSetStateProperties *col)
virtual const DtReaderWriterbaseValueFor (const DtString &pathSoFar) const
virtual bool hasValue (const DtRwProperties &props, const DtString &val) const
 Returns true if the state properties have a non-zero top level value for the given item.
virtual void extract (std::vector< DtReaderWriter * > &allCounts, const DtString &extractionType, DtReaderWriter *curItem, const DtString &pathSoFar) const
 Returns all DtReaderWriter items that are extractionTypes items with the name set to the parent.
virtual void extractItemsFor (DtReaderWriter *, const DtString &extractionType, const DtString &title, DtRwProperties *container) const
 Sets up the property to only show the specified item with the item name that it is a count of.
virtual bool replace () const
 Determines whether or not a set replaces a property wholesale or simply look for matching items (in a list or map).
virtual DtString translationModule () const
 The module to use for translation of strings.
virtual bool valuesArePercentages (const std::vector< makVrv::DtSimEntry * > &data) const
 Returns whether or not the values should be displayed as percentages.
virtual bool sendValuesAsPercentages () const
 When sending the modification message, are the values contained a percentage of the current value? Default is myValuesArePercentages.
- 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 initializeItems (const std::vector< makVrv::DtSimEntry * > &data)
 Override for dialogs that need item initialization.
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 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 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 &)
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.

Additional Inherited Members

- Public Attributes inherited from makVrf::DtSetStatePropertiesDialog
QWidgetmyCanvas
QVBoxLayout * myMainLayout
QScrollArea * myScrollArea
QWidgetmyScrollAreaCanvas
QGridLayout * myGridLayout
QLabelmyNoItems
- Protected Types inherited from makVrf::DtSetStatePropertiesDialog
typedef std::map< DtString,
PropertyItem
PropertyItems
 The key is the propertyItem root name.
- Protected Slots inherited from makVrf::DtSetStatePropertiesDialog
virtual void modifyStateProperty ()
 Set to modify the property that has just been changed.
virtual void updateOkButton ()
- Protected Attributes inherited from makVrf::DtSetStateFlattenedPropertyDialog
std::map< DtString,
DtReaderWriter * > 
myBaseRwItems
DtString myElement

Detailed Description

Contains makVrf::DtSetStatePacingTrackingDialogs class.

This header file contains classes that will allow for the setting of packing/tracking items specifically via combo box

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void makVrf::DtSetStatePacingTrackingDialog::addDataEntryIfModifiableValue ( PropertyItem item,
const DtReaderWriter rw,
const DtString pathSoFar,
int  level,
bool  updateExistingValue,
int  row 
)
protectedvirtual

Create combo rather than line edit...

Reimplemented from makVrf::DtSetStatePropertiesDialog.

virtual void makVrf::DtSetStatePacingTrackingDialog::valueFromWidget ( const PropertyItem item,
DtReaderWriter rw 
) const
protectedvirtual

Fills in the reader/writer value from the combo.

Reimplemented from makVrf::DtSetStatePropertiesDialog.


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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)