Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEVariableSpeedSignDialog Class Reference

#include <GNEVariableSpeedSignDialog.h>

Inheritance diagram for GNEVariableSpeedSignDialog:
[legend]
Collaboration diagram for GNEVariableSpeedSignDialog:
[legend]

Data Structures

class  VariableSpeedSignStepsList
 variableSpeedSign step list More...

Public Types

basic dialog type
enum class  Buttons {
  OK , YES_NO , YES_NO_CANCEL , ACCEPT ,
  ACCEPT_CANCEL , ACCEPT_CANCEL_RESET , SAVE_DONTSAVE_CANCEL , RUN_CANCEL_RESET ,
  RUN_ADVANCED_CANCEL , RERUN_BACK_OK , OK_COPY_REPORT
}
enum  Buttons
enum class  OpenType { MODAL , NON_MODAL }
 Open dialog type. More...
enum  OpenType
 Open dialog type. More...

Public Member Functions

GNEAdditionalgetElement () const
 get edited element
 GNEVariableSpeedSignDialog (GNEAdditional *variableSpeedSign)
 Constructor.
void runInternalTest (const InternalTestStep::DialogArgument *dialogArgument)
 run internal test
 ~GNEVariableSpeedSignDialog ()
 destructor
FOX-callbacks
long onCmdAccept (FXObject *, FXSelector, void *)
 event after press accept button
long onCmdReset (FXObject *, FXSelector, void *)
 event after press reset button
FOX-callbacks

event after press accept button

long onCmdCancel (FXObject *, FXSelector, void *)
 called when cancel or no button is pressed
long onCmdAbort (FXObject *, FXSelector, void *)
 called when abort is called either closing dialog or pressing abort button
FOX-callbacks
virtual long onCmdRun (FXObject *, FXSelector, void *)
 called when run button is pressed (must be reimplemented in children depending of Buttons)
virtual long onCmdRun (FXObject *, FXSelector, void *)
 called when run button is pressed (must be reimplemented in children depending of Buttons)
virtual long onCmdBack (FXObject *, FXSelector, void *)
 called when back button is pressed (must be reimplemented in children depending of Buttons)
virtual long onCmdBack (FXObject *, FXSelector, void *)
 called when back button is pressed (must be reimplemented in children depending of Buttons)
virtual long onCmdAdvanced (FXObject *, FXSelector, void *)
 called when advanced button is pressed (must be reimplemented in children depending of Buttons)
virtual long onCmdAdvanced (FXObject *, FXSelector, void *)
 called when advanced button is pressed (must be reimplemented in children depending of Buttons)
virtual long onCmdCopy (FXObject *, FXSelector, void *)
 called when copy button is pressed (must be reimplemented in children depending of Buttons)
virtual long onCmdCopy (FXObject *, FXSelector, void *)
 called when copy button is pressed (must be reimplemented in children depending of Buttons)
virtual long onCmdReport (FXObject *, FXSelector, void *)
 called when report button is pressed (must be reimplemented in children depending of Buttons)
virtual long onCmdReport (FXObject *, FXSelector, void *)
 called when report button is pressed (must be reimplemented in children depending of Buttons)
long onKeyPress (FXObject *obj, FXSelector sel, void *ptr)
 called when user presses a key on the dialog
long onKeyPress (FXObject *obj, FXSelector sel, void *ptr)
 called when user presses a key on the dialog
long onKeyRelease (FXObject *obj, FXSelector sel, void *ptr)
 called when user releases a key on the dialog
long onKeyRelease (FXObject *obj, FXSelector sel, void *ptr)
 called when user releases a key on the dialog

Protected Member Functions

long acceptElementDialog ()
 close dialog commiting changes
long closeDialogAborting ()
 close dialog aborting the changes
long closeDialogAborting ()
 close dialog aborting the changes
long closeDialogAccepting ()
 close dialog accepting the changes
long closeDialogAccepting ()
 close dialog accepting the changes
long closeDialogCanceling ()
 close dialog declining the changes
long closeDialogCanceling ()
 close dialog declining the changes
void openDialog (FXWindow *focusableElement=nullptr)
 open dialog
void openDialog (FXWindow *focusableElement=nullptr)
 open dialog
void resetChanges ()
 reset changes did in this dialog.
void updateIcon (GUIIcon newIcon)
 update icon
void updateIcon (GUIIcon newIcon)
 update icon
void updateTitle (const std::string &newTitle)
 update title
