![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFrameModules.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::string | getIdSelected () const |
| get currently parent additional selected More... | |
| void | hideSelectorParentModule () |
| hide SelectorParent 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... | |
| void | refreshSelectorParentModule () |
| Refresh list of Additional Parents Module. More... | |
| SelectorParent (GNEFrame *frameParent) | |
| constructor More... | |
| void | setIDSelected (const std::string &id) |
| select manually a element of the list More... | |
| void | setText (const std::string &text) |
| set text More... | |
| void | showSelectorParentModule (const std::vector< SumoXMLTag > &parentTags) |
| Show list of SelectorParent Module. More... | |
| ~SelectorParent () | |
| destructor 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 | |
| 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... | |
| GNEFrame * | myFrameParent |
| pointer to Frame Parent More... | |
| FXLabel * | myLabel = nullptr |
| label used in non collapsable FXGroupBoxModule More... | |
| FXButton * | myLoadButton = nullptr |
| button for load elements More... | |
| const int | myOptions |
| GroupBoxModule options. More... | |
| FXLabel * | myParentsLabel |
| Label with parent name. More... | |
| FXList * | myParentsList |
| List of parents. More... | |
| std::vector< SumoXMLTag > | myParentTags |
| current parent additional tag More... | |
| FXButton * | mySaveButton = nullptr |
| button for save elements More... | |
Definition at line 404 of file GNEFrameModules.h.
|
inherited |
GroupBoxModule options.
| Enumerator | |
|---|---|
| NOTHING | |
| COLLAPSIBLE | |
| SAVE | |
| LOAD | |
Definition at line 32 of file FXGroupBoxModule.h.
| GNEFrameModules::SelectorParent::SelectorParent | ( | GNEFrame * | frameParent | ) |
constructor
Definition at line 1864 of file GNEFrameModules.cpp.
References FXGroupBoxModule::getCollapsableFrame(), GUIDesignLabelLeftThick, GUIDesignListSingleElementFixedHeight, hideSelectorParentModule(), MID_GNE_SET_TYPE, myParentsLabel, and myParentsList.
| GNEFrameModules::SelectorParent::~SelectorParent | ( | ) |
destructor
Definition at line 1876 of file GNEFrameModules.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::AttributesEditor::AttributesEditor(), GNEFrameAttributeModules::AttributesEditorExtended::AttributesEditorExtended(), GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GNEMoveFrame::ChangeZInSelection::ChangeZInSelection(), GNEConnectorFrame::ConnectionModifications::ConnectionModifications(), GNEConnectorFrame::ConnectionOperations::ConnectionOperations(), GNEConnectorFrame::ConnectionSelection::ConnectionSelection(), GNECommonNetworkModules::ConsecutiveLaneSelector::ConsecutiveLaneSelector(), GNECrossingFrame::CreateCrossing::CreateCrossing(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNETAZFrame::CurrentTAZ::CurrentTAZ(), GNEFrameModules::DemandElementSelector::DemandElementSelector(), GNEMoveFrame::DemandModeOptions::DemandModeOptions(), GNEFrameModules::DrawingShape::DrawingShape(), GNEFrameAttributeModules::DrawingShape::DrawingShape(), GNECrossingFrame::EdgesSelector::EdgesSelector(), GNEFrameAttributeModules::FlowEditor::FlowEditor(), 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(), GNETAZRelDataFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEConnectorFrame::Legend::Legend(), GNECreateEdgeFrame::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(), 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::string GNEFrameModules::SelectorParent::getIdSelected | ( | ) | const |
get currently parent additional selected
Definition at line 1880 of file GNEFrameModules.cpp.
Referenced by GNEAdditionalFrame::createBaseAdditionalObject(), and GNEWireFrame::createBaseWireObject().
| void GNEFrameModules::SelectorParent::hideSelectorParentModule | ( | ) |
hide SelectorParent Module
Definition at line 1922 of file GNEFrameModules.cpp.
Referenced by SelectorParent(), GNEWireFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().
|
protectedvirtualinherited |
load contents (can be reimplemented in children)
Definition at line 142 of file FXGroupBoxModule.cpp.
Referenced by FXGroupBoxModule::onCmdLoadButton().
|
inherited |
collapse GroupBoxModule
Definition at line 101 of file FXGroupBoxModule.cpp.
References COLLAPSE, GUIIconSubSys::getIcon(), FXGroupBoxModule::myCollapsableFrame, FXGroupBoxModule::myCollapseButton, FXGroupBoxModule::myCollapsed, and UNCOLLAPSE.
|
inherited |
load contents
Definition at line 123 of file FXGroupBoxModule.cpp.
References FXGroupBoxModule::loadContents().
|
inherited |
save contents
Definition at line 117 of file FXGroupBoxModule.cpp.
References FXGroupBoxModule::saveContents().
|
inherited |
draw FXGroupBoxModule
Definition at line 88 of file FXGroupBoxModule.cpp.
| void GNEFrameModules::SelectorParent::refreshSelectorParentModule | ( | ) |
Refresh list of Additional Parents Module.
Definition at line 1929 of file GNEFrameModules.cpp.
References GNEAttributeCarrier::getTagProperty().
Referenced by GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEWireFrame::buildWireOverView(), GNEWireFrame::createPath(), and GNEAdditionalFrame::createPath().
|
protectedvirtualinherited |
save contents (can be reimplemented in children)
Reimplemented in GNEFixDemandElements::FixOptions.
Definition at line 135 of file FXGroupBoxModule.cpp.
Referenced by FXGroupBoxModule::onCmdSaveButton().
| void GNEFrameModules::SelectorParent::setIDSelected | ( | const std::string & | id | ) |
select manually a element of the list
Definition at line 1891 of file GNEFrameModules.cpp.
Referenced by GNEAdditionalFrame::createBaseAdditionalObject(), and GNEWireFrame::createBaseWireObject().
|
inherited |
set text
Definition at line 76 of file FXGroupBoxModule.cpp.
References FXGroupBoxModule::myLabel.
Referenced by GNESelectorFrame::SelectionInformation::updateInformationLabel().
| void GNEFrameModules::SelectorParent::showSelectorParentModule | ( | const std::vector< SumoXMLTag > & | parentTags | ) |
Show list of SelectorParent Module.
Definition at line 1908 of file GNEFrameModules.cpp.
References toString().
Referenced by GNEWireFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().
|
protectedinherited |
enable or disable save buttons
Definition at line 149 of file FXGroupBoxModule.cpp.
References FXGroupBoxModule::mySaveButton.
|
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().
|
private |
pointer to Frame Parent
Definition at line 429 of file GNEFrameModules.h.
|
privateinherited |
label used in non collapsable FXGroupBoxModule
Definition at line 84 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::setText().
|
privateinherited |
button for load elements
Definition at line 93 of file FXGroupBoxModule.h.
|
privateinherited |
GroupBoxModule options.
Definition at line 78 of file FXGroupBoxModule.h.
|
private |
Label with parent name.
Definition at line 435 of file GNEFrameModules.h.
Referenced by SelectorParent().
|
private |
|
private |
current parent additional tag
Definition at line 432 of file GNEFrameModules.h.
|
privateinherited |
button for save elements
Definition at line 90 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::toogleSaveButton().