![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNENetgenerateDialog.h>
Public Member Functions | |
| GNENetgenerateDialog (GNEApplicationWindow *applicationWindow) | |
| Constructor. | |
| void | runInternalTest (const InternalTestStep::DialogArgument *dialogArgument) |
| run internal test | |
| ~GNENetgenerateDialog () | |
| destructor | |
FOX-callbacks | |
| long | onCmdOpenOutputFile (FXObject *, FXSelector, void *) |
| open output file | |
| long | onCmdSetOutput (FXObject *, FXSelector, void *) |
| set output file | |
| long | onCmdSetGridNetwork (FXObject *, FXSelector, void *) |
| set grid mode | |
| long | onCmdSetSpiderNetwork (FXObject *, FXSelector, void *) |
| set spider | |
| long | onCmdSetRandomNetworkGridNetwork (FXObject *, FXSelector, void *) |
| set random grid | |
| long | onCmdSetRandomNetwork (FXObject *, FXSelector, void *) |
| set random | |
| long | onCmdRun (FXObject *, FXSelector, void *) |
| event after press run button | |
| long | onCmdAdvanced (FXObject *, FXSelector, void *) |
| event after press advanced button | |
Protected 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 class | OpenType { MODAL , NON_MODAL } |
| Open dialog type. More... | |
Protected Member Functions | |
| long | closeDialogAborting () |
| close dialog aborting the changes | |
| long | closeDialogAccepting () |
| close dialog accepting the changes | |
| long | closeDialogCanceling () |
| close dialog declining the changes | |
| FOX_CONSTRUCTOR (GNENetgenerateDialog) | |
| FOX needs this. | |
| void | openDialog (FXWindow *focusableElement=nullptr) |
| open dialog | |
| void | updateIcon (GUIIcon newIcon) |
| update icon | |
| void | updateTitle (const std::string &newTitle) |
| update title | |
FOX-callbacks | |
| virtual long | onCmdAccept (FXObject *, FXSelector, void *) |
| called when accept or yes button is pressed (can be reimplemented in children) | |
| virtual long | onCmdCancel (FXObject *, FXSelector, void *) |
| called when cancel or no button is pressed (can be reimplemented in children) | |
| virtual long | onCmdAbort (FXObject *, FXSelector, void *) |
| called when abort is called either closing dialog or pressing abort button (can be reimplemented in children) | |
| virtual long | onCmdReset (FXObject *, FXSelector, void *) |
| called when reset 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 | 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) | |
| 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 | |
Protected Attributes | |
| FXButton * | myAbortButton = nullptr |
| abort button | |
| FXButton * | myAcceptButton = nullptr |
| accept button | |
| FXButton * | myAdvancedButton = nullptr |
| advanced button | |
| GNEApplicationWindow * | myApplicationWindow = nullptr |
| FOX needs this. | |
| FXButton * | myBackButton = nullptr |
| back button | |
| FXButton * | myCancelButton = nullptr |
| cancel button | |
| FXVerticalFrame * | myContentFrame = nullptr |
| content frame | |
| FXButton * | myCopyButton = nullptr |
| copy button | |
| FXButton * | myReportButton = nullptr |
| report button | |
| FXButton * | myResetButton = nullptr |
| reset button | |
| FXWindow * | myRestoringFocusWindow = nullptr |
| FXWindows that restoring focus window. | |
| Result | myResult = Result::CANCEL |
| result to indicate if this dialog was closed accepting or rejecting changes | |
| FXButton * | myRunButton = nullptr |
| run button | |
| DialogType | myType = DialogType::DEFAULT |
| dialog type | |
Private Member Functions | |
| void | buildDialog (GUIIcon titleIcon, Buttons buttons) |
| build dialog | |
| GNENetgenerateDialog (const GNENetgenerateDialog &)=delete | |
| Invalidated copy constructor. | |
| GNENetgenerateDialog & | operator= (const GNENetgenerateDialog &)=delete |
| Invalidated assignment operator. | |
| void | updateRunButtons () |
| update run buttons | |
Private Attributes | |
| FXButton * | myFocusButton = nullptr |
| focus button, used for focusing the default button when dialog is opened | |
| MFXCheckableButton * | myGridNetworkButton = nullptr |
| grid network | |
| FXLabel * | myGridNetworkLabel = nullptr |
| grid network | |
| OpenType | myOpenType |
| open type | |
| FXTextField * | myOutputTextField = nullptr |
| output text field | |
| MFXCheckableButton * | myRandomGridNetworkButton = nullptr |
| random grid network | |
| FXLabel * | myRandomGridNetworkLabel = nullptr |
| random grid network | |
| MFXCheckableButton * | myRandomNetworkButton = nullptr |
| grid network | |
| FXLabel * | myRandomNetworkLabel = nullptr |
| grid network | |
| bool | mySelectedNetworktypeFlag = false |
| flag to indicate if networkType was selected | |
| MFXCheckableButton * | mySpiderNetworkButton = nullptr |
| grid network | |
| FXLabel * | mySpiderNetworkLabel = nullptr |
| grid network | |
| bool | myTesting = false |
| flag to indicate if this dialog is being tested using internal test | |
Friends | |
| class | GNENetgenerateDialogElements |
| FOX-declaration. | |
Resize mode | |
| 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 | |
| FXVerticalFrame * | getContentFrame () const |
| get content frame | |
| void | setRestoringFocusWindow (FXWindow *window) |
| wet FXWindows uses for restoring focus | |
| enum class | ResizeMode { STATIC , RESIZABLE } |
| enum class | Result { ACCEPT , CANCEL , ABORT , ACCEPT_ALL , CANCEL_ALL } |
| list of possible results when closing the dialog More... | |
Definition at line 35 of file GNENetgenerateDialog.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 |
|
stronginherited |
| Enumerator | |
|---|---|
| STATIC | |
| RESIZABLE | |
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.
| GNENetgenerateDialog::GNENetgenerateDialog | ( | GNEApplicationWindow * | applicationWindow | ) |
Constructor.
Definition at line 47 of file GNENetgenerateDialog.cpp.
References GUIDesigns::buildFXButton(), GUIIconSubSys::getIcon(), GNEDialog::GNEDialog(), GNENetgenerateDialog(), GUIDesignAuxiliarHorizontalFrame, GUIDesignBigSizeElement, GUIDesignButtonIcon, GUIDesignLabelThickedFixed, GUIDesignMFXCheckableButtonBig, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_NETGENERATE_GRID, MID_GNE_NETGENERATE_RANDOM, MID_GNE_NETGENERATE_RANDOMGRID, MID_GNE_NETGENERATE_SPIDER, MID_GNE_OPEN, MID_GNE_SET_ATTRIBUTE, GNEDialog::myApplicationWindow, GNEDialog::myContentFrame, myGridNetworkButton, myGridNetworkLabel, myOutputTextField, myRandomGridNetworkButton, myRandomGridNetworkLabel, myRandomNetworkButton, myRandomNetworkLabel, mySpiderNetworkButton, mySpiderNetworkLabel, NETGENERATE_GRID, NETGENERATE_RANDOM, NETGENERATE_RANDOMGRID, NETGENERATE_SPIDER, onCmdSetGridNetwork(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), onCmdSetSpiderNetwork(), OPEN_NET, GNEDialog::openDialog(), TL, and updateRunButtons().
Referenced by FOX_CONSTRUCTOR(), GNENetgenerateDialog(), GNENetgenerateDialog(), GNENetgenerateDialogElements, and operator=().
| GNENetgenerateDialog::~GNENetgenerateDialog | ( | ) |
destructor
Definition at line 102 of file GNENetgenerateDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
References GNENetgenerateDialog().
|
privateinherited |
build dialog
Definition at line 327 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.
|
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().
|
protectedinherited |
close dialog accepting the changes
Definition at line 255 of file GNEDialog.cpp.
References ACCEPT, MODAL, myApplicationWindow, myOpenType, myRestoringFocusWindow, 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 declining the changes
Definition at line 275 of file GNEDialog.cpp.
References CANCEL, MODAL, myApplicationWindow, myOpenType, myRestoringFocusWindow, myResult, and myTesting.
Referenced by GNERunDialog::onCmdAbort(), GNEDistributionRefDialog::onCmdAccept(), GNEFixElementsDialog< T >::onCmdAccept(), GNERunNetgenerateDialog::onCmdAccept(), GNERunPythonToolDialog::onCmdAccept(), GNEVClassesDialog::onCmdAccept(), GNENetgenerateDialog::onCmdAdvanced(), GNERunNetgenerateDialog::onCmdBack(), onCmdCancel(), GNEFilePathDialog::onCmdCancel(), GNENeteditOptionsDialog::onCmdCancel(), GNENetgenerateOptionsDialog::onCmdCancel(), GNEOverwriteElement::onCmdCancel(), GNESaveDialog::onCmdCancel(), GNESumoOptionsDialog::onCmdCancel(), GNETemplateElementDialog< T >::onCmdCancel(), GNEVClassesDialog::onCmdCancel(), GNENetgenerateDialog::onCmdRun(), and GNENetgenerateOptionsDialog::onCmdRun().
|
protected |
FOX needs this.
References FOX_CONSTRUCTOR(), and GNENetgenerateDialog().
Referenced by FOX_CONSTRUCTOR().
|
inherited |
get pointer to the application window
Definition at line 102 of file GNEDialog.cpp.
References myApplicationWindow.
Referenced by GNEPythonToolDialog::buildArguments().
|
inherited |
get content frame
Definition at line 108 of file GNEDialog.cpp.
References myContentFrame.
Referenced by GNEColorDialog::GNEColorDialog(), and GNEVClassesDialog::GNEVClassesDialog().
|
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().
|
virtualinherited |
called when abort is called either closing dialog or pressing abort button (can be reimplemented in children)
Reimplemented in GNEOverwriteElement, GNERunDialog, GNERunNetgenerateDialog, GNERunPythonToolDialog, GNETemplateElementDialog< T >, GNETemplateElementDialog< elementDialogType >, GNETemplateElementDialog< GNEAdditional >, GNETemplateElementDialog< GNEAttributeCarrier >, and GNETemplateElementDialog< GNEDemandElement >.
Definition at line 132 of file GNEDialog.cpp.
References closeDialogAborting().
Referenced by GNEFixElementsDialog< GNEAdditional * >::buildDialog(), and FXDEFMAP().
|
virtualinherited |
called when accept or yes button is pressed (can be reimplemented in children)
Reimplemented in GNEAttributeCarrierDialog, GNECalibratorDialog, GNEDistributionRefDialog, GNEFileDialog, GNEFixElementsDialog< T >, GNEFixElementsDialog< GNEAdditional * >, GNEFixElementsDialog< GNEDemandElement * >, GNEFixElementsDialog< GNENetworkElement * >, GNEGeometryPointDialog, GNEOverwriteElement, GNEParametersDialog, GNERerouterDialog, GNERerouterIntervalDialog, GNERunDialog, GNERunNetgenerateDialog, GNERunNetgenerateDialog, GNERunPythonToolDialog, GNERunPythonToolDialog, GNESaveDialog, GNETemplateElementDialog< T >, GNETemplateElementDialog< elementDialogType >, GNETemplateElementDialog< GNEAdditional >, GNETemplateElementDialog< GNEAttributeCarrier >, GNETemplateElementDialog< GNEDemandElement >, GNEVariableSpeedSignDialog, GNEVClassesDialog, and GNEVehicleTypeDialog.
Definition at line 120 of file GNEDialog.cpp.
References closeDialogAccepting().
Referenced by GNEFixElementsDialog< GNEAdditional * >::buildDialog(), and FXDEFMAP().
|
virtual |
event after press advanced button
Reimplemented from GNEDialog.
Definition at line 258 of file GNENetgenerateDialog.cpp.
References GNEDialog::closeDialogCanceling(), MID_GNE_NETGENERATEOPTIONS, and GNEDialog::myApplicationWindow.
Referenced by FXDEFMAP(), and GNENetgenerateDialogElements.
|
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().
|
virtualinherited |
called when cancel or no button is pressed (can be reimplemented in children)
Reimplemented in GNEFilePathDialog, GNEGeometryPointDialog, GNENeteditOptionsDialog, GNENetgenerateOptionsDialog, GNEOverwriteElement, GNERunNetgenerateDialog, GNERunPythonToolDialog, GNESaveDialog, GNESumoOptionsDialog, GNETemplateElementDialog< T >, GNETemplateElementDialog< elementDialogType >, GNETemplateElementDialog< GNEAdditional >, GNETemplateElementDialog< GNEAttributeCarrier >, GNETemplateElementDialog< GNEDemandElement >, and GNEVClassesDialog.
Definition at line 126 of file GNEDialog.cpp.
References closeDialogCanceling().
Referenced by GNEFixElementsDialog< GNEAdditional * >::buildDialog(), FXDEFMAP(), and FXDEFMAP().
|
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().
| long GNENetgenerateDialog::onCmdOpenOutputFile | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
open output file
Definition at line 112 of file GNENetgenerateDialog.cpp.
References GNEDialog::ACCEPT, GNEDialog::myApplicationWindow, myOutputTextField, GNEFileDialog::NETEDIT, SUMOXMLDefinitions::NetFileExtensions, GNEFileDialog::SAVE, and TL.
Referenced by FXDEFMAP(), and GNENetgenerateDialogElements.
|
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().
|
virtualinherited |
called when reset button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNEAttributeCarrierDialog, GNECalibratorDialog, GNEColorDialog, GNEFilePathDialog, GNEGeometryPointDialog, GNENeteditOptionsDialog, GNENetgenerateOptionsDialog, GNEParametersDialog, GNEPythonToolDialog, GNERerouterDialog, GNERerouterIntervalDialog, GNESumoOptionsDialog, GNETemplateElementDialog< T >, GNETemplateElementDialog< elementDialogType >, GNETemplateElementDialog< GNEAdditional >, GNETemplateElementDialog< GNEAttributeCarrier >, GNETemplateElementDialog< GNEDemandElement >, GNEVariableSpeedSignDialog, GNEVClassesDialog, and GNEVehicleTypeDialog.
Definition at line 138 of file GNEDialog.cpp.
Referenced by GNEFixElementsDialog< GNEAdditional * >::buildDialog(), and FXDEFMAP().
|
virtual |
event after press run button
Reimplemented from GNEDialog.
Definition at line 249 of file GNENetgenerateDialog.cpp.
References GNEDialog::closeDialogCanceling(), MID_GNE_RUNNETGENERATE, and GNEDialog::myApplicationWindow.
Referenced by GNENetgenerateDialogElements.
| long GNENetgenerateDialog::onCmdSetGridNetwork | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
set grid mode
Definition at line 144 of file GNENetgenerateDialog.cpp.
References GUIDesignTextColorBlack, GUIDesignTextColorBlue, GNEDialog::myApplicationWindow, myGridNetworkButton, myGridNetworkLabel, myRandomGridNetworkButton, myRandomGridNetworkLabel, myRandomNetworkButton, myRandomNetworkLabel, mySelectedNetworktypeFlag, mySpiderNetworkButton, mySpiderNetworkLabel, and updateRunButtons().
Referenced by FXDEFMAP(), GNENetgenerateDialog(), and GNENetgenerateDialogElements.
| long GNENetgenerateDialog::onCmdSetOutput | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
set output file
Definition at line 128 of file GNENetgenerateDialog.cpp.
References GUIDesignTextColorBlack, GUIDesignTextColorRed, SUMOXMLDefinitions::isValidFilename(), GNEDialog::myApplicationWindow, myOutputTextField, and updateRunButtons().
Referenced by FXDEFMAP(), and GNENetgenerateDialogElements.
| long GNENetgenerateDialog::onCmdSetRandomNetwork | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
set random
Definition at line 223 of file GNENetgenerateDialog.cpp.
References GUIDesignTextColorBlack, GUIDesignTextColorBlue, GNEDialog::myApplicationWindow, myGridNetworkButton, myGridNetworkLabel, myRandomGridNetworkButton, myRandomGridNetworkLabel, myRandomNetworkButton, myRandomNetworkLabel, mySelectedNetworktypeFlag, mySpiderNetworkButton, mySpiderNetworkLabel, and updateRunButtons().
Referenced by FXDEFMAP(), GNENetgenerateDialog(), and GNENetgenerateDialogElements.
| long GNENetgenerateDialog::onCmdSetRandomNetworkGridNetwork | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
set random grid
Definition at line 197 of file GNENetgenerateDialog.cpp.
References GUIDesignTextColorBlack, GUIDesignTextColorBlue, GNEDialog::myApplicationWindow, myGridNetworkButton, myGridNetworkLabel, myRandomGridNetworkButton, myRandomGridNetworkLabel, myRandomNetworkButton, myRandomNetworkLabel, mySelectedNetworktypeFlag, mySpiderNetworkButton, mySpiderNetworkLabel, and updateRunButtons().
Referenced by FXDEFMAP(), GNENetgenerateDialog(), and GNENetgenerateDialogElements.
| long GNENetgenerateDialog::onCmdSetSpiderNetwork | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
set spider
Definition at line 170 of file GNENetgenerateDialog.cpp.
References GUIDesignTextColorBlack, GUIDesignTextColorBlue, GNEDialog::myApplicationWindow, myGridNetworkButton, myGridNetworkLabel, myRandomGridNetworkButton, myRandomGridNetworkLabel, myRandomNetworkButton, myRandomNetworkLabel, mySelectedNetworktypeFlag, mySpiderNetworkButton, mySpiderNetworkLabel, and updateRunButtons().
Referenced by FXDEFMAP(), GNENetgenerateDialog(), and GNENetgenerateDialogElements.
|
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().
|
inherited |
called when user releases a key on the dialog
Definition at line 190 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
protectedinherited |
open dialog
Definition at line 200 of file GNEDialog.cpp.
Referenced by GNEAboutDialog::GNEAboutDialog(), GNEBasicDialog::GNEBasicDialog(), GNEColorDialog::GNEColorDialog(), GNECrashDialog::GNECrashDialog(), GNEDistributionRefDialog::GNEDistributionRefDialog(), GNEFileDialog::GNEFileDialog(), GNEFilePathDialog::GNEFilePathDialog(), GNEHelpAttributesDialog::GNEHelpAttributesDialog(), GNENeteditOptionsDialog::GNENeteditOptionsDialog(), GNENetgenerateDialog::GNENetgenerateDialog(), GNENetgenerateOptionsDialog::GNENetgenerateOptionsDialog(), GNEOverwriteElement::GNEOverwriteElement(), GNEParametersDialog::GNEParametersDialog(), GNEPythonToolDialog::GNEPythonToolDialog(), GNERunNetgenerateDialog::GNERunNetgenerateDialog(), GNERunPythonToolDialog::GNERunPythonToolDialog(), GNESaveDialog::GNESaveDialog(), GNESumoOptionsDialog::GNESumoOptionsDialog(), GNEUndoListDialog::GNEUndoListDialog(), and GNEVClassesDialog::GNEVClassesDialog().
|
privatedelete |
Invalidated assignment operator.
References GNENetgenerateDialog().
|
virtual |
run internal test
Implements GNEDialog.
Definition at line 106 of file GNENetgenerateDialog.cpp.
Referenced by GNENetgenerateDialogElements.
|
inherited |
wet FXWindows uses for restoring focus
Definition at line 114 of file GNEDialog.cpp.
References myRestoringFocusWindow.
Referenced by GNEFileDialog::GNEFileDialog().
|
protectedinherited |
update icon
Definition at line 321 of file GNEDialog.cpp.
References GUIIconSubSys::getIcon().
Referenced by GNEFileDialog::GNEFileDialog().
|
private |
update run buttons
Definition at line 267 of file GNENetgenerateDialog.cpp.
References GNEDialog::myAdvancedButton, myOutputTextField, GNEDialog::myRunButton, and mySelectedNetworktypeFlag.
Referenced by GNENetgenerateDialog(), onCmdSetGridNetwork(), onCmdSetOutput(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), and onCmdSetSpiderNetwork().
|
protectedinherited |
update title
Definition at line 315 of file GNEDialog.cpp.
Referenced by GNEFileDialog::GNEFileDialog().
|
friend |
FOX-declaration.
declare friend class
Definition at line 40 of file GNENetgenerateDialog.h.
References GNENetgenerateDialog(), GNENetgenerateDialogElements, onCmdAdvanced(), onCmdOpenOutputFile(), onCmdRun(), onCmdSetGridNetwork(), onCmdSetOutput(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), onCmdSetSpiderNetwork(), and runInternalTest().
Referenced by GNENetgenerateDialogElements.
|
protectedinherited |
|
protectedinherited |
accept button
Definition at line 155 of file GNEDialog.h.
Referenced by buildDialog(), GNEFileDialog::GNEFileDialog(), GNEDistributionRefDialog::onCmdSetProbability(), GNEDistributionRefDialog::onCmdSetReference(), and GNERunDialog::updateDialogButtons().
|
protectedinherited |
advanced button
Definition at line 173 of file GNEDialog.h.
Referenced by buildDialog(), and GNENetgenerateDialog::updateRunButtons().
|
protectedinherited |
FOX needs this.
pointer to the main window
Definition at line 146 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(), GNERunDialog::updateDialogButtons(), and GNEUndoListDialog::updateList().
|
protectedinherited |
back button
Definition at line 170 of file GNEDialog.h.
Referenced by buildDialog(), and GNERunDialog::updateDialogButtons().
|
protectedinherited |
|
protectedinherited |
content frame
Definition at line 152 of file GNEDialog.h.
Referenced by buildDialog(), getContentFrame(), GNEAboutDialog::GNEAboutDialog(), GNEBasicDialog::GNEBasicDialog(), GNECrashDialog::GNECrashDialog(), GNEDistributionRefDialog::GNEDistributionRefDialog(), GNEFilePathDialog::GNEFilePathDialog(), GNEFixElementsDialog< T >::GNEFixElementsDialog(), GNEHelpAttributesDialog::GNEHelpAttributesDialog(), GNENetgenerateDialog::GNENetgenerateDialog(), GNEOverwriteElement::GNEOverwriteElement(), GNEParametersDialog::GNEParametersDialog(), GNEPythonToolDialog::GNEPythonToolDialog(), GNERunDialog::GNERunDialog(), GNESaveDialog::GNESaveDialog(), and GNEUndoListDialog::GNEUndoListDialog().
|
protectedinherited |
copy button
Definition at line 176 of file GNEDialog.h.
Referenced by buildDialog(), and GNECrashDialog::GNECrashDialog().
|
privateinherited |
focus button, used for focusing the default button when dialog is opened
Definition at line 207 of file GNEDialog.h.
Referenced by buildDialog().
|
private |
grid network
Definition at line 102 of file GNENetgenerateDialog.h.
Referenced by GNENetgenerateDialog(), onCmdSetGridNetwork(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), and onCmdSetSpiderNetwork().
|
private |
grid network
Definition at line 90 of file GNENetgenerateDialog.h.
Referenced by GNENetgenerateDialog(), onCmdSetGridNetwork(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), and onCmdSetSpiderNetwork().
|
privateinherited |
open type
Definition at line 210 of file GNEDialog.h.
Referenced by closeDialogAborting(), closeDialogAccepting(), closeDialogCanceling(), GNEDialog(), and GNEDialog().
|
private |
output text field
Definition at line 114 of file GNENetgenerateDialog.h.
Referenced by GNENetgenerateDialog(), onCmdOpenOutputFile(), onCmdSetOutput(), and updateRunButtons().
|
private |
random grid network
Definition at line 108 of file GNENetgenerateDialog.h.
Referenced by GNENetgenerateDialog(), onCmdSetGridNetwork(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), and onCmdSetSpiderNetwork().
|
private |
random grid network
Definition at line 96 of file GNENetgenerateDialog.h.
Referenced by GNENetgenerateDialog(), onCmdSetGridNetwork(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), and onCmdSetSpiderNetwork().
|
private |
grid network
Definition at line 111 of file GNENetgenerateDialog.h.
Referenced by GNENetgenerateDialog(), onCmdSetGridNetwork(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), and onCmdSetSpiderNetwork().
|
private |
grid network
Definition at line 99 of file GNENetgenerateDialog.h.
Referenced by GNENetgenerateDialog(), onCmdSetGridNetwork(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), and onCmdSetSpiderNetwork().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
FXWindows that restoring focus window.
Definition at line 149 of file GNEDialog.h.
Referenced by closeDialogAborting(), closeDialogAccepting(), closeDialogCanceling(), and setRestoringFocusWindow().
|
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().
|
protectedinherited |
run button
Definition at line 167 of file GNEDialog.h.
Referenced by buildDialog(), GNERunDialog::updateDialogButtons(), and GNENetgenerateDialog::updateRunButtons().
|
private |
flag to indicate if networkType was selected
Definition at line 87 of file GNENetgenerateDialog.h.
Referenced by onCmdSetGridNetwork(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), onCmdSetSpiderNetwork(), and updateRunButtons().
|
private |
grid network
Definition at line 105 of file GNENetgenerateDialog.h.
Referenced by GNENetgenerateDialog(), onCmdSetGridNetwork(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), and onCmdSetSpiderNetwork().
|
private |
grid network
Definition at line 93 of file GNENetgenerateDialog.h.
Referenced by GNENetgenerateDialog(), onCmdSetGridNetwork(), onCmdSetRandomNetwork(), onCmdSetRandomNetworkGridNetwork(), and onCmdSetSpiderNetwork().
|
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().
|
protectedinherited |