void updateTitle (const std::string &newTitle)
 update title

Protected Attributes

FXButton * myAbortButton = nullptr
 abort button
FXButton * myAbortButton
 abort button
FXButton * myAcceptButton = nullptr
 accept button
FXButton * myAcceptButton
 accept button
FXButton * myAdvancedButton = nullptr
 advanced button
FXButton * myAdvancedButton
 advanced button
GNEApplicationWindowmyApplicationWindow = nullptr
 FOX needs this.
GNEApplicationWindowmyApplicationWindow
 FOX needs this.
FXButton * myBackButton = nullptr
 back button
FXButton * myBackButton
 back button
FXButton * myCancelButton = nullptr
 cancel button
FXButton * myCancelButton
 cancel button
FXVerticalFrame * myContentFrame = nullptr
 content frame
FXVerticalFrame * myContentFrame
 content frame
FXButton * myCopyButton = nullptr
 copy button
FXButton * myCopyButton
 copy button
GNEAdditionalmyElement
 pointer to edited element
FXButton * myReportButton = nullptr
 report button
FXButton * myReportButton
 report button
FXButton * myResetButton = nullptr
 reset button
FXButton * myResetButton
 reset button
FXWindow * myRestoringFocusWindow = nullptr
 FXWindows that restoring focus window.
FXWindow * myRestoringFocusWindow
 FXWindows that restoring focus window.
Result myResult = Result::CANCEL
 result to indicate if this dialog was closed accepting or rejecting changes
Result myResult
 result to indicate if this dialog was closed accepting or rejecting changes
FXButton * myRunButton = nullptr
 run button
FXButton * myRunButton
 run button
DialogType myType = DialogType::DEFAULT
 dialog type
DialogType myType
 dialog type
VariableSpeedSignStepsListmyVariableSpeedSignSteps
 Element list for variableSpeedSign steps.

Private Member Functions

void buildDialog (GUIIcon titleIcon, Buttons buttons)
 build dialog
void buildDialog (GUIIcon titleIcon, Buttons buttons)
 build dialog
 GNEVariableSpeedSignDialog (const GNEVariableSpeedSignDialog &)=delete
 Invalidated copy constructor.
GNEVariableSpeedSignDialogoperator= (const GNEVariableSpeedSignDialog &)=delete
 Invalidated assignment operator.

Private Attributes

std::string myChangesDescription
 description of changes did in this element dialog
FXButton * myFocusButton = nullptr
 focus button, used for focusing the default button when dialog is opened
FXButton * myFocusButton
 focus button, used for focusing the default button when dialog is opened
OpenType myOpenType
 open type
OpenType myOpenType
 open type
bool myTesting = false
 flag to indicate if this dialog is being tested using internal test
bool myTesting
 flag to indicate if this dialog is being tested using internal test

Resize mode

Result getResult () const
 get result to indicate if this dialog was closed accepting or rejecting changes
Result getResult () const
 get result to indicate if this dialog was closed accepting or rejecting changes
GNEApplicationWindowgetApplicationWindow () const
 get pointer to the application window
GNEApplicationWindowgetApplicationWindow () const
 get pointer to the application window
FXVerticalFrame * getContentFrame () const
 get content frame
FXVerticalFrame * getContentFrame () const
 get content frame
void setRestoringFocusWindow (FXWindow *window)
 wet FXWindows uses for restoring focus
void setRestoringFocusWindow (FXWindow *window)
 wet FXWindows uses for restoring focus
enum class  ResizeMode { STATIC , RESIZABLE }
enum  ResizeMode
enum class  Result {
  ACCEPT , CANCEL , ABORT , ACCEPT_ALL ,
  CANCEL_ALL
}
 list of possible results when closing the dialog More...
enum  Result
 list of possible results when closing the dialog More...

Detailed Description

Definition at line 33 of file GNEVariableSpeedSignDialog.h.

Member Enumeration Documentation

◆ Buttons [1/2]

enum class GNEDialog::Buttons
stronginherited
Enumerator
OK 
YES_NO 
YES_NO_CANCEL 
ACCEPT 
ACCEPT_CANCEL 
ACCEPT_CANCEL_RESET 
SAVE_DONTSAVE_CANCEL 
RUN_CANCEL_RESET 
RUN_ADVANCED_CANCEL 
RERUN_BACK_OK 
OK_COPY_REPORT 

Definition at line 43 of file GNEDialog.h.

