![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFixElementsDialog.h>
Data Structures | |
| class | Buttons |
| FOX needs this. More... | |
Public Member Functions | |
| GNEFixElementsDialog (GNEViewNet *viewNet, const std::string title, GUIIcon icon, const int sizeX, const int sizeY) | |
| FOX-declaration. | |
| virtual void | runInternalTest (const InternalTestStep::DialogTest *modalArguments)=0 |
| run internal test | |
| ~GNEFixElementsDialog () | |
| destructor | |
FOX-callbacks | |
| virtual long | onCmdSelectOption (FXObject *obj, FXSelector, void *)=0 |
| event when user select a option | |
| virtual long | onCmdAccept (FXObject *, FXSelector, void *)=0 |
| event after press accept button | |
| virtual long | onCmdCancel (FXObject *, FXSelector, void *)=0 |
| event after press cancel button | |
Protected Member Functions | |
| long | closeFixDialog (const bool success) |
| stop fix elements dialog accepting changes | |
| long | openFixDialog () |
| open dialog | |
| FXuint | openModalDialog (InternalTest *internalTests, FXuint placement=PLACEMENT_CURSOR) |
| Run modal invocation of the dialog. | |
FOX-callbacks | |
| long | onCmdInternalTest (FXObject *, FXSelector, void *ptr) |
| event used in internal tests | |
Protected Attributes | |
| Buttons * | myButtons = nullptr |
| buttons | |
| FXVerticalFrame * | myMainFrame = nullptr |
| main | |
| bool | myTesting = false |
| flag to indicate if this dialog is being tested using internal test | |
| GNEViewNet * | myViewNet = nullptr |
| view net | |
Private Member Functions | |
| FXuint | execute (FXuint placement=PLACEMENT_CURSOR) |
| make execute private | |
| GNEFixElementsDialog (const GNEFixElementsDialog &)=delete | |
| Invalidated copy constructor. | |
| GNEFixElementsDialog & | operator= (const GNEFixElementsDialog &)=delete |
| Invalidated assignment operator. | |
Definition at line 37 of file GNEFixElementsDialog.h.
| GNEFixElementsDialog::GNEFixElementsDialog | ( | GNEViewNet * | viewNet, |
| const std::string | title, | ||
| GUIIcon | icon, | ||
| const int | sizeX, | ||
| const int | sizeY | ||
| ) |
FOX-declaration.
Constructor
Definition at line 46 of file GNEFixElementsDialog.cpp.
References GUIIconSubSys::getIcon(), and GUIDesignAuxiliarFrame.
| GNEFixElementsDialog::~GNEFixElementsDialog | ( | ) |
destructor
Definition at line 56 of file GNEFixElementsDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
|
protected |
stop fix elements dialog accepting changes
Definition at line 67 of file GNEFixElementsDialog.cpp.
Referenced by GNEFixAdditionalElements::onCmdAccept(), GNEFixDemandElements::onCmdAccept(), GNEFixNetworkElements::onCmdAccept(), GNEFixAdditionalElements::onCmdCancel(), GNEFixDemandElements::onCmdCancel(), and GNEFixNetworkElements::onCmdCancel().
|
privateinherited |
make execute private
Definition at line 128 of file MFXDialogBox.cpp.
|
pure virtual |
event after press accept button
Implemented in GNEFixAdditionalElements, GNEFixDemandElements, and GNEFixNetworkElements.
Referenced by FXDEFMAP().
|
pure virtual |
event after press cancel button
Implemented in GNEFixAdditionalElements, GNEFixDemandElements, and GNEFixNetworkElements.
Referenced by FXDEFMAP().
|
inherited |
event used in internal tests
Definition at line 115 of file MFXDialogBox.cpp.
References MFXDialogBox::runInternalTest().
Referenced by FXDEFMAP().
|
pure virtual |
event when user select a option
Implemented in GNEFixAdditionalElements, GNEFixDemandElements, and GNEFixNetworkElements.
Referenced by FXDEFMAP().
|
protected |
open dialog
Definition at line 60 of file GNEFixElementsDialog.cpp.
References GNEViewParent::getGNEAppWindows(), GNEApplicationWindow::getInternalTest(), GNEViewNet::getViewParent(), myViewNet, and MFXDialogBox::openModalDialog().
Referenced by GNEFixAdditionalElements::openDialog(), GNEFixDemandElements::openDialog(), and GNEFixNetworkElements::openDialog().
|
inherited |
Run modal invocation of the dialog.
Definition at line 64 of file MFXDialogBox.cpp.
References InternalTest::getCurrentStep(), InternalTestStep::getModalDialogTestSteps(), and MFXDialogBox::myTesting.
Referenced by GNETLSEditorFrame::TLSAttributes::onCmdParametersDialog(), GNEAllowVClassesDialog::openDialog(), openFixDialog(), GNEOptionsDialog::Options(), and GNEOptionsDialog::Run().
|
privatedelete |
Invalidated assignment operator.
|
pure virtual |
run internal test
Reimplemented from MFXDialogBox.
Implemented in GNEFixDemandElements, GNEFixAdditionalElements, and GNEFixNetworkElements.
|
protected |
buttons
Definition at line 103 of file GNEFixElementsDialog.h.
Referenced by GNEFixAdditionalElements::openDialog(), GNEFixDemandElements::openDialog(), and GNEFixNetworkElements::openDialog().
|
protected |
main
Definition at line 100 of file GNEFixElementsDialog.h.
|
protectedinherited |
flag to indicate if this dialog is being tested using internal test
Definition at line 66 of file MFXDialogBox.h.
Referenced by MFXDialogBox::onCmdAccept(), MFXDialogBox::onCmdCancel(), and MFXDialogBox::openModalDialog().
|
protected |
view net
Definition at line 97 of file GNEFixElementsDialog.h.
Referenced by GNEFixDemandElements::FixRouteOptions::fixElements(), GNEFixDemandElements::FixVehicleOptions::fixElements(), GNEFixDemandElements::FixStopPositionOptions::fixElements(), GNEFixDemandElements::FixPersonPlanOptions::fixElements(), GNEFixNetworkElements::FixEdgeOptions::fixElements(), GNEFixNetworkElements::FixCrossingOptions::fixElements(), GNEFixAdditionalElements::onCmdAccept(), and openFixDialog().