![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct used to group all variables related with time format More...
#include <GNEViewNetHelper.h>
Public Member Functions | |
| void | buildTimeFormatButtons () |
| build time format buttons | |
| void | switchTimeFormat () |
| switch time format | |
| TimeFormat (GNEViewNet *viewNet) | |
| default constructor | |
| void | updateButtonLabel () |
| update button label | |
Private Member Functions | |
| TimeFormat & | operator= (const TimeFormat &)=delete |
| Invalidated assignment operator. | |
| TimeFormat (const TimeFormat &)=delete | |
| Invalidated copy constructor. | |
Private Attributes | |
| MFXButtonTooltip * | mySwitchButton = nullptr |
| checkable button for switch between timeSteps and HH:MM:SS | |
| GNEViewNet * | myViewNet |
| pointer to net | |
struct used to group all variables related with time format
Definition at line 695 of file GNEViewNetHelper.h.
| GNEViewNetHelper::TimeFormat::TimeFormat | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 2327 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
| void GNEViewNetHelper::TimeFormat::buildTimeFormatButtons | ( | ) |
build time format buttons
Definition at line 2333 of file GNEViewNetHelper.cpp.
References gHumanReadableTime, GUIDesignButtonToolbar, MID_GNE_TOGGLE_TIMEFORMAT, and TL.
Referenced by GNEViewNet::buildEditModeControls().
|
privatedelete |
Invalidated assignment operator.
| void GNEViewNetHelper::TimeFormat::switchTimeFormat | ( | ) |
switch time format
Definition at line 2344 of file GNEViewNetHelper.cpp.
References OptionsCont::getOptions(), gHumanReadableTime, OptionsCont::resetWritable(), OptionsCont::set(), and toString().
Referenced by GNEApplicationWindow::onCmdToggleTimeFormat().
| void GNEViewNetHelper::TimeFormat::updateButtonLabel | ( | ) |
update button label
Definition at line 2356 of file GNEViewNetHelper.cpp.
References gHumanReadableTime.
Referenced by GNEApplicationWindow::onUpdToggleTimeFormat().
|
private |
checkable button for switch between timeSteps and HH:MM:SS
Definition at line 714 of file GNEViewNetHelper.h.
|
private |
pointer to net
Definition at line 711 of file GNEViewNetHelper.h.