Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFixElementsDialog.h>
Data Structures | |
class | AdditionalList |
groupbox for list More... | |
class | ConsecutiveLaneOptions |
groupbox for group all radio buttons related to additionals with consecutive lanes More... | |
class | PositionOptions |
groupbox for group all radio buttons related to additionals with single lanes More... | |
Public Member Functions | |
GNEFixElementsDialog (GNEViewNet *viewNet, const std::vector< GNEAdditional * > &invalidSingleLaneAdditionals, const std::vector< GNEAdditional * > &invalidMultiLaneAdditionals) | |
FOX-declaration. | |
~GNEFixElementsDialog () | |
destructor | |
FOX-callbacks | |
event when user select a option | |
long | onCmdSelectOption (FXObject *obj, FXSelector, void *) |
long | onCmdAccept (FXObject *, FXSelector, void *) |
event after press accept button | |
long | onCmdCancel (FXObject *, FXSelector, void *) |
event after press cancel button | |
Protected Attributes | |
AdditionalList * | myAdditionalList |
Additional List. | |
FXButton * | myCancelButton |
cancel button | |
ConsecutiveLaneOptions * | myConsecutiveLaneOptions |
consecutive lane options | |
FXButton * | myKeepOldButton |
accept button | |
FXVerticalFrame * | myMainFrame |
main | |
PositionOptions * | myPositionOptions |
position options | |
GNEViewNet * | myViewNet |
view net | |
Private Member Functions | |
GNEFixElementsDialog (const GNEFixElementsDialog &)=delete | |
Invalidated copy constructor. | |
GNEFixElementsDialog & | operator= (const GNEFixElementsDialog &)=delete |
Invalidated assignment operator. | |
Definition at line 36 of file GNEFixElementsDialog.h.
GNEFixElementsDialog::GNEFixElementsDialog | ( | GNEViewNet * | viewNet, |
const std::vector< GNEAdditional * > & | invalidSingleLaneAdditionals, | ||
const std::vector< GNEAdditional * > & | invalidMultiLaneAdditionals | ||
) |
FOX-declaration.
Constructor
Definition at line 47 of file GNEFixElementsDialog.cpp.
References ACCEPT, GUIDesigns::buildFXButton(), BUSSTOP, CANCEL, GUIIconSubSys::getIcon(), GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonAccept, GUIDesignButtonCancel, GUIDesignHorizontalFrame, MID_GNE_BUTTON_ACCEPT, MID_GNE_BUTTON_CANCEL, and TL.
GNEFixElementsDialog::~GNEFixElementsDialog | ( | ) |
destructor
Definition at line 79 of file GNEFixElementsDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
long GNEFixElementsDialog::onCmdAccept | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press accept button
Definition at line 92 of file GNEFixElementsDialog.cpp.
References GNEFixElementsDialog::PositionOptions::activateFriendlyPositionAndSave, GNEUndoList::begin(), GNEFixElementsDialog::ConsecutiveLaneOptions::buildConnectionBetweenLanes, GNENet::deleteAdditional(), GNEUndoList::end(), GNEFixElementsDialog::PositionOptions::fixPositionsAndSave, GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNE_ATTR_SELECTED, myAdditionalList, myConsecutiveLaneOptions, GNEFixElementsDialog::AdditionalList::myInvalidMultiLaneAdditionals, GNEFixElementsDialog::AdditionalList::myInvalidSingleLaneAdditionals, myPositionOptions, myViewNet, GNEFixElementsDialog::ConsecutiveLaneOptions::removeInvalidElements, GNEFixElementsDialog::PositionOptions::selectInvalidStopsAndCancel, SUMO_ATTR_FRIENDLY_POS, and toString().
Referenced by FXDEFMAP().
long GNEFixElementsDialog::onCmdCancel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press cancel button
Definition at line 176 of file GNEFixElementsDialog.cpp.
Referenced by FXDEFMAP().
long GNEFixElementsDialog::onCmdSelectOption | ( | FXObject * | obj, |
FXSelector | , | ||
void * | |||
) |
Definition at line 84 of file GNEFixElementsDialog.cpp.
References myConsecutiveLaneOptions, myPositionOptions, GNEFixElementsDialog::PositionOptions::selectOption(), and GNEFixElementsDialog::ConsecutiveLaneOptions::selectOption().
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
protected |
Additional List.
Definition at line 144 of file GNEFixElementsDialog.h.
Referenced by onCmdAccept().
|
protected |
cancel button
Definition at line 156 of file GNEFixElementsDialog.h.
|
protected |
consecutive lane options
Definition at line 150 of file GNEFixElementsDialog.h.
Referenced by onCmdAccept(), and onCmdSelectOption().
|
protected |
accept button
Definition at line 153 of file GNEFixElementsDialog.h.
|
protected |
main
Definition at line 141 of file GNEFixElementsDialog.h.
|
protected |
position options
Definition at line 147 of file GNEFixElementsDialog.h.
Referenced by onCmdAccept(), and onCmdSelectOption().
|
protected |