◆ Buttons [2/2]

enum GNEDialog::Buttons
stronginherited

Definition at line 43 of file GNEDialog.h.

◆ OpenType [1/2]

enum class GNEDialog::OpenType
stronginherited

Open dialog type.

Enumerator
MODAL 
NON_MODAL 

Definition at line 58 of file GNEDialog.h.

◆ OpenType [2/2]

enum GNEDialog::OpenType
stronginherited

Open dialog type.

Definition at line 58 of file GNEDialog.h.

◆ ResizeMode [1/2]

enum class GNEDialog::ResizeMode
stronginherited
Enumerator
STATIC 
RESIZABLE 

Definition at line 64 of file GNEDialog.h.

◆ ResizeMode [2/2]

enum GNEDialog::ResizeMode
stronginherited

Definition at line 64 of file GNEDialog.h.

◆ Result [1/2]

enum class GNEDialog::Result
stronginherited

list of possible results when closing the dialog

Enumerator
ACCEPT 
CANCEL 
ABORT 
ACCEPT_ALL 
CANCEL_ALL 

Definition at line 70 of file GNEDialog.h.

◆ Result [2/2]

enum GNEDialog::Result
stronginherited

list of possible results when closing the dialog

Definition at line 70 of file GNEDialog.h.

Constructor & Destructor Documentation

◆ GNEVariableSpeedSignDialog() [1/2]

GNEVariableSpeedSignDialog::GNEVariableSpeedSignDialog ( GNEAdditional * variableSpeedSign)

Constructor.

Definition at line 34 of file GNEVariableSpeedSignDialog.cpp.

References GNETemplateElementDialog< GNEAdditional >::GNETemplateElementDialog(), myVariableSpeedSignSteps, and GNETemplateElementDialog< GNEAdditional >::openDialog().

Referenced by GNEVariableSpeedSignDialog(), operator=(), and GNEVariableSpeedSignDialog::VariableSpeedSignStepsList::VariableSpeedSignStepsList().

Here is the caller graph for this function:

◆ ~GNEVariableSpeedSignDialog()

GNEVariableSpeedSignDialog::~GNEVariableSpeedSignDialog ( )

destructor

Definition at line 43 of file GNEVariableSpeedSignDialog.cpp.

◆ GNEVariableSpeedSignDialog() [2/2]

GNEVariableSpeedSignDialog::GNEVariableSpeedSignDialog ( const GNEVariableSpeedSignDialog & )
privatedelete

Invalidated copy constructor.

References GNEVariableSpeedSignDialog().

Member Function Documentation

◆ acceptElementDialog()

long GNETemplateElementDialog< GNEAdditional >::acceptElementDialog ( )
inlineprotectedinherited

close dialog commiting changes

Definition at line 88 of file GNETemplateElementDialog.h.

Referenced by GNECalibratorDialog::onCmdAccept(), GNERerouterDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), and GNEVariableSpeedSignDialog::onCmdAccept().

Here is the caller graph for this function:

◆ buildDialog() [1/2]

◆ buildDialog() [2/2]

void GNEDialog::buildDialog ( GUIIcon titleIcon,
GNEDialog::Buttons buttons )
privateinherited

build dialog

Definition at line 216 of file GNEDialog.cpp.

◆ closeDialogAborting() [1/2]

long GNEDialog::closeDialogAborting ( )
protectedinherited

close dialog aborting the changes

Definition at line 295 of file GNEDialog.cpp.

References ABORT, MODAL, myApplicationWindow, myOpenType, myRestoringFocusWindow, myResult, and myTesting.

Referenced by onCmdAbort(), GNEOverwriteElement::onCmdAbort(), GNETemplateElementDialog< T >::onCmdAbort(), and onKeyPress().

Here is the caller graph for this function:

◆ closeDialogAborting() [2/2]

long GNEDialog::closeDialogAborting ( )
protectedinherited

close dialog aborting the changes

Definition at line 197 of file GNEDialog.cpp.

◆ closeDialogAccepting() [1/2]

long GNEDialog::closeDialogAccepting ( )
protectedinherited

◆ closeDialogAccepting() [2/2]

long GNEDialog::closeDialogAccepting ( )
protectedinherited

close dialog accepting the changes

Definition at line 191 of file GNEDialog.cpp.

◆ closeDialogCanceling() [1/2]

◆ closeDialogCanceling() [2/2]

