![]() |
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... | |
| void | hidePathLegendModule () |
| hide Legend modul 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... | |
| PathLegend (GNEFrame *frameParent) | |
| constructor More... | |
| void | setText (const std::string &text) |
| set text More... | |
| void | showPathLegendModule () |
| show Legend modul More... | |
| ~PathLegend () | |
| 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... | |
| FXLabel * | myLabel = nullptr |
| label used in non collapsable FXGroupBoxModule More... | |
| FXButton * | myLoadButton = nullptr |
| button for load elements More... | |
| const int | myOptions |
| GroupBoxModule options. More... | |
| FXButton * | mySaveButton = nullptr |
| button for save elements More... | |
Definition at line 781 of file GNEFrameModules.h.
|
inherited |
GroupBoxModule options.
| Enumerator | |
|---|---|
| NOTHING | |
| COLLAPSIBLE | |
| SAVE | |
| LOAD | |
Definition at line 32 of file FXGroupBoxModule.h.
| GNEFrameModules::PathLegend::PathLegend | ( | GNEFrame * | frameParent | ) |
constructor
Definition at line 3120 of file GNEFrameModules.cpp.
References GUIVisualizationSettings::candidateColorSettings, GUIVisualizationCandidateColorSettings::conflict, FXGroupBoxModule::getCollapsableFrame(), MFXUtils::getFXColor(), GNEFrame::getViewNet(), GUISUMOAbstractView::getVisualisationSettings(), GUIDesignLabelLeft, GUIVisualizationCandidateColorSettings::possible, GUIVisualizationCandidateColorSettings::source, GUIVisualizationCandidateColorSettings::special, GUIVisualizationCandidateColorSettings::target, and RGBColor::WHITE.
| GNEFrameModules::PathLegend::~PathLegend | ( | ) |
destructor
Definition at line 3143 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(), PathLegend(), GNEDeleteFrame::ProtectElements::ProtectElements(), GNESelectorFrame::SelectionHierarchy::SelectionHierarchy(), GNESelectorFrame::SelectionOperation::SelectionOperation(), 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().
| void GNEFrameModules::PathLegend::hidePathLegendModule | ( | ) |
hide Legend modul
Definition at line 3152 of file GNEFrameModules.cpp.
|
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.
|
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 GNEFrameModules::PathLegend::showPathLegendModule | ( | ) |
show Legend modul
Definition at line 3147 of file GNEFrameModules.cpp.
|
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().
|
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.
|
privateinherited |
button for save elements
Definition at line 90 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::toogleSaveButton().