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 More... | |
void | switchTimeFormat () |
switch time format More... | |
TimeFormat (GNEViewNet *viewNet) | |
default constructor More... | |
void | updateButtonLabel () |
update button label More... | |
Private Member Functions | |
TimeFormat & | operator= (const TimeFormat &)=delete |
Invalidated assignment operator. More... | |
TimeFormat (const TimeFormat &)=delete | |
Invalidated copy constructor. More... | |
Private Attributes | |
MFXButtonTooltip * | mySwitchButton = nullptr |
checkable button for switch between timeSteps and HH:MM:SS More... | |
GNEViewNet * | myViewNet |
pointer to net More... | |
struct used to group all variables related with time format
Definition at line 537 of file GNEViewNetHelper.h.
GNEViewNetHelper::TimeFormat::TimeFormat | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 2002 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEViewNetHelper::TimeFormat::buildTimeFormatButtons | ( | ) |
build time format buttons
Definition at line 2008 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 2019 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 2031 of file GNEViewNetHelper.cpp.
References gHumanReadableTime.
Referenced by GNEApplicationWindow::onUpdToggleTimeFormat().
|
private |
checkable button for switch between timeSteps and HH:MM:SS
Definition at line 556 of file GNEViewNetHelper.h.
|
private |
pointer to net
Definition at line 553 of file GNEViewNetHelper.h.