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

DtLocalWeatherManagerWidget. More...

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

Classes

struct  WeatherState
 

Public Member Functions

 DtLocalWeatherManagerWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
 
virtual ~DtLocalWeatherManagerWidget ()
 
virtual void setDefaultWeatherTypeToCreate (const DtEntityType &)
 When creating a weather area from this dialog, the default type to create. Initially box. More...
 
const DtEntityType & defaultWeatherTypeToCreate () const
 

Public Attributes

Ui_DtLocalWeatherManagerWidgetUI myUiImpl
 

Protected Types

typedef std::map
< makVrv::DtElementID,
WeatherState
LocalWeatherItemsMap
 

Protected Slots

virtual void itemClicked (QTreeWidgetItem *)
 Called when an item is selected, enables edit and delete buttons, if item is editable. More...
 
virtual void itemDoubleClicked (QTreeWidgetItem *)
 Called when an item is double clicked, edits item if editable. More...
 
virtual void createLocalWeather ()
 Starts area creation process. More...
 
virtual void deleteLocalWeather ()
 Deletes selected area. More...
 
virtual void editLocalWeather ()
 Edits selected area. More...
 
virtual void editLocalWeatherConditions ()
 
virtual void updateButtons (QTreeWidgetItem *)
 Updates button state based on passed in item. More...
 
virtual void setPriorityFor (makVrv::DtUniqueID, int priority)
 
virtual void increasePriority ()
 
virtual void decreasePriority ()
 
virtual void weatherAreaFilledChanged ()
 

Protected Member Functions

void setupGui ()
 Sets up the UI. Called from constructor. More...
 
void initConnections ()
 
virtual makVrv::DtElementID idFromItem (QTreeWidgetItem *) const
 Returns the element id from the tree widget item. More...
 
virtual void selectionChanged (const makVrv::DtSelectionManager::IdSet &selected, const makVrv::DtSelectionManager::IdSet &deselected)
 
virtual void editingOrCreateChanged ()
 
virtual void slot_updated (const makVrv::DtStateView< makVrf::DtVrlinkSimulatedEnvironmentProcess > *)
 Called when data has been updated, update dialog if needed. More...
 
virtual void slot_weatherUpdated (const makVrv::DtStateView< DtVrlinkSimulatedWeatherState > *state)
 
virtual void slot_removed (makVrv::DtElementID)
 Called when an item is removed. Remove from dialog if need be. More...
 
virtual makVrv::DtUniqueID idWithPriority (int p) const
 
virtual void slot_applicationSettingsChanged ()
 

Protected Attributes

makVrv::DtDemyDe
 
makVrv::DtSignalConnectionManager myConnectionManager
 
bool myInCreationMode
 
LocalWeatherItemsMap myLocalWeather
 
DtEntityType myDefaultWeatherTypeToCreate
 

Detailed Description

DtLocalWeatherManagerWidget.

Dialog that will allow for the display, modification, adding and removal of local weather objects

Member Typedef Documentation

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void makVrf::DtLocalWeatherManagerWidget::setDefaultWeatherTypeToCreate ( const DtEntityType &  )
virtual

When creating a weather area from this dialog, the default type to create. Initially box.

const DtEntityType& makVrf::DtLocalWeatherManagerWidget::defaultWeatherTypeToCreate ( ) const
inline
void makVrf::DtLocalWeatherManagerWidget::setupGui ( )
protected

Sets up the UI. Called from constructor.

void makVrf::DtLocalWeatherManagerWidget::initConnections ( )
protected
virtual makVrv::DtElementID makVrf::DtLocalWeatherManagerWidget::idFromItem ( QTreeWidgetItem ) const
protectedvirtual

Returns the element id from the tree widget item.

virtual void makVrf::DtLocalWeatherManagerWidget::selectionChanged ( const makVrv::DtSelectionManager::IdSet selected,
const makVrv::DtSelectionManager::IdSet deselected 
)
protectedvirtual
virtual void makVrf::DtLocalWeatherManagerWidget::editingOrCreateChanged ( )
protectedvirtual
virtual void makVrf::DtLocalWeatherManagerWidget::slot_updated ( const makVrv::DtStateView< makVrf::DtVrlinkSimulatedEnvironmentProcess > *  )
protectedvirtual

Called when data has been updated, update dialog if needed.

virtual void makVrf::DtLocalWeatherManagerWidget::slot_weatherUpdated ( const makVrv::DtStateView< DtVrlinkSimulatedWeatherState > *  state)
protectedvirtual
virtual void makVrf::DtLocalWeatherManagerWidget::slot_removed ( makVrv::DtElementID  )
protectedvirtual

Called when an item is removed. Remove from dialog if need be.

virtual makVrv::DtUniqueID makVrf::DtLocalWeatherManagerWidget::idWithPriority ( int  p) const
protectedvirtual
virtual void makVrf::DtLocalWeatherManagerWidget::slot_applicationSettingsChanged ( )
protectedvirtual
virtual void makVrf::DtLocalWeatherManagerWidget::itemClicked ( QTreeWidgetItem )
protectedvirtualslot

Called when an item is selected, enables edit and delete buttons, if item is editable.

virtual void makVrf::DtLocalWeatherManagerWidget::itemDoubleClicked ( QTreeWidgetItem )
protectedvirtualslot

Called when an item is double clicked, edits item if editable.

virtual void makVrf::DtLocalWeatherManagerWidget::createLocalWeather ( )
protectedvirtualslot

Starts area creation process.

virtual void makVrf::DtLocalWeatherManagerWidget::deleteLocalWeather ( )
protectedvirtualslot

Deletes selected area.

virtual void makVrf::DtLocalWeatherManagerWidget::editLocalWeather ( )
protectedvirtualslot

Edits selected area.

virtual void makVrf::DtLocalWeatherManagerWidget::editLocalWeatherConditions ( )
protectedvirtualslot
virtual void makVrf::DtLocalWeatherManagerWidget::updateButtons ( QTreeWidgetItem )
protectedvirtualslot

Updates button state based on passed in item.

virtual void makVrf::DtLocalWeatherManagerWidget::setPriorityFor ( makVrv::DtUniqueID  ,
int  priority 
)
protectedvirtualslot
virtual void makVrf::DtLocalWeatherManagerWidget::increasePriority ( )
protectedvirtualslot
virtual void makVrf::DtLocalWeatherManagerWidget::decreasePriority ( )
protectedvirtualslot
virtual void makVrf::DtLocalWeatherManagerWidget::weatherAreaFilledChanged ( )
protectedvirtualslot

Member Data Documentation

makVrv::DtDe& makVrf::DtLocalWeatherManagerWidget::myDe
protected
makVrv::DtSignalConnectionManager makVrf::DtLocalWeatherManagerWidget::myConnectionManager
protected
bool makVrf::DtLocalWeatherManagerWidget::myInCreationMode
protected
LocalWeatherItemsMap makVrf::DtLocalWeatherManagerWidget::myLocalWeather
protected
DtEntityType makVrf::DtLocalWeatherManagerWidget::myDefaultWeatherTypeToCreate
protected
Ui_DtLocalWeatherManagerWidgetUI makVrf::DtLocalWeatherManagerWidget::myUiImpl

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)