![]() |
VR-Forces Developer's Guide
|
Dialog that will allow for the display, modification, adding and removal of local weather objects

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 () |
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::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| bool | myInCreationMode |
| LocalWeatherItemsMap | myLocalWeather |
| DtEntityType | myDefaultWeatherTypeToCreate |
|
protected |
| makVrf::DtLocalWeatherManagerWidget::DtLocalWeatherManagerWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
When creating a weather area from this dialog, the default type to create. Initially box.
|
inline |
|
protected |
Sets up the UI. Called from constructor.
|
protected |
|
protectedvirtual |
Returns the element id from the tree widget item.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Called when data has been updated, update dialog if needed.
|
protectedvirtual |
|
protectedvirtual |
Called when an item is removed. Remove from dialog if need be.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtualslot |
Called when an item is selected, enables edit and delete buttons, if item is editable.
|
protectedvirtualslot |
Called when an item is double clicked, edits item if editable.
|
protectedvirtualslot |
Starts area creation process.
|
protectedvirtualslot |
Deletes selected area.
|
protectedvirtualslot |
Edits selected area.
|
protectedvirtualslot |
|
protectedvirtualslot |
Updates button state based on passed in item.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| Ui_DtLocalWeatherManagerWidgetUI makVrf::DtLocalWeatherManagerWidget::myUiImpl |