![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEAdditionalFrame.h>


Public Member Functions | |
| edgeParentsSelector (FXComposite *parent, GNEViewNet *viewNet) | |
| FOX-declaration. More... | |
| std::string | getIdsSelected () const |
| get list of selecte id's in string format More... | |
| void | hideList () |
| hide edgeParentsSelector More... | |
| bool | isUseSelectedEdgesEnable () const |
| get status of checkBox UseSelectedEdges More... | |
| void | showList (std::string search="") |
| Show list of edgeParentsSelector. More... | |
| void | updateUseSelectedEdges () |
| Update use selectedEdges. More... | |
| ~edgeParentsSelector () | |
| destructor More... | |
FOX-callbacks | |
called when user trigger checkBox of useSelectedEdges | |
| long | onCmdUseSelectedEdges (FXObject *, FXSelector, void *) |
| long | onCmdTypeInSearchBox (FXObject *, FXSelector, void *) |
| called when user type in search box More... | |
| long | onCmdSelectEdge (FXObject *, FXSelector, void *) |
| called when user select a edge of the list More... | |
| long | onCmdClearSelection (FXObject *, FXSelector, void *) |
| called when clear selection button is pressed More... | |
| long | onCmdInvertSelection (FXObject *, FXSelector, void *) |
| called when invert selection button is pressed More... | |
| long | onCmdHelp (FXObject *, FXSelector, void *) |
| Called when help button is pressed. More... | |
Protected Member Functions | |
| edgeParentsSelector () | |
| FOX needs this. More... | |
Private Attributes | |
| FXButton * | myClearEdgesSelection |
| button for clear selection More... | |
| FXTextField * | myEdgesSearch |
| text field for search edge IDs More... | |
| FXButton * | myHelpedgeParentsSelector |
| button for help More... | |
| FXButton * | myInvertEdgesSelection |
| button for invert selection More... | |
| FXList * | myList |
| List of edgeParentsSelector. More... | |
| FXMenuCheck * | myUseSelectedEdges |
| CheckBox for selected edges. More... | |
| GNEViewNet * | myViewNet |
| viewNet associated to GNEAdditionalFrame More... | |
Definition at line 436 of file GNEAdditionalFrame.h.
| GNEAdditionalFrame::edgeParentsSelector::edgeParentsSelector | ( | FXComposite * | parent, |
| GNEViewNet * | viewNet | ||
| ) |
FOX-declaration.
constructor
Definition at line 1359 of file GNEAdditionalFrame.cpp.
References GUIDesignButtonHelp, GUIDesignHorizontalFrame, GUIDesignList, GUIDesignMenuCheck, GUIDesignTextField, GUIDesignTextFieldNCol, hideList(), MID_GNE_CLEAREDGESELECTION, MID_GNE_INVERTEDGESELECTION, MID_GNE_SEARCHEDGE, MID_GNE_SELECTEDGE, MID_GNE_SHOWONLYSELECTEDEDGES, MID_HELP, myClearEdgesSelection, myEdgesSearch, myHelpedgeParentsSelector, myInvertEdgesSelection, myList, and myUseSelectedEdges.
| GNEAdditionalFrame::edgeParentsSelector::~edgeParentsSelector | ( | ) |
destructor
Definition at line 1388 of file GNEAdditionalFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 485 of file GNEAdditionalFrame.h.
| std::string GNEAdditionalFrame::edgeParentsSelector::getIdsSelected | ( | ) | const |
get list of selecte id's in string format
Definition at line 1392 of file GNEAdditionalFrame.cpp.
References GNEAdditionalFrame::getIdsSelected(), and myList.
Referenced by GNEAdditionalFrame::addAdditional().
| void GNEAdditionalFrame::edgeParentsSelector::hideList | ( | ) |
hide edgeParentsSelector
Definition at line 1423 of file GNEAdditionalFrame.cpp.
Referenced by edgeParentsSelector(), and GNEAdditionalFrame::setParametersOfAdditional().
| bool GNEAdditionalFrame::edgeParentsSelector::isUseSelectedEdgesEnable | ( | ) | const |
get status of checkBox UseSelectedEdges
Definition at line 1440 of file GNEAdditionalFrame.cpp.
References myUseSelectedEdges.
Referenced by GNEAdditionalFrame::addAdditional().
| long GNEAdditionalFrame::edgeParentsSelector::onCmdClearSelection | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when clear selection button is pressed
Definition at line 1487 of file GNEAdditionalFrame.cpp.
References myList.
| long GNEAdditionalFrame::edgeParentsSelector::onCmdHelp | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when help button is pressed.
Definition at line 1511 of file GNEAdditionalFrame.cpp.
| long GNEAdditionalFrame::edgeParentsSelector::onCmdInvertSelection | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when invert selection button is pressed
Definition at line 1498 of file GNEAdditionalFrame.cpp.
References myList.
| long GNEAdditionalFrame::edgeParentsSelector::onCmdSelectEdge | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user select a edge of the list
Definition at line 1481 of file GNEAdditionalFrame.cpp.
| long GNEAdditionalFrame::edgeParentsSelector::onCmdTypeInSearchBox | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user type in search box
Definition at line 1473 of file GNEAdditionalFrame.cpp.
References myEdgesSearch, and showList().
| long GNEAdditionalFrame::edgeParentsSelector::onCmdUseSelectedEdges | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 1450 of file GNEAdditionalFrame.cpp.
References myClearEdgesSelection, myEdgesSearch, myHelpedgeParentsSelector, myInvertEdgesSelection, myList, and myUseSelectedEdges.
| void GNEAdditionalFrame::edgeParentsSelector::showList | ( | std::string | search = "" | ) |
Show list of edgeParentsSelector.
Definition at line 1398 of file GNEAdditionalFrame.cpp.
References GNEViewNet::getNet(), myList, myUseSelectedEdges, myViewNet, GNENet::retrieveEdges(), and GNEAdditionalFrame::show().
Referenced by onCmdTypeInSearchBox(), and GNEAdditionalFrame::setParametersOfAdditional().
| void GNEAdditionalFrame::edgeParentsSelector::updateUseSelectedEdges | ( | ) |
Update use selectedEdges.
Definition at line 1429 of file GNEAdditionalFrame.cpp.
References GNEViewNet::getNet(), myUseSelectedEdges, myViewNet, and GNENet::retrieveEdges().
Referenced by GNEAdditionalFrame::show().
|
private |
button for clear selection
Definition at line 501 of file GNEAdditionalFrame.h.
Referenced by edgeParentsSelector(), and onCmdUseSelectedEdges().
|
private |
text field for search edge IDs
Definition at line 495 of file GNEAdditionalFrame.h.
Referenced by edgeParentsSelector(), onCmdTypeInSearchBox(), and onCmdUseSelectedEdges().
|
private |
button for help
Definition at line 498 of file GNEAdditionalFrame.h.
Referenced by edgeParentsSelector(), and onCmdUseSelectedEdges().
|
private |
button for invert selection
Definition at line 504 of file GNEAdditionalFrame.h.
Referenced by edgeParentsSelector(), and onCmdUseSelectedEdges().
|
private |
List of edgeParentsSelector.
Definition at line 492 of file GNEAdditionalFrame.h.
Referenced by edgeParentsSelector(), getIdsSelected(), onCmdClearSelection(), onCmdInvertSelection(), onCmdUseSelectedEdges(), and showList().
|
private |
CheckBox for selected edges.
Definition at line 489 of file GNEAdditionalFrame.h.
Referenced by edgeParentsSelector(), isUseSelectedEdgesEnable(), onCmdUseSelectedEdges(), showList(), and updateUseSelectedEdges().
|
private |
viewNet associated to GNEAdditionalFrame
Definition at line 507 of file GNEAdditionalFrame.h.
Referenced by showList(), and updateUseSelectedEdges().