long GNEDialog::closeDialogCanceling ( )
protectedinherited

close dialog declining the changes

Definition at line 194 of file GNEDialog.cpp.

◆ getApplicationWindow() [1/2]

GNEApplicationWindow * GNEDialog::getApplicationWindow ( ) const
inherited

get pointer to the application window

Definition at line 102 of file GNEDialog.cpp.

References myApplicationWindow.

Referenced by GNEPythonToolDialog::buildArguments().

Here is the caller graph for this function:

◆ getApplicationWindow() [2/2]

get pointer to the application window

Definition at line 92 of file GNEDialog.cpp.

◆ getContentFrame() [1/2]

FXVerticalFrame * GNEDialog::getContentFrame ( ) const
inherited

get content frame

Definition at line 108 of file GNEDialog.cpp.

References myContentFrame.

Referenced by GNEColorDialog::GNEColorDialog(), and GNEVClassesDialog::GNEVClassesDialog().

Here is the caller graph for this function:

◆ getContentFrame() [2/2]

FXVerticalFrame * GNEDialog::getContentFrame ( ) const
inherited

get content frame

Definition at line 95 of file GNEDialog.cpp.

Referenced by GNERerouterDialog::RerouterIntervalsList::RerouterIntervalsList(), and GNEVariableSpeedSignDialog::VariableSpeedSignStepsList::VariableSpeedSignStepsList().

Here is the caller graph for this function:

◆ getElement()

GNEAdditional * GNETemplateElementDialog< GNEAdditional >::getElement ( ) const
inlineinherited

get edited element

Definition at line 50 of file GNETemplateElementDialog.h.

◆ getResult() [1/2]

GNEDialog::Result GNEDialog::getResult ( ) const
inherited

get result to indicate if this dialog was closed accepting or rejecting changes

Definition at line 96 of file GNEDialog.cpp.

References myResult.

Referenced by GNEDataHandler::checkDuplicatedDataSet(), GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEAdditionalHandler::checkElement(), GNERouteHandler::checkElement(), and GNEDistributionFrame::DistributionValuesEditor::onCmdAddRow().

Here is the caller graph for this function:

◆ getResult() [2/2]

get result to indicate if this dialog was closed accepting or rejecting changes

Definition at line 89 of file GNEDialog.cpp.

◆ onCmdAbort()

long GNETemplateElementDialog< GNEAdditional >::onCmdAbort ( FXObject * ,
FXSelector ,
void *  )
inlinevirtualinherited

called when abort is called either closing dialog or pressing abort button

Reimplemented from GNEDialog.

Definition at line 72 of file GNETemplateElementDialog.h.

◆ onCmdAccept()

long GNEVariableSpeedSignDialog::onCmdAccept ( FXObject * ,
FXSelector ,
void *  )
virtual

◆ onCmdAdvanced() [1/2]

long GNEDialog::onCmdAdvanced ( FXObject * ,
FXSelector ,
void *  )
virtualinherited

called when advanced button is pressed (must be reimplemented in children depending of Buttons)

Reimplemented in GNENetgenerateDialog.

Definition at line 156 of file GNEDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAdvanced() [2/2]

long GNEDialog::onCmdAdvanced ( FXObject * ,
FXSelector ,
void *  )
virtualinherited

called when advanced button is pressed (must be reimplemented in children depending of Buttons)

Definition at line 125 of file GNEDialog.cpp.

◆ onCmdBack() [1/2]

long GNEDialog::onCmdBack ( FXObject * ,
FXSelector ,
void *  )
virtualinherited

called when back button is pressed (must be reimplemented in children depending of Buttons)

Reimplemented in GNERunDialog, GNERunNetgenerateDialog, GNERunNetgenerateDialog, GNERunPythonToolDialog, and GNERunPythonToolDialog.

Definition at line 150 of file GNEDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdBack() [2/2]

long GNEDialog::onCmdBack ( FXObject * ,
FXSelector ,
void *  )
virtualinherited

called when back button is pressed (must be reimplemented in children depending of Buttons)

Definition at line 122 of file GNEDialog.cpp.

◆ onCmdCancel()

long GNETemplateElementDialog< GNEAdditional >::onCmdCancel ( FXObject * ,
FXSelector ,
void *  )
inlinevirtualinherited

called when cancel or no button is pressed

Reimplemented from GNEDialog.

Definition at line 66 of file GNETemplateElementDialog.h.

◆ onCmdCopy() [1/2]

