![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEVariableSpeedSignDialog.h>
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 | |
| GNEAdditional * | getElement () 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 | |
| GNEApplicationWindow * | myApplicationWindow = nullptr |
| FOX needs this. | |
| GNEApplicationWindow * | myApplicationWindow |
| 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 | |
| GNEAdditional * | myElement |
| pointer to edited element | |
| GNEDialog * | myParentDialog = nullptr |
| parent dialog used for restoring focus after closing dialog | |
| GNEDialog * | myParentDialog |
| parent dialog used for restoring focus after closing dialog | |
| FXButton * | myReportButton = nullptr |
| report button | |
| FXButton * | myReportButton |
| report button | |
| FXButton * | myResetButton = nullptr |
| reset button | |
| FXButton * | myResetButton |
| reset button | |
| 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 | |
| VariableSpeedSignStepsList * | myVariableSpeedSignSteps |
| 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. | |
| GNEVariableSpeedSignDialog & | operator= (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 | |
| GNEApplicationWindow * | getApplicationWindow () const |
| get pointer to the application window | |
| GNEApplicationWindow * | getApplicationWindow () const |
| get pointer to the application window | |
| FXVerticalFrame * | getContentFrame () const |
| get content frame | |
| FXVerticalFrame * | getContentFrame () const |
| get content frame | |
| 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... | |
Definition at line 33 of file GNEVariableSpeedSignDialog.h.
|
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.
|
stronginherited |
Definition at line 43 of file GNEDialog.h.
|
stronginherited |
|
stronginherited |
Open dialog type.
Definition at line 58 of file GNEDialog.h.
|
stronginherited |
| Enumerator | |
|---|---|
| STATIC | |
| RESIZABLE | |
Definition at line 64 of file GNEDialog.h.
|
stronginherited |
Definition at line 64 of file GNEDialog.h.
|
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.
|
stronginherited |
list of possible results when closing the dialog
Definition at line 70 of file GNEDialog.h.
| 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().
| GNEVariableSpeedSignDialog::~GNEVariableSpeedSignDialog | ( | ) |
destructor
Definition at line 43 of file GNEVariableSpeedSignDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
References GNEVariableSpeedSignDialog().
|
inlineprotectedinherited |
close dialog commiting changes
Definition at line 100 of file GNETemplateElementDialog.h.
Referenced by GNECalibratorDialog::onCmdAccept(), GNERerouterDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), and GNEVariableSpeedSignDialog::onCmdAccept().
|
privateinherited |
build dialog
Definition at line 365 of file GNEDialog.cpp.
References ACCEPT, ACCEPT_CANCEL, ACCEPT_CANCEL_RESET, BACK, GUIDesigns::buildFXButton(), CANCEL, COPY, GUIIconSubSys::getIcon(), GITHUB, GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonDialog, GUIDesignDialogButtonsHorizontalFrame, GUIDesignDialogContentFrame, GUIDesignHorizontalSeparator, MID_GNE_ABORT, MID_GNE_BUTTON_ACCEPT, MID_GNE_BUTTON_ADVANCED, MID_GNE_BUTTON_BACK, MID_GNE_BUTTON_CANCEL, MID_GNE_BUTTON_COPY, MID_GNE_BUTTON_REPORT, MID_GNE_BUTTON_RESET, MID_GNE_BUTTON_RUN, myAbortButton, myAcceptButton, myAdvancedButton, myBackButton, myCancelButton, myContentFrame, myCopyButton, myFocusButton, myReportButton, myResetButton, myRunButton, NO, OK, OK_COPY_REPORT, OPTIONS, RERUN_BACK_OK, RESET, RUN_ADVANCED_CANCEL, RUN_CANCEL_RESET, SAVE, SAVE_DONTSAVE_CANCEL, START, TL, YES, YES_NO, and YES_NO_CANCEL.
|
privateinherited |
build dialog
Definition at line 223 of file GNEDialog.cpp.
|
protectedinherited |
close dialog aborting the changes
Definition at line 333 of file GNEDialog.cpp.
References ABORT, MODAL, myApplicationWindow, myOpenType, myParentDialog, myResult, and myTesting.
Referenced by onCmdAbort(), GNEOverwriteElement::onCmdAbort(), GNETemplateElementDialog< T >::onCmdAbort(), and GNEFixElementsDialog< GNEAdditional * >::updateIcon().
|
protectedinherited |
close dialog aborting the changes
Definition at line 204 of file GNEDialog.cpp.
|
protectedinherited |
close dialog accepting the changes
Definition at line 293 of file GNEDialog.cpp.
References ACCEPT, MODAL, myApplicationWindow, myOpenType, myParentDialog, myResult, and myTesting.
Referenced by GNETemplateElementDialog< T >::acceptElementDialog(), onCmdAccept(), GNEDistributionRefDialog::onCmdAccept(), GNEFileDialog::onCmdAccept(), GNEFixElementsDialog< T >::onCmdAccept(), GNEOverwriteElement::onCmdAccept(), GNEParametersDialog::onCmdAccept(), GNESaveDialog::onCmdAccept(), GNEVClassesDialog::onCmdAccept(), and GNEPythonToolDialog::onCmdRun().
|
protectedinherited |
close dialog accepting the changes
Definition at line 198 of file GNEDialog.cpp.
|
protectedinherited |
close dialog declining the changes
Definition at line 313 of file GNEDialog.cpp.
References CANCEL, MODAL, myApplicationWindow, myOpenType, myParentDialog, myResult, and myTesting.
Referenced by GNERunDialog::onCmdAbort(), GNEDistributionRefDialog::onCmdAccept(), GNEFixElementsDialog< T >::onCmdAccept(), GNERunNetgenerateDialog::onCmdAccept(), GNERunPythonToolDialog::onCmdAccept(), GNEVClassesDialog::onCmdAccept(), GNENetgenerateDialog::onCmdAdvanced(), GNERunNetgenerateDialog::onCmdBack(), GNERunPythonToolDialog::onCmdBack(), onCmdCancel(), GNEFilePathDialog::onCmdCancel(), GNENeteditOptionsDialog::onCmdCancel(), GNENetgenerateOptionsDialog::onCmdCancel(), GNEOverwriteElement::onCmdCancel(), GNESaveDialog::onCmdCancel(), GNESumoOptionsDialog::onCmdCancel(), GNETemplateElementDialog< T >::onCmdCancel(), GNEVClassesDialog::onCmdCancel(), GNENetgenerateDialog::onCmdRun(), and GNENetgenerateOptionsDialog::onCmdRun().
|
protectedinherited |
close dialog declining the changes
Definition at line 201 of file GNEDialog.cpp.
|
inherited |
get pointer to the application window
Definition at line 139 of file GNEDialog.cpp.
References myApplicationWindow.
Referenced by GNEPythonToolDialog::buildArguments().
|
inherited |
get pointer to the application window
Definition at line 102 of file GNEDialog.cpp.
|
inherited |
get content frame
Definition at line 145 of file GNEDialog.cpp.
References myContentFrame.
Referenced by GNEColorDialog::builder(), and GNEVClassesDialog::builder().
|
inherited |
get content frame
Definition at line 105 of file GNEDialog.cpp.
Referenced by GNERerouterDialog::RerouterIntervalsList::RerouterIntervalsList(), and GNEVariableSpeedSignDialog::VariableSpeedSignStepsList::VariableSpeedSignStepsList().
|
inlineinherited |
get edited element
Definition at line 62 of file GNETemplateElementDialog.h.
|
inherited |
get result to indicate if this dialog was closed accepting or rejecting changes
Definition at line 133 of file GNEDialog.cpp.
References myResult.
Referenced by GNECalibratorDialog::CalibratorFlowsList::addNewElement(), GNEViewNet::addRestrictedLane(), GNEViewNet::aksChangeSupermode(), GNESelectorFrame::SelectionOperation::askContinueIfLock(), GNEViewNet::askMergeJunctions(), GNENetHelper::SavingStatus::askSaveAdditionalElements(), GNENetHelper::SavingStatus::askSaveDataElements(), GNENetHelper::SavingStatus::askSaveDemandElements(), GNENetHelper::SavingStatus::askSaveMeanDataElements(), GNENetHelper::SavingStatus::askSaveNetwork(), GNEDataHandler::checkDuplicatedDataSet(), GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEAdditionalHandler::checkElement(), GNERouteHandler::checkElement(), GNENet::cleanInvalidCrossings(), GNEApplicationWindow::computeJunctionWithVolatileOptions(), GNETypeFrame::TypeEditor::deleteType(), GNETLSEditorFrame::isTLSSaved(), GNENet::joinSelectedJunctions(), GNEApplicationWindow::loadOSM(), GNEFileSelector::onCmdAccept(), GNEDistributionFrame::DistributionValuesEditor::onCmdAddRow(), GNEFileSelector::onCmdCopy(), GNEFileSelector::onCmdDelete(), GNEPythonToolDialog::onCmdLoad(), GNEOptionsEditor::onCmdLoadOptions(), GNEFileSelector::onCmdMove(), GNEApplicationWindow::onCmdOpenAdditionalElements(), GNEApplicationWindow::onCmdOpenDataElements(), GNEApplicationWindow::onCmdOpenDemandElements(), GNEOptionsEditorRow::OptionFilename::onCmdOpenDialog(), GNEApplicationWindow::onCmdOpenEdgeTypes(), GNEAttributesEditorType::onCmdOpenEditParametersDialog(), GNEAttributesEditorType::onCmdOpenExtendedAttributesDialog(), GNEAttributesEditorRow::onCmdOpenFileDialog(), GNEApplicationWindow::onCmdOpenForeign(), GNEApplicationWindow::onCmdOpenMeanDataElements(), GNEApplicationWindow::onCmdOpenNetconvertConfig(), GNEApplicationWindow::onCmdOpenNeteditConfig(), GNEApplicationWindow::onCmdOpenNetwork(), GNEApplicationWindow::onCmdOpenOptionsDialog(), GNENetgenerateDialog::onCmdOpenOutputFile(), GNEVehicleTypeDialog::VTypeAttributes::onCmdOpenParametersEditor(), GNEApplicationWindow::onCmdOpenSumoConfig(), GNEApplicationWindow::onCmdOpenSumoOptionsDialog(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNETLSEditorFrame::TLSAttributes::onCmdParametersDialog(), GNEPythonToolDialog::onCmdSave(), GNEApplicationWindow::onCmdSaveAdditionalElementsAs(), GNEApplicationWindow::onCmdSaveAdditionalElementsUnified(), GNEApplicationWindow::onCmdSaveDataElementsAs(), GNEApplicationWindow::onCmdSaveDataElementsUnified(), GNEApplicationWindow::onCmdSaveDemandElementsAs(), GNEApplicationWindow::onCmdSaveDemandElementsUnified(), GNEApplicationWindow::onCmdSaveEdgeTypesAs(), GNEApplicationWindow::onCmdSaveJoinedJunctionsAs(), GNEApplicationWindow::onCmdSaveJuPedSimElementsAs(), GNERunDialog::onCmdSaveLog(), GNEApplicationWindow::onCmdSaveMeanDataElementsAs(), GNEApplicationWindow::onCmdSaveMeanDataElementsUnified(), GNEApplicationWindow::onCmdSaveNeteditConfigAs(), GNEApplicationWindow::onCmdSaveNetwork(), GNEApplicationWindow::onCmdSaveNetworkAs(), GNEOptionsEditor::onCmdSaveOptions(), GNEApplicationWindow::onCmdSavePlainXMLAs(), GNEApplicationWindow::onCmdSaveSumoConfigAs(), GNEApplicationWindow::onCmdSaveTLSProgramsAs(), GNEViewNet::onCmdSetCustomGeometryPoint(), GNETAZFrame::TAZChildDefaultParameters::onCmdSetZeroFringeProbabilities(), GNEViewNet::removeRestrictedLane(), GNEViewNet::restrictLane(), GNENet::saveAdditionals(), GNENet::saveDemandElements(), and GNEPythonToolDialogElements::FileNameArgument::updateFromDialog().
|
inherited |
get result to indicate if this dialog was closed accepting or rejecting changes
Definition at line 99 of file GNEDialog.cpp.
|
inlinevirtualinherited |
called when abort is called either closing dialog or pressing abort button
Reimplemented from GNEDialog.
Definition at line 84 of file GNETemplateElementDialog.h.
|
virtual |
event after press accept button
Implements GNETemplateElementDialog< GNEAdditional >.
Definition at line 53 of file GNEVariableSpeedSignDialog.cpp.
References GNETemplateElementDialog< GNEAdditional >::acceptElementDialog(), GNETemplateElementDialog< GNEAdditional >::myElement, myVariableSpeedSignSteps, SUMO_TAG_VSS, TL, TLF, and toString().
|
virtualinherited |
called when advanced button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNENetgenerateDialog.
Definition at line 187 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
called when advanced button is pressed (must be reimplemented in children depending of Buttons)
Definition at line 132 of file GNEDialog.cpp.
|
virtualinherited |
called when back button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNERunDialog, GNERunNetgenerateDialog, GNERunNetgenerateDialog, and GNERunPythonToolDialog.
Definition at line 181 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
called when back button is pressed (must be reimplemented in children depending of Buttons)
Definition at line 129 of file GNEDialog.cpp.
|
inlinevirtualinherited |
called when cancel or no button is pressed
Reimplemented from GNEDialog.
Definition at line 78 of file GNETemplateElementDialog.h.
|
virtualinherited |
called when copy button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNECrashDialog.
Definition at line 193 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
called when copy button is pressed (must be reimplemented in children depending of Buttons)
Definition at line 135 of file GNEDialog.cpp.
|
virtualinherited |
called when report button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNECrashDialog.
Definition at line 199 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
called when report button is pressed (must be reimplemented in children depending of Buttons)
Definition at line 138 of file GNEDialog.cpp.
|
virtual |
event after press reset button
Implements GNETemplateElementDialog< GNEAdditional >.
Definition at line 69 of file GNEVariableSpeedSignDialog.cpp.
References myVariableSpeedSignSteps, and GNETemplateElementDialog< GNEAdditional >::resetChanges().
|
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 175 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
called when run button is pressed (must be reimplemented in children depending of Buttons)
Definition at line 126 of file GNEDialog.cpp.
|
inherited |
called when user presses a key on the dialog
Definition at line 205 of file GNEDialog.cpp.
References myApplicationWindow, and myTesting.
Referenced by FXDEFMAP().
|
inherited |
called when user presses a key on the dialog
Definition at line 141 of file GNEDialog.cpp.
|
inherited |
called when user releases a key on the dialog
Definition at line 228 of file GNEDialog.cpp.
References myApplicationWindow, and myTesting.
Referenced by FXDEFMAP().
|
inherited |
called when user releases a key on the dialog
Definition at line 144 of file GNEDialog.cpp.
|
protectedinherited |
open dialog
Definition at line 238 of file GNEDialog.cpp.
References InternalTestStep::DialogArgument::ABORT, InternalTestStep::DialogArgument::ACCEPT, InternalTestStep::DialogArgument::CANCEL, InternalTestStep::DIALOG, MODAL, myApplicationWindow, myFocusButton, myOpenType, myTesting, myType, onCmdAbort(), onCmdAccept(), onCmdCancel(), onCmdReset(), InternalTestStep::DialogArgument::RESET, and runInternalTest().
Referenced by GNEBasicDialog::builder(), GNEColorDialog::builder(), GNEParametersDialog::builder(), GNESaveDialog::builder(), GNEVClassesDialog::builder(), GNEFileDialog::buildFileDialog(), GNEAboutDialog::GNEAboutDialog(), GNECrashDialog::GNECrashDialog(), GNEDistributionRefDialog::GNEDistributionRefDialog(), GNEFilePathDialog::GNEFilePathDialog(), GNEHelpAttributesDialog::GNEHelpAttributesDialog(), GNENeteditOptionsDialog::GNENeteditOptionsDialog(), GNENetgenerateDialog::GNENetgenerateDialog(), GNENetgenerateOptionsDialog::GNENetgenerateOptionsDialog(), GNEOverwriteElement::GNEOverwriteElement(), GNEPythonToolDialog::GNEPythonToolDialog(), GNERunNetgenerateDialog::GNERunNetgenerateDialog(), GNERunPythonToolDialog::GNERunPythonToolDialog(), GNESumoOptionsDialog::GNESumoOptionsDialog(), and GNEUndoListDialog::GNEUndoListDialog().
|
protectedinherited |
open dialog
Definition at line 195 of file GNEDialog.cpp.
Referenced by GNECalibratorDialog::GNECalibratorDialog(), GNERerouterDialog::GNERerouterDialog(), GNERerouterIntervalDialog::GNERerouterIntervalDialog(), and GNEVariableSpeedSignDialog::GNEVariableSpeedSignDialog().
|
privatedelete |
Invalidated assignment operator.
References GNEVariableSpeedSignDialog().
|
inlineprotectedinherited |
reset changes did in this dialog.
Definition at line 106 of file GNETemplateElementDialog.h.
Referenced by GNECalibratorDialog::onCmdReset(), GNERerouterDialog::onCmdReset(), GNERerouterIntervalDialog::onCmdReset(), and GNEVariableSpeedSignDialog::onCmdReset().
|
virtual |
run internal test
Implements GNETemplateElementDialog< GNEAdditional >.
Definition at line 47 of file GNEVariableSpeedSignDialog.cpp.
|
protectedinherited |
update icon
Definition at line 359 of file GNEDialog.cpp.
References GUIIconSubSys::getIcon().
Referenced by GNEFileDialog::buildFileDialog().
|
protectedinherited |
update icon
Definition at line 210 of file GNEDialog.cpp.
|
protectedinherited |
update title
Definition at line 353 of file GNEDialog.cpp.
Referenced by GNEFileDialog::buildFileDialog().
|
protectedinherited |
update title
Definition at line 207 of file GNEDialog.cpp.
|
protectedinherited |
|
protectedinherited |
abort button
Definition at line 168 of file GNEDialog.h.
|
protectedinherited |
accept button
Definition at line 162 of file GNEDialog.h.
Referenced by buildDialog(), GNEFileDialog::buildFileDialog(), GNEDistributionRefDialog::onCmdSetProbability(), GNEDistributionRefDialog::onCmdSetReference(), and GNERunDialog::updateDialogButtons().
|
protectedinherited |
accept button
Definition at line 162 of file GNEDialog.h.
|
protectedinherited |
advanced button
Definition at line 180 of file GNEDialog.h.
Referenced by buildDialog(), and GNENetgenerateDialog::updateRunButtons().
|
protectedinherited |
advanced button
Definition at line 180 of file GNEDialog.h.
|
protectedinherited |
FOX needs this.
pointer to the main window
Definition at line 153 of file GNEDialog.h.
Referenced by closeDialogAborting(), closeDialogAccepting(), closeDialogCanceling(), getApplicationWindow(), GNEFixElementsDialog< T >::getApplicationWindow(), GNEDialog(), GNEDialog(), GNENetgenerateDialog::GNENetgenerateDialog(), GNEUndoListDialog::GNEUndoListDialog(), GNERunDialog::onCmdAbort(), GNEParametersDialog::onCmdAccept(), GNERunNetgenerateDialog::onCmdAccept(), GNERunPythonToolDialog::onCmdAccept(), GNENetgenerateDialog::onCmdAdvanced(), GNERunNetgenerateDialog::onCmdBack(), GNERunPythonToolDialog::onCmdBack(), GNEPythonToolDialog::onCmdLoad(), GNENetgenerateDialog::onCmdOpenOutputFile(), GNENetgenerateDialog::onCmdRun(), GNENetgenerateOptionsDialog::onCmdRun(), GNEPythonToolDialog::onCmdRun(), GNERunDialog::onCmdRun(), GNEPythonToolDialog::onCmdSave(), GNERunDialog::onCmdSaveLog(), GNEUndoListDialog::onCmdSelectRow(), GNENetgenerateDialog::onCmdSetGridNetwork(), GNENetgenerateDialog::onCmdSetOutput(), GNENetgenerateDialog::onCmdSetRandomNetwork(), GNENetgenerateDialog::onCmdSetRandomNetworkGridNetwork(), GNENetgenerateDialog::onCmdSetSpiderNetwork(), GNEPythonToolDialog::onCmdShowToolTipsMenu(), onKeyPress(), onKeyRelease(), openDialog(), GNERunDialog::updateDialogButtons(), and GNEUndoListDialog::updateList().
|
protectedinherited |
|
protectedinherited |
back button
Definition at line 177 of file GNEDialog.h.
Referenced by buildDialog(), and GNERunDialog::updateDialogButtons().
|
protectedinherited |
back button
Definition at line 177 of file GNEDialog.h.
|
protectedinherited |
|
protectedinherited |
cancel button
Definition at line 165 of file GNEDialog.h.
|
privateinherited |
description of changes did in this element dialog
Definition at line 114 of file GNETemplateElementDialog.h.
|
protectedinherited |
content frame
Definition at line 159 of file GNEDialog.h.
Referenced by buildDialog(), GNEBasicDialog::builder(), GNEParametersDialog::builder(), GNESaveDialog::builder(), getContentFrame(), GNEAboutDialog::GNEAboutDialog(), GNECrashDialog::GNECrashDialog(), GNEDistributionRefDialog::GNEDistributionRefDialog(), GNEFilePathDialog::GNEFilePathDialog(), GNEFixElementsDialog< T >::GNEFixElementsDialog(), GNEHelpAttributesDialog::GNEHelpAttributesDialog(), GNENetgenerateDialog::GNENetgenerateDialog(), GNEOverwriteElement::GNEOverwriteElement(), GNEPythonToolDialog::GNEPythonToolDialog(), GNERunDialog::GNERunDialog(), and GNEUndoListDialog::GNEUndoListDialog().
|
protectedinherited |
content frame
Definition at line 159 of file GNEDialog.h.
Referenced by GNECalibratorDialog::GNECalibratorDialog(), and GNERerouterIntervalDialog::GNERerouterIntervalDialog().
|
protectedinherited |
copy button
Definition at line 183 of file GNEDialog.h.
Referenced by buildDialog(), and GNECrashDialog::GNECrashDialog().
|
protectedinherited |
copy button
Definition at line 183 of file GNEDialog.h.
|
protectedinherited |
pointer to edited element
Definition at line 97 of file GNETemplateElementDialog.h.
Referenced by GNECalibratorDialog::onCmdAccept(), GNERerouterDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), and GNEVariableSpeedSignDialog::onCmdAccept().
|
privateinherited |
focus button, used for focusing the default button when dialog is opened
Definition at line 214 of file GNEDialog.h.
Referenced by buildDialog(), and openDialog().
|
privateinherited |
focus button, used for focusing the default button when dialog is opened
Definition at line 214 of file GNEDialog.h.
|
privateinherited |
open type
Definition at line 217 of file GNEDialog.h.
Referenced by closeDialogAborting(), closeDialogAccepting(), closeDialogCanceling(), GNEDialog(), GNEDialog(), and openDialog().
|
privateinherited |
open type
Definition at line 217 of file GNEDialog.h.
|
protectedinherited |
parent dialog used for restoring focus after closing dialog
Definition at line 156 of file GNEDialog.h.
Referenced by closeDialogAborting(), closeDialogAccepting(), closeDialogCanceling(), and GNEDialog().
|
protectedinherited |
parent dialog used for restoring focus after closing dialog
Definition at line 156 of file GNEDialog.h.
|
protectedinherited |
|
protectedinherited |
report button
Definition at line 186 of file GNEDialog.h.
|
protectedinherited |
|
protectedinherited |
reset button
Definition at line 171 of file GNEDialog.h.
|
protectedinherited |
result to indicate if this dialog was closed accepting or rejecting changes
Definition at line 192 of file GNEDialog.h.
Referenced by closeDialogAborting(), closeDialogAccepting(), closeDialogCanceling(), getResult(), GNESaveDialog::onCmdAccept(), and GNESaveDialog::onCmdCancel().
|
protectedinherited |
result to indicate if this dialog was closed accepting or rejecting changes
Definition at line 192 of file GNEDialog.h.
|
protectedinherited |
run button
Definition at line 174 of file GNEDialog.h.
Referenced by buildDialog(), GNERunDialog::updateDialogButtons(), and GNENetgenerateDialog::updateRunButtons().
|
protectedinherited |
run button
Definition at line 174 of file GNEDialog.h.
|
privateinherited |
flag to indicate if this dialog is being tested using internal test
Definition at line 220 of file GNEDialog.h.
Referenced by closeDialogAborting(), closeDialogAccepting(), closeDialogCanceling(), onKeyPress(), onKeyRelease(), and openDialog().
|
privateinherited |
flag to indicate if this dialog is being tested using internal test
Definition at line 220 of file GNEDialog.h.
|
protectedinherited |
dialog type
Definition at line 189 of file GNEDialog.h.
Referenced by GNEDialog(), GNEDialog(), and openDialog().
|
protectedinherited |
dialog type
Definition at line 189 of file GNEDialog.h.
|
protected |
Element list for variableSpeedSign steps.
Definition at line 82 of file GNEVariableSpeedSignDialog.h.
Referenced by GNEVariableSpeedSignDialog(), onCmdAccept(), and onCmdReset().