![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEAdditionalFrame.h>
Public Types | |
enum | Options { NOTHING = 1 << 0 , COLLAPSIBLE = 1 << 1 , SAVE = 1 << 2 , LOAD = 1 << 3 } |
GroupBoxModule options. More... | |
Public Member Functions | |
FXVerticalFrame * | getCollapsableFrame () |
get collapsable frame (used by all elements that will be collapsed if button is toogled) More... | |
std::vector< std::string > | getLaneIdsSelected () const |
get list of selecte lane ids in string format More... | |
void | hideSelectorChildLanesModule () |
hide SelectorChildLanes Module More... | |
long | onCmdCollapseButton (FXObject *, FXSelector, void *) |
collapse GroupBoxModule More... | |
long | onCmdLoadButton (FXObject *, FXSelector, void *) |
load contents More... | |
long | onCmdSaveButton (FXObject *, FXSelector, void *) |
save contents More... | |
long | onPaint (FXObject *, FXSelector, void *) |
draw FXGroupBoxModule More... | |
SelectorChildLanes (GNEAdditionalFrame *additionalFrameParent) | |
FOX-declaration. More... | |
void | setText (const std::string &text) |
set text More... | |
void | showSelectorChildLanesModule (std::string search="") |
Show list of SelectorChildLanes Module. More... | |
void | updateUseSelectedLanes () |
~SelectorChildLanes () | |
destructor More... | |
FOX-callbacks | |
called when user trigger checkBox of useSelectedLanes | |
long | onCmdUseSelectedLanes (FXObject *, FXSelector, void *) |
long | onCmdTypeInSearchBox (FXObject *, FXSelector, void *) |
called when user type in search box More... | |
long | onCmdSelectLane (FXObject *, FXSelector, void *) |
called when user select a lane 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... | |
Protected Member Functions | |
virtual bool | loadContents () const |
load contents (can be reimplemented in children) More... | |
virtual bool | saveContents () const |
save contents (can be reimplemented in children) More... | |
void | toogleSaveButton (const bool value) |
enable or disable save buttons More... | |
Private Attributes | |
FXButton * | clearLanesSelection |
button for clear selection More... | |
FXButton * | invertLanesSelection |
button for invert selection More... | |
GNEAdditionalFrame * | myAdditionalFrameParent |
pointer to additional frame parent More... | |
FXVerticalFrame * | myCollapsableFrame = nullptr |
vertical collapsable frame More... | |
FXButton * | myCollapseButton = nullptr |
button for collapse elements More... | |
bool | myCollapsed |
flag to check if this groupbox is collapsed More... | |
FXLabel * | myLabel = nullptr |
label used in non collapsable FXGroupBoxModule More... | |
FXTextField * | myLanesSearch |
text field for search lane IDs More... | |
FXList * | myList |
List of SelectorChildLanes. More... | |
FXButton * | myLoadButton = nullptr |
button for load elements More... | |
const int | myOptions |
GroupBoxModule options. More... | |
FXButton * | mySaveButton = nullptr |
button for save elements More... | |
FXCheckButton * | myUseSelectedLanesCheckButton |
CheckBox for selected lanes. More... | |
Definition at line 186 of file GNEAdditionalFrame.h.
|
inherited |
GroupBoxModule options.
Enumerator | |
---|---|
NOTHING | |
COLLAPSIBLE | |
SAVE | |
LOAD |
Definition at line 32 of file FXGroupBoxModule.h.
GNEAdditionalFrame::SelectorChildLanes::SelectorChildLanes | ( | GNEAdditionalFrame * | additionalFrameParent | ) |
FOX-declaration.
constructor
Definition at line 460 of file GNEAdditionalFrame.cpp.
References clearLanesSelection, FXGroupBoxModule::getCollapsableFrame(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonRectangular, GUIDesignCheckButton, GUIDesignListFixedHeight, GUIDesignTextField, GUIDesignTextFieldNCol, hideSelectorChildLanesModule(), invertLanesSelection, MID_GNE_ADDITIONALFRAME_CLEARSELECTION, MID_GNE_ADDITIONALFRAME_INVERTSELECTION, MID_GNE_ADDITIONALFRAME_SEARCH, MID_GNE_ADDITIONALFRAME_SELECT, MID_GNE_ADDITIONALFRAME_USESELECTED, myLanesSearch, myList, myUseSelectedLanesCheckButton, SUMO_TAG_LANE, and toString().
GNEAdditionalFrame::SelectorChildLanes::~SelectorChildLanes | ( | ) |
destructor
Definition at line 486 of file GNEAdditionalFrame.cpp.
|
inherited |
get collapsable frame (used by all elements that will be collapsed if button is toogled)
Definition at line 82 of file FXGroupBoxModule.cpp.
References FXGroupBoxModule::myCollapsableFrame.
Referenced by GNEInspectorFrame::AdditionalDialog::AdditionalDialog(), GNEFrameAttributeModules::AttributesCreator::AttributesCreator(), GNEFrameAttributeModules::AttributesCreatorFlow::AttributesCreatorFlow(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNEFrameAttributeModules::AttributesEditorExtended::AttributesEditorExtended(), GNEFrameAttributeModules::AttributesEditorFlow::AttributesEditorFlow(), GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GNEMoveFrame::ChangeZInSelection::ChangeZInSelection(), GNEConnectorFrame::ConnectionModifications::ConnectionModifications(), GNEConnectorFrame::ConnectionOperations::ConnectionOperations(), GNEConnectorFrame::ConnectionSelection::ConnectionSelection(), GNECrossingFrame::CreateCrossing::CreateCrossing(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNETAZFrame::CurrentTAZ::CurrentTAZ(), GNEFrameModules::DemandElementSelector::DemandElementSelector(), GNEMoveFrame::DemandModeOptions::DemandModeOptions(), GNEFrameAttributeModules::DrawingShape::DrawingShape(), GNEFrameModules::DrawingShape::DrawingShape(), GNEAdditionalFrame::E2MultilaneLaneSelector::E2MultilaneLaneSelector(), GNECrossingFrame::EdgesSelector::EdgesSelector(), GNEFrameAttributeModules::GenericDataAttributes::GenericDataAttributes(), GNEInspectorFrame::GEOAttributesEditor::GEOAttributesEditor(), GNEStopFrame::HelpCreation::HelpCreation(), GNEVehicleFrame::HelpCreation::HelpCreation(), GNEFrameModules::HierarchicalElementTree::HierarchicalElementTree(), GNECrossingFrame::Information::Information(), GNESelectorFrame::Information::Information(), GNEGenericDataFrame::IntervalSelector::IntervalSelector(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEConnectorFrame::Legend::Legend(), GNECreateEdgeFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNETAZRelDataFrame::Legend::Legend(), GNESelectorFrame::ModificationMode::ModificationMode(), GNEProhibitionFrame::Modifications::Modifications(), GNEFrameAttributeModules::NeteditAttributes::NeteditAttributes(), GNEMoveFrame::NetworkModeOptions::NetworkModeOptions(), GNEMatchAttribute::onCmdHelp(), GNEMatchGenericDataAttribute::onCmdHelp(), GNEInspectorFrame::ParametersEditor::ParametersEditor(), GNEFrameModules::PathCreator::PathCreator(), GNEFrameModules::PathLegend::PathLegend(), GNEDeleteFrame::ProtectElements::ProtectElements(), GNESelectorFrame::SelectionHierarchy::SelectionHierarchy(), GNESelectorFrame::SelectionOperation::SelectionOperation(), GNEAdditionalFrame::SelectorChildEdges::SelectorChildEdges(), SelectorChildLanes(), GNEFrameModules::SelectorParent::SelectorParent(), GNEMoveFrame::ShiftEdgeSelectedGeometry::ShiftEdgeSelectedGeometry(), GNEMoveFrame::ShiftShapeGeometry::ShiftShapeGeometry(), GNETAZFrame::TAZChildDefaultParameters::TAZChildDefaultParameters(), GNETAZFrame::TAZCommonStatistics::TAZCommonStatistics(), GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic(), GNETAZFrame::TAZParameters::TAZParameters(), GNETAZFrame::TAZSaveChanges::TAZSaveChanges(), GNETAZFrame::TAZSelectionStatistics::TAZSelectionStatistics(), GNEInspectorFrame::TemplateEditor::TemplateEditor(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSDefinition::TLSDefinition(), GNETLSEditorFrame::TLSFile::TLSFile(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSModifications::TLSModifications(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNETypeFrame::TypeEditor::TypeEditor(), and GNESelectorFrame::VisualScaling::VisualScaling().
std::vector< std::string > GNEAdditionalFrame::SelectorChildLanes::getLaneIdsSelected | ( | ) | const |
get list of selecte lane ids in string format
Definition at line 490 of file GNEAdditionalFrame.cpp.
Referenced by GNEAdditionalFrame::buildAdditionalCommonAttributes().
void GNEAdditionalFrame::SelectorChildLanes::hideSelectorChildLanesModule | ( | ) |
hide SelectorChildLanes Module
Definition at line 528 of file GNEAdditionalFrame.cpp.
Referenced by SelectorChildLanes(), and GNEAdditionalFrame::tagSelected().
|
protectedvirtualinherited |
load contents (can be reimplemented in children)
Definition at line 142 of file FXGroupBoxModule.cpp.
Referenced by FXGroupBoxModule::onCmdLoadButton().
long GNEAdditionalFrame::SelectorChildLanes::onCmdClearSelection | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when clear selection button is pressed
Definition at line 580 of file GNEAdditionalFrame.cpp.
Referenced by GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), and FXDEFMAP().
|
inherited |
collapse GroupBoxModule
Definition at line 101 of file FXGroupBoxModule.cpp.
References COLLAPSE, GUIIconSubSys::getIcon(), FXGroupBoxModule::myCollapsableFrame, FXGroupBoxModule::myCollapseButton, FXGroupBoxModule::myCollapsed, and UNCOLLAPSE.
Referenced by FXDEFMAP().
long GNEAdditionalFrame::SelectorChildLanes::onCmdInvertSelection | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when invert selection button is pressed
Definition at line 591 of file GNEAdditionalFrame.cpp.
Referenced by FXDEFMAP().
|
inherited |
load contents
Definition at line 123 of file FXGroupBoxModule.cpp.
References FXGroupBoxModule::loadContents().
Referenced by FXDEFMAP().
|
inherited |
save contents
Definition at line 117 of file FXGroupBoxModule.cpp.
References FXGroupBoxModule::saveContents().
Referenced by FXDEFMAP().
long GNEAdditionalFrame::SelectorChildLanes::onCmdSelectLane | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when user select a lane of the list
Definition at line 574 of file GNEAdditionalFrame.cpp.
Referenced by FXDEFMAP().
long GNEAdditionalFrame::SelectorChildLanes::onCmdTypeInSearchBox | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when user type in search box
Definition at line 566 of file GNEAdditionalFrame.cpp.
References GNEAdditionalFrame::showSelectorChildLanesModule().
Referenced by FXDEFMAP().
long GNEAdditionalFrame::SelectorChildLanes::onCmdUseSelectedLanes | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 545 of file GNEAdditionalFrame.cpp.
Referenced by FXDEFMAP().
|
inherited |
draw FXGroupBoxModule
Definition at line 88 of file FXGroupBoxModule.cpp.
Referenced by FXDEFMAP().
|
protectedvirtualinherited |
save contents (can be reimplemented in children)
Reimplemented in GNEFixDemandElements::FixOptions.
Definition at line 135 of file FXGroupBoxModule.cpp.
Referenced by FXGroupBoxModule::onCmdSaveButton().
|
inherited |
set text
Definition at line 76 of file FXGroupBoxModule.cpp.
References FXGroupBoxModule::myLabel.
Referenced by GNESelectorFrame::SelectionInformation::updateInformationLabel().
void GNEAdditionalFrame::SelectorChildLanes::showSelectorChildLanesModule | ( | std::string | search = "" | ) |
Show list of SelectorChildLanes Module.
Definition at line 512 of file GNEAdditionalFrame.cpp.
References GNEAdditionalFrame::show().
Referenced by GNEAdditionalFrame::tagSelected().
|
protectedinherited |
enable or disable save buttons
Definition at line 149 of file FXGroupBoxModule.cpp.
References FXGroupBoxModule::mySaveButton.
void GNEAdditionalFrame::SelectorChildLanes::updateUseSelectedLanes | ( | ) |
Definition at line 534 of file GNEAdditionalFrame.cpp.
Referenced by GNEAdditionalFrame::showSelectorChildLanesModule().
|
private |
button for clear selection
Definition at line 244 of file GNEAdditionalFrame.h.
Referenced by SelectorChildLanes().
|
private |
button for invert selection
Definition at line 247 of file GNEAdditionalFrame.h.
Referenced by SelectorChildLanes().
|
private |
pointer to additional frame parent
Definition at line 232 of file GNEAdditionalFrame.h.
|
privateinherited |
vertical collapsable frame
Definition at line 81 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::getCollapsableFrame(), and FXGroupBoxModule::onCmdCollapseButton().
|
privateinherited |
button for collapse elements
Definition at line 87 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::onCmdCollapseButton().
|
privateinherited |
flag to check if this groupbox is collapsed
Definition at line 96 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::onCmdCollapseButton().
|
privateinherited |
label used in non collapsable FXGroupBoxModule
Definition at line 84 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::setText().
|
private |
text field for search lane IDs
Definition at line 241 of file GNEAdditionalFrame.h.
Referenced by SelectorChildLanes().
|
private |
List of SelectorChildLanes.
Definition at line 238 of file GNEAdditionalFrame.h.
Referenced by SelectorChildLanes().
|
privateinherited |
button for load elements
Definition at line 93 of file FXGroupBoxModule.h.
|
privateinherited |
GroupBoxModule options.
Definition at line 78 of file FXGroupBoxModule.h.
|
privateinherited |
button for save elements
Definition at line 90 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::toogleSaveButton().
|
private |
CheckBox for selected lanes.
Definition at line 235 of file GNEAdditionalFrame.h.
Referenced by SelectorChildLanes().