VR-Forces 5.0.2 Developer's Guide
 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.

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

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 &)
 
const DtEntityType & defaultWeatherTypeToCreate () const
 

Public Attributes

Ui_DtLocalWeatherManagerWidgetUI myUiImpl
 

Protected Types

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

Protected Slots

virtual void itemClicked (QTreeWidgetItem *)
 
virtual void itemDoubleClicked (QTreeWidgetItem *)
 
virtual void createLocalWeather ()
 
virtual void deleteLocalWeather ()
 
virtual void editLocalWeather ()
 
virtual void editLocalWeatherConditions ()
 
virtual void updateButtons (QTreeWidgetItem *)
 
virtual void setPriorityFor (makVrv::DtUniqueID, int priority)
 
virtual void increasePriority ()
 
virtual void decreasePriority ()
 
virtual void weatherAreaFilledChanged ()
 

Protected Member Functions

void setupGui ()
 
void initConnections ()
 
virtual makVrv::DtElementID idFromItem (QTreeWidgetItem *) const
 
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 > *)
 
virtual void slot_weatherUpdated (const makVrv::DtStateView< DtVrlinkSimulatedWeatherState > *state)
 
virtual void slot_removed (makVrv::DtElementID)
 
virtual makVrv::DtUniqueID idWithPriority (int p) const
 
virtual void slot_applicationSettingsChanged ()
 
virtual void updateWeatherConditionsIcon ()
 

Protected Attributes

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

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::updateWeatherConditionsIcon ( )
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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)