long GNEDialog::onCmdCopy ( FXObject * ,
FXSelector ,
void *  )
virtualinherited

called when copy button is pressed (must be reimplemented in children depending of Buttons)

Reimplemented in GNECrashDialog.

Definition at line 162 of file GNEDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCopy() [2/2]

long GNEDialog::onCmdCopy ( FXObject * ,
FXSelector ,
void *  )
virtualinherited

called when copy button is pressed (must be reimplemented in children depending of Buttons)

Definition at line 128 of file GNEDialog.cpp.

◆ onCmdReport() [1/2]

long GNEDialog::onCmdReport ( FXObject * ,
FXSelector ,
void *  )
virtualinherited

called when report button is pressed (must be reimplemented in children depending of Buttons)

Reimplemented in GNECrashDialog.

Definition at line 168 of file GNEDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReport() [2/2]

long GNEDialog::onCmdReport ( FXObject * ,
FXSelector ,
void *  )
virtualinherited

called when report button is pressed (must be reimplemented in children depending of Buttons)

Definition at line 131 of file GNEDialog.cpp.

◆ onCmdReset()

long GNEVariableSpeedSignDialog::onCmdReset ( FXObject * ,
FXSelector ,
void *  )
virtual

◆ onCmdRun() [1/2]

long GNEDialog::onCmdRun ( FXObject * ,
FXSelector ,
void *  )
virtualinherited

called when run button is pressed (must be reimplemented in children depending of Buttons)

Reimplemented in GNENetgenerateDialog, GNENetgenerateOptionsDialog, GNEPythonToolDialog, and GNERunDialog.

Definition at line 144 of file GNEDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdRun() [2/2]

long GNEDialog::onCmdRun ( FXObject * ,
FXSelector ,
void *  )
virtualinherited

called when run button is pressed (must be reimplemented in children depending of Buttons)

Definition at line 119 of file GNEDialog.cpp.

◆ onKeyPress() [1/2]

long GNEDialog::onKeyPress ( FXObject * obj,
FXSelector sel,
void * ptr )
inherited

called when user presses a key on the dialog

Definition at line 174 of file GNEDialog.cpp.

References closeDialogAborting(), myApplicationWindow, and myTesting.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyPress() [2/2]

long GNEDialog::onKeyPress ( FXObject * obj,
FXSelector sel,
void * ptr )
inherited

called when user presses a key on the dialog

Definition at line 134 of file GNEDialog.cpp.

◆ onKeyRelease() [1/2]

long GNEDialog::onKeyRelease ( FXObject * obj,
FXSelector sel,
void * ptr )
inherited

called when user releases a key on the dialog

Definition at line 190 of file GNEDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyRelease() [2/2]

long GNEDialog::onKeyRelease ( FXObject * obj,
FXSelector sel,
void * ptr )
inherited

called when user releases a key on the dialog

Definition at line 137 of file GNEDialog.cpp.

◆ openDialog() [1/2]

◆ openDialog() [2/2]

void GNEDialog::openDialog ( FXWindow * focusableElement = nullptr)
protectedinherited

open dialog

Definition at line 188 of file GNEDialog.cpp.

Referenced by GNECalibratorDialog::GNECalibratorDialog(), GNERerouterDialog::GNERerouterDialog(), GNERerouterIntervalDialog::GNERerouterIntervalDialog(), and GNEVariableSpeedSignDialog::GNEVariableSpeedSignDialog().

Here is the caller graph for this function:

◆ operator=()

GNEVariableSpeedSignDialog & GNEVariableSpeedSignDialog::operator= ( const GNEVariableSpeedSignDialog & )
privatedelete

Invalidated assignment operator.

References GNEVariableSpeedSignDialog().

◆ resetChanges()

void GNETemplateElementDialog< GNEAdditional >::resetChanges ( )
inlineprotectedinherited

reset changes did in this dialog.

Definition at line 94 of file GNETemplateElementDialog.h.

Referenced by GNECalibratorDialog::onCmdReset(), GNERerouterDialog::onCmdReset(), GNERerouterIntervalDialog::onCmdReset(), and GNEVariableSpeedSignDialog::onCmdReset().

Here is the caller graph for this function:

◆ runInternalTest()

void GNEVariableSpeedSignDialog::runInternalTest ( const InternalTestStep::DialogArgument * dialogArgument)
virtual

run internal test

Implements GNETemplateElementDialog< GNEAdditional >.

