![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFileDialog.h>
Public Types | |
| enum class | ConfigType { SUMO , NETEDIT } |
| config type More... | |
| enum class | OpenMode { SAVE , LOAD_SINGLE , LOAD_MULTIPLE , LOAD_DIRECTORY } |
| file open mode More... | |
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_CLOSE , OK_COPY_REPORT } |
| enum class | OpenType { MODAL , NON_MODAL } |
| Open dialog type. More... | |
Public Member Functions | |
| std::string | getDirectory () const |
| Return directory. | |
| std::string | getFilename () const |
| Return file name, if any. | |
| std::vector< std::string > | getFilenames () const |
| Return empty-string terminated list of selected file names, or NULL if none selected. | |
| GNEFileDialog (GNEApplicationWindow *applicationWindow, const std::string elementFile, const std::vector< std::string > &extensions, GNEFileDialog::OpenMode openMode, GNEFileDialog::ConfigType configType) | |
| constructor | |
| void | runInternalTest (const InternalTestStep::DialogArgument *dialogArgument) |
| run internal test | |
| ~GNEFileDialog () | |
| destructor | |
FOX-callbacks | |
| long | onCmdAccept (FXObject *, FXSelector, void *) |
| called when accept or yes button is pressed (can be reimplemented in children) | |
FOX-callbacks | |
| 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 | 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 | 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 | 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 Member Functions | |
| long | closeDialogAborting () |
| close dialog aborting the changes | |
| long | closeDialogAccepting () |
| close dialog accepting the changes | |
| long | closeDialogCanceling () |
| close dialog declining the changes | |
| void | openDialog (FXWindow *focusableElement=nullptr) |
| open dialog | |
| void | updateIcon (GUIIcon newIcon) |
| update icon | |
| void | updateTitle (const std::string &newTitle) |
| update title | |
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 | |
| GNEFileSelector * | myFileSelector |
| the file selector widget | |
| FXButton * | myReportButton = nullptr |
| report button | |
| FXButton * | myResetButton = nullptr |
| reset button | |
| 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 | |
| std::string | assureExtension (const std::string &filename) const |
| check extensions | |
| void | buildDialog (GUIIcon titleIcon, Buttons buttons) |
| build dialog | |
| GNEFileDialog (const GNEFileDialog &)=delete | |
| invalidate copy constructor | |
| GNEFileDialog & | operator= (const GNEFileDialog &)=delete |
| invalidate assignment operator | |
Private Attributes | |
| FXButton * | myFocusButton = nullptr |
| focus button, used for focusing the default button when dialog is opened | |
| OpenType | myOpenType |
| open type | |
| bool | myTesting = false |
| flag to indicate if this dialog is being tested using internal test | |
Resize mode | |
| enum class | ResizeMode { STATIC , RESIZABLE } |
| enum class | Result { ACCEPT , CANCEL , ABORT , ACCEPT_ALL , CANCEL_ALL } |
| list of possible results when closing the dialog More... | |
| 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 | |
Definition at line 35 of file GNEFileDialog.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_CLOSE | |
| OK_COPY_REPORT | |
Definition at line 43 of file GNEDialog.h.
|
strong |
|
strong |
file open mode
| Enumerator | |
|---|---|
| SAVE | |
| LOAD_SINGLE | |
| LOAD_MULTIPLE | |
| LOAD_DIRECTORY | |
Definition at line 39 of file GNEFileDialog.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.
| GNEFileDialog::GNEFileDialog | ( | GNEApplicationWindow * | applicationWindow, |
| const std::string | elementFile, | ||
| const std::vector< std::string > & | extensions, | ||
| GNEFileDialog::OpenMode | openMode, | ||
| GNEFileDialog::ConfigType | configType | ||
| ) |
constructor
Definition at line 32 of file GNEFileDialog.cpp.
References gCurrentFolder, GNEFileSelector::getFileBoxStyle(), GNEFileSelector::getFilenameTextField(), GNEDialog::myAcceptButton, myFileSelector, OPEN, GNEDialog::openDialog(), SAVE, GNEFileSelector::setDirectory(), GNEFileSelector::setFileBoxStyle(), GNEFileSelector::showHiddenFiles(), TLF, GNEDialog::updateIcon(), and GNEDialog::updateTitle().
| GNEFileDialog::~GNEFileDialog | ( | ) |
destructor
Definition at line 62 of file GNEFileDialog.cpp.
References GNEFileSelector::getFileBoxStyle(), myFileSelector, and GNEFileSelector::showHiddenFiles().
|
privatedelete |
invalidate copy constructor
|
private |
check extensions
Definition at line 112 of file GNEFileDialog.cpp.
References StringUtils::endsWith(), GNEFileSelector::getFileExtension(), and myFileSelector.
Referenced by getFilename(), and getFilenames().
|
privateinherited |
build dialog
Definition at line 309 of file GNEDialog.cpp.
References GNEDialog::ACCEPT, GNEDialog::ACCEPT_CANCEL, GNEDialog::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, GNEDialog::myAbortButton, GNEDialog::myAcceptButton, GNEDialog::myAdvancedButton, GNEDialog::myBackButton, GNEDialog::myCancelButton, GNEDialog::myContentFrame, GNEDialog::myCopyButton, GNEDialog::myFocusButton, GNEDialog::myReportButton, GNEDialog::myResetButton, GNEDialog::myRunButton, NO, GNEDialog::OK, GNEDialog::OK_COPY_REPORT, OPTIONS, GNEDialog::RERUN_BACK_CLOSE, RESET, GNEDialog::RUN_ADVANCED_CANCEL, GNEDialog::RUN_CANCEL_RESET, SAVE, GNEDialog::SAVE_DONTSAVE_CANCEL, START, TL, YES, GNEDialog::YES_NO, and GNEDialog::YES_NO_CANCEL.
Referenced by GNEDialog::GNEDialog().
|
protectedinherited |
close dialog aborting the changes
Definition at line 281 of file GNEDialog.cpp.
References GNEDialog::ABORT, GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myOpenType, GNEDialog::myResult, and GNEDialog::myTesting.
Referenced by GNEOverwriteElement::onCmdAbort(), GNETemplateElementDialog< T >::onCmdAbort(), GNEDialog::onCmdAbort(), and GNEDialog::onKeyPress().
|
protectedinherited |
close dialog accepting the changes
Definition at line 249 of file GNEDialog.cpp.
References GNEDialog::ACCEPT, GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myOpenType, GNEDialog::myResult, and GNEDialog::myTesting.
Referenced by GNETemplateElementDialog< T >::acceptElementDialog(), GNEOverwriteElement::onCmdAccept(), onCmdAccept(), GNEFixElementsDialog< T >::onCmdAccept(), GNEDialog::onCmdAccept(), GNEParametersDialog::onCmdAccept(), GNESaveDialog::onCmdAccept(), GNEVClassesDialog::onCmdAccept(), GNERunDialog::onCmdAccept(), and GNEPythonToolDialog::onCmdRun().
|
protectedinherited |
close dialog declining the changes
Definition at line 265 of file GNEDialog.cpp.
References GNEDialog::CANCEL, GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myOpenType, GNEDialog::myResult, and GNEDialog::myTesting.
Referenced by GNERunDialog::onCmdAbort(), GNEFixElementsDialog< T >::onCmdAccept(), GNEVClassesDialog::onCmdAccept(), GNERunNetgenerateDialog::onCmdAccept(), GNERunPythonToolDialog::onCmdAccept(), GNENetgenerateDialog::onCmdAdvanced(), GNERunNetgenerateDialog::onCmdBack(), GNEOverwriteElement::onCmdCancel(), GNETemplateElementDialog< T >::onCmdCancel(), GNEFilePathDialog::onCmdCancel(), GNEDialog::onCmdCancel(), GNESaveDialog::onCmdCancel(), GNEVClassesDialog::onCmdCancel(), GNENeteditOptionsDialog::onCmdCancel(), GNENetgenerateOptionsDialog::onCmdCancel(), GNESumoOptionsDialog::onCmdCancel(), and GNENetgenerateDialog::onCmdRun().
|
inherited |
get pointer to the application window
Definition at line 102 of file GNEDialog.cpp.
References GNEDialog::myApplicationWindow.
Referenced by GNEPythonToolDialog::buildArguments(), GNEVehicleTypeDialog::CarFollowingModelParameters::CarFollowingModelParameters(), GNEFileSelector::onCmdCopy(), GNEFileSelector::onCmdDelete(), GNEOptionsEditor::onCmdLoadOptions(), GNEFileSelector::onCmdMove(), GNEFileSelector::onCmdNewFolder(), GNEOptionsEditor::onCmdSaveOptions(), GNEOptionsEditor::onCmdShowToolTipsMenu(), GNEVehicleTypeDialog::VTypeAttributes::VShapeRow::VShapeRow(), and GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::VTypeAttributeRow().
|
inherited |
get content frame
Definition at line 108 of file GNEDialog.cpp.
References GNEDialog::myContentFrame.
Referenced by GNEVClassesDialog::GNEVClassesDialog().
| std::string GNEFileDialog::getDirectory | ( | ) | const |
Return directory.
Definition at line 97 of file GNEFileDialog.cpp.
References GNEFileSelector::getDirectory(), and myFileSelector.
| std::string GNEFileDialog::getFilename | ( | ) | const |
Return file name, if any.
Definition at line 80 of file GNEFileDialog.cpp.
References assureExtension(), GNEFileSelector::getFilename(), and myFileSelector.
| std::vector< std::string > GNEFileDialog::getFilenames | ( | ) | const |
Return empty-string terminated list of selected file names, or NULL if none selected.
Definition at line 86 of file GNEFileDialog.cpp.
References assureExtension(), GNEFileSelector::getFilenames(), and myFileSelector.
|
inherited |
get result to indicate if this dialog was closed accepting or rejecting changes
Definition at line 96 of file GNEDialog.cpp.
References GNEDialog::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, GNETemplateElementDialog< T >, GNETemplateElementDialog< elementDialogType >, GNETemplateElementDialog< GNEAdditional >, GNETemplateElementDialog< GNEAttributeCarrier >, GNETemplateElementDialog< GNEDemandElement >, GNERunDialog, GNERunNetgenerateDialog, and GNERunPythonToolDialog.
Definition at line 126 of file GNEDialog.cpp.
References GNEDialog::closeDialogAborting().
Referenced by FXDEFMAP(), and GNEDialog::openDialog().
|
virtual |
called when accept or yes button is pressed (can be reimplemented in children)
Reimplemented from GNEDialog.
Definition at line 103 of file GNEFileDialog.cpp.
References GNEDialog::closeDialogAccepting(), gCurrentFolder, GNEFileSelector::getDirectory(), and myFileSelector.
Referenced by GNEFileSelector::onCmdAccept(), and GNEFileSelector::onCmdItemDoubleClicked().
|
virtualinherited |
called when advanced button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNENetgenerateDialog.
Definition at line 150 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
called when back button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNERunNetgenerateDialog, GNERunPythonToolDialog, GNERunNetgenerateDialog, GNERunPythonToolDialog, and GNERunDialog.
Definition at line 144 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
called when cancel or no button is pressed (can be reimplemented in children)
Reimplemented in GNEOverwriteElement, GNETemplateElementDialog< T >, GNETemplateElementDialog< elementDialogType >, GNETemplateElementDialog< GNEAdditional >, GNETemplateElementDialog< GNEAttributeCarrier >, GNETemplateElementDialog< GNEDemandElement >, GNEFilePathDialog, GNESaveDialog, GNEVClassesDialog, GNENeteditOptionsDialog, GNENetgenerateOptionsDialog, GNESumoOptionsDialog, GNERunNetgenerateDialog, GNERunPythonToolDialog, and GNEGeometryPointDialog.
Definition at line 120 of file GNEDialog.cpp.
References GNEDialog::closeDialogCanceling().
Referenced by FXDEFMAP(), FXDEFMAP(), and GNEDialog::openDialog().
|
virtualinherited |
called when copy button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNECrashDialog.
Definition at line 156 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
called when report 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().
|
virtualinherited |
called when reset button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNEAttributeCarrierDialog, GNECalibratorDialog, GNERerouterDialog, GNERerouterIntervalDialog, GNEVariableSpeedSignDialog, GNEVehicleTypeDialog, GNEFilePathDialog, GNEColorDialog, GNEGeometryPointDialog, GNEParametersDialog, GNEVClassesDialog, GNENeteditOptionsDialog, GNENetgenerateOptionsDialog, GNESumoOptionsDialog, GNEPythonToolDialog, GNETemplateElementDialog< T >, GNETemplateElementDialog< elementDialogType >, GNETemplateElementDialog< GNEAdditional >, GNETemplateElementDialog< GNEAttributeCarrier >, and GNETemplateElementDialog< GNEDemandElement >.
Definition at line 132 of file GNEDialog.cpp.
Referenced by FXDEFMAP(), and GNEDialog::openDialog().
|
virtualinherited |
called when run button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNERunDialog, GNENetgenerateDialog, and GNEPythonToolDialog.
Definition at line 138 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
inherited |
called when user presses a key on the dialog
Definition at line 168 of file GNEDialog.cpp.
References GNEDialog::closeDialogAborting(), GNEApplicationWindow::getInternalTest(), GNEDialog::myApplicationWindow, and GNEDialog::myTesting.
Referenced by FXDEFMAP().
|
inherited |
called when user releases a key on the dialog
Definition at line 184 of file GNEDialog.cpp.
References GNEApplicationWindow::getInternalTest(), GNEDialog::myApplicationWindow, and GNEDialog::myTesting.
Referenced by FXDEFMAP().
|
protectedinherited |
open dialog
Definition at line 194 of file GNEDialog.cpp.
References InternalTestStep::DialogArgument::ABORT, InternalTestStep::DialogArgument::ACCEPT, InternalTestStep::DialogArgument::CANCEL, InternalTestStep::DIALOG, GNEApplicationWindow::getInternalTest(), GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myFocusButton, GNEDialog::myOpenType, GNEDialog::myTesting, GNEDialog::myType, GNEDialog::onCmdAbort(), GNEDialog::onCmdAccept(), GNEDialog::onCmdCancel(), GNEDialog::onCmdReset(), InternalTestStep::DialogArgument::RESET, GNEDialog::runInternalTest(), and InternalTest::setNextStep().
Referenced by GNEAboutDialog::GNEAboutDialog(), GNEAttributeCarrierDialog::GNEAttributeCarrierDialog(), GNEBasicDialog::GNEBasicDialog(), GNECalibratorDialog::GNECalibratorDialog(), GNEFileDialog(), GNEFilePathDialog::GNEFilePathDialog(), GNEFixAdditionalElementsDialog::GNEFixAdditionalElementsDialog(), GNEFixDemandElementsDialog::GNEFixDemandElementsDialog(), GNEFixNetworkElements::GNEFixNetworkElements(), GNEHelpAttributesDialog::GNEHelpAttributesDialog(), GNENeteditOptionsDialog::GNENeteditOptionsDialog(), GNENetgenerateOptionsDialog::GNENetgenerateOptionsDialog(), GNEOverwriteElement::GNEOverwriteElement(), GNEParametersDialog::GNEParametersDialog(), GNERerouterDialog::GNERerouterDialog(), GNERerouterIntervalDialog::GNERerouterIntervalDialog(), GNERunNetgenerateDialog::GNERunNetgenerateDialog(), GNERunPythonToolDialog::GNERunPythonToolDialog(), GNESaveDialog::GNESaveDialog(), GNESumoOptionsDialog::GNESumoOptionsDialog(), GNEVariableSpeedSignDialog::GNEVariableSpeedSignDialog(), GNEVClassesDialog::GNEVClassesDialog(), and GNEVehicleTypeDialog::GNEVehicleTypeDialog().
|
privatedelete |
invalidate assignment operator
|
virtual |
run internal test
Implements GNEDialog.
Definition at line 71 of file GNEFileDialog.cpp.
References InternalTestStep::DialogArgument::getCustomAction(), InternalTestStep::DialogArgument::getIndex(), myFileSelector, GNEFileSelector::setFilter(), and GNEFileSelector::setPath().
|
protectedinherited |
update icon
Definition at line 303 of file GNEDialog.cpp.
References GUIIconSubSys::getIcon().
Referenced by GNEFileDialog().
|
protectedinherited |
update title
Definition at line 297 of file GNEDialog.cpp.
Referenced by GNEFileDialog().
|
protectedinherited |
|
protectedinherited |
accept button
Definition at line 149 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), GNEFileDialog(), and GNERunDialog::updateDialogButtons().
|
protectedinherited |
advanced button
Definition at line 167 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), and GNENetgenerateDialog::updateRunButtons().
|
protectedinherited |
FOX needs this.
pointer to the main window
Definition at line 143 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), GNEFixElementsDialog< T >::getApplicationWindow(), GNEDialog::getApplicationWindow(), GNERunDialog::onCmdAbort(), GNEParametersDialog::onCmdAccept(), GNERunNetgenerateDialog::onCmdAccept(), GNERunPythonToolDialog::onCmdAccept(), GNERunDialog::onCmdAccept(), GNENetgenerateDialog::onCmdAdvanced(), GNERunNetgenerateDialog::onCmdBack(), GNERunPythonToolDialog::onCmdBack(), GNEPythonToolDialog::onCmdLoad(), GNENetgenerateDialog::onCmdOpenOutputFile(), GNERunDialog::onCmdRun(), GNENetgenerateDialog::onCmdRun(), GNEPythonToolDialog::onCmdRun(), GNEPythonToolDialog::onCmdSave(), GNERunDialog::onCmdSaveLog(), GNEUndoListDialog::onCmdSelectRow(), GNENetgenerateDialog::onCmdSetGridNetwork(), GNENetgenerateDialog::onCmdSetOutput(), GNENetgenerateDialog::onCmdSetRandomNetwork(), GNENetgenerateDialog::onCmdSetRandomNetworkGridNetwork(), GNENetgenerateDialog::onCmdSetSpiderNetwork(), GNEPythonToolDialog::onCmdShowToolTipsMenu(), GNEDialog::onKeyPress(), GNEDialog::onKeyRelease(), GNEDialog::openDialog(), GNEFixElementsDialog< T >::FixOptions::saveContents(), GNERunDialog::updateDialogButtons(), and GNEUndoListDialog::updateList().
|
protectedinherited |
back button
Definition at line 164 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), and GNERunDialog::updateDialogButtons().
|
protectedinherited |
|
protectedinherited |
content frame
Definition at line 146 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), GNEDialog::getContentFrame(), GNEAboutDialog::GNEAboutDialog(), GNEAttributeCarrierDialog::GNEAttributeCarrierDialog(), GNEBasicDialog::GNEBasicDialog(), GNECalibratorDialog::GNECalibratorDialog(), GNEFilePathDialog::GNEFilePathDialog(), GNEFixElementsDialog< T >::GNEFixElementsDialog(), GNEHelpAttributesDialog::GNEHelpAttributesDialog(), GNEOverwriteElement::GNEOverwriteElement(), GNEParametersDialog::GNEParametersDialog(), GNERerouterIntervalDialog::GNERerouterIntervalDialog(), GNESaveDialog::GNESaveDialog(), and GNEVehicleTypeDialog::GNEVehicleTypeDialog().
|
protectedinherited |
|
protected |
the file selector widget
Definition at line 82 of file GNEFileDialog.h.
Referenced by assureExtension(), getDirectory(), getFilename(), getFilenames(), GNEFileDialog(), onCmdAccept(), runInternalTest(), and ~GNEFileDialog().
|
privateinherited |
focus button, used for focusing the default button when dialog is opened
Definition at line 201 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), and GNEDialog::openDialog().
|
privateinherited |
open type
Definition at line 204 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), and GNEDialog::openDialog().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
result to indicate if this dialog was closed accepting or rejecting changes
Definition at line 179 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), GNEDialog::getResult(), GNESaveDialog::onCmdAccept(), and GNESaveDialog::onCmdCancel().
|
protectedinherited |
run button
Definition at line 161 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), GNERunDialog::updateDialogButtons(), and GNENetgenerateDialog::updateRunButtons().
|
privateinherited |
flag to indicate if this dialog is being tested using internal test
Definition at line 207 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), GNEDialog::onKeyPress(), GNEDialog::onKeyRelease(), and GNEDialog::openDialog().
|
protectedinherited |