Definition at line 47 of file GNEVariableSpeedSignDialog.cpp.

◆ setRestoringFocusWindow() [1/2]

void GNEDialog::setRestoringFocusWindow ( FXWindow * window)
inherited

wet FXWindows uses for restoring focus

Definition at line 114 of file GNEDialog.cpp.

References myRestoringFocusWindow.

Referenced by GNEFileDialog::GNEFileDialog().

Here is the caller graph for this function:

◆ setRestoringFocusWindow() [2/2]

void GNEDialog::setRestoringFocusWindow ( FXWindow * window)
inherited

wet FXWindows uses for restoring focus

Definition at line 101 of file GNEDialog.cpp.

◆ updateIcon() [1/2]

void GNEDialog::updateIcon ( GUIIcon newIcon)
protectedinherited

update icon

Definition at line 321 of file GNEDialog.cpp.

References GUIIconSubSys::getIcon().

Referenced by GNEFileDialog::GNEFileDialog().

Here is the caller graph for this function:

◆ updateIcon() [2/2]

void GNEDialog::updateIcon ( GUIIcon newIcon)
protectedinherited

update icon

Definition at line 203 of file GNEDialog.cpp.

◆ updateTitle() [1/2]

void GNEDialog::updateTitle ( const std::string & newTitle)
protectedinherited

update title

Definition at line 315 of file GNEDialog.cpp.

Referenced by GNEFileDialog::GNEFileDialog().

Here is the caller graph for this function:

◆ updateTitle() [2/2]

void GNEDialog::updateTitle ( const std::string & newTitle)
protectedinherited

update title

Definition at line 200 of file GNEDialog.cpp.

Field Documentation

◆ myAbortButton [1/2]

FXButton* GNEDialog::myAbortButton = nullptr
protectedinherited

abort button

Definition at line 161 of file GNEDialog.h.

Referenced by buildDialog().

◆ myAbortButton [2/2]

FXButton* GNEDialog::myAbortButton
protectedinherited

abort button

Definition at line 161 of file GNEDialog.h.

◆ myAcceptButton [1/2]

FXButton* GNEDialog::myAcceptButton = nullptr
protectedinherited

◆ myAcceptButton [2/2]

FXButton* GNEDialog::myAcceptButton
protectedinherited

accept button

Definition at line 155 of file GNEDialog.h.

◆ myAdvancedButton [1/2]

FXButton* GNEDialog::myAdvancedButton = nullptr
protectedinherited

advanced button

Definition at line 173 of file GNEDialog.h.

Referenced by buildDialog(), and GNENetgenerateDialog::updateRunButtons().

◆ myAdvancedButton [2/2]

FXButton* GNEDialog::myAdvancedButton
protectedinherited

advanced button

Definition at line 173 of file GNEDialog.h.

◆ myApplicationWindow [1/2]

◆ myApplicationWindow [2/2]

FOX needs this.

pointer to the main window

Definition at line 146 of file GNEDialog.h.

◆ myBackButton [1/2]

FXButton* GNEDialog::myBackButton = nullptr
protectedinherited

back button

Definition at line 170 of file GNEDialog.h.

Referenced by buildDialog(), and GNERunDialog::updateDialogButtons().

◆ myBackButton [2/2]

FXButton* GNEDialog::myBackButton
protectedinherited

back button

Definition at line 170 of file GNEDialog.h.

◆ myCancelButton [1/2]

FXButton* GNEDialog::myCancelButton = nullptr
protectedinherited

cancel button

Definition at line 158 of file GNEDialog.h.

Referenced by buildDialog().

◆ myCancelButton [2/2]

FXButton* GNEDialog::myCancelButton
protectedinherited

cancel button

Definition at line 158 of file GNEDialog.h.

◆ myChangesDescription

std::string GNETemplateElementDialog< GNEAdditional >::myChangesDescription
privateinherited

description of changes did in this element dialog

Definition at line 102 of file GNETemplateElementDialog.h.

◆ myContentFrame [1/2]

◆ myContentFrame [2/2]

FXVerticalFrame* GNEDialog::myContentFrame
protectedinherited

◆ myCopyButton [1/2]

FXButton* GNEDialog::myCopyButton = nullptr
protectedinherited

copy button

Definition at line 176 of file GNEDialog.h.

Referenced by buildDialog(), and GNECrashDialog::GNECrashDialog().

◆ myCopyButton [2/2]

FXButton* GNEDialog::myCopyButton
protectedinherited

copy button

Definition at line 176 of file GNEDialog.h.

◆ myElement

◆ myFocusButton [1/2]

FXButton* GNEDialog::myFocusButton = nullptr
privateinherited

focus button, used for focusing the default button when dialog is opened

Definition at line 207 of file GNEDialog.h.

Referenced by buildDialog().

◆ myFocusButton [2/2]

FXButton* GNEDialog::myFocusButton
privateinherited

focus button, used for focusing the default button when dialog is opened

Definition at line 207 of file GNEDialog.h.

◆ myOpenType [1/2]

OpenType GNEDialog::myOpenType
privateinherited

open type

Definition at line 210 of file GNEDialog.h.

Referenced by closeDialogAborting(), closeDialogAccepting(), closeDialogCanceling(), GNEDialog(), and GNEDialog().

◆ myOpenType [2/2]

OpenType GNEDialog::myOpenType
privateinherited

open type

Definition at line 210 of file GNEDialog.h.

◆ myReportButton [1/2]

FXButton* GNEDialog::myReportButton = nullptr
protectedinherited

report button

Definition at line 179 of file GNEDialog.h.

Referenced by buildDialog().

◆ myReportButton [2/2]

FXButton* GNEDialog::myReportButton
protectedinherited

report button

Definition at line 179 of file GNEDialog.h.

◆ myResetButton [1/2]

FXButton* GNEDialog::myResetButton = nullptr
protectedinherited

reset button

Definition at line 164 of file GNEDialog.h.

Referenced by buildDialog().

◆ myResetButton [2/2]

FXButton* GNEDialog::myResetButton
protectedinherited

reset button

Definition at line 164 of file GNEDialog.h.

◆ myRestoringFocusWindow [1/2]

FXWindow* GNEDialog::myRestoringFocusWindow = nullptr
protectedinherited

FXWindows that restoring focus window.

Definition at line 149 of file GNEDialog.h.

Referenced by closeDialogAborting(), closeDialogAccepting(), closeDialogCanceling(), and setRestoringFocusWindow().

◆ myRestoringFocusWindow [2/2]

FXWindow* GNEDialog::myRestoringFocusWindow
protectedinherited

FXWindows that restoring focus window.

Definition at line 149 of file GNEDialog.h.

◆ myResult [1/2]

Result GNEDialog::myResult = Result::CANCEL
protectedinherited

result to indicate if this dialog was closed accepting or rejecting changes

Definition at line 185 of file GNEDialog.h.

Referenced by closeDialogAborting(), closeDialogAccepting(), closeDialogCanceling(), getResult(), GNESaveDialog::onCmdAccept(), and GNESaveDialog::onCmdCancel().

◆ myResult [2/2]

Result GNEDialog::myResult
protectedinherited

result to indicate if this dialog was closed accepting or rejecting changes

Definition at line 185 of file GNEDialog.h.

◆ myRunButton [1/2]

FXButton* GNEDialog::myRunButton = nullptr
protectedinherited

◆ myRunButton [2/2]

FXButton* GNEDialog::myRunButton
protectedinherited

run button

Definition at line 167 of file GNEDialog.h.

◆ myTesting [1/2]

bool GNEDialog::myTesting = false
privateinherited

flag to indicate if this dialog is being tested using internal test

Definition at line 213 of file GNEDialog.h.

Referenced by closeDialogAborting(), closeDialogAccepting(), closeDialogCanceling(), and onKeyPress().

◆ myTesting [2/2]

bool GNEDialog::myTesting
privateinherited

flag to indicate if this dialog is being tested using internal test

Definition at line 213 of file GNEDialog.h.

◆ myType [1/2]

DialogType GNEDialog::myType = DialogType::DEFAULT
protectedinherited

dialog type

Definition at line 182 of file GNEDialog.h.

Referenced by GNEDialog(), and GNEDialog().

◆ myType [2/2]

DialogType GNEDialog::myType
protectedinherited

dialog type

Definition at line 182 of file GNEDialog.h.

◆ myVariableSpeedSignSteps

VariableSpeedSignStepsList* GNEVariableSpeedSignDialog::myVariableSpeedSignSteps
protected

Element list for variableSpeedSign steps.

Definition at line 82 of file GNEVariableSpeedSignDialog.h.

Referenced by GNEVariableSpeedSignDialog(), onCmdAccept(), and onCmdReset().


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