Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEMeanDataFrame.h>
Data Structures | |
class | MeanDataEditor |
class | MeanDataSelector |
class | MeanDataTypeSelector |
Public Member Functions | |
void | attributeUpdated (SumoXMLAttr attribute) |
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/... | |
void | focusUpperElement () |
focus upper element of frame | |
virtual void | frameWidthUpdated () |
function called after setting new width in current frame (can be reimplemented in frame children) | |
FXVerticalFrame * | getContentFrame () const |
get vertical frame that holds all widgets of frame | |
FXFont * | getFrameHeaderFont () const |
get font of the header's frame | |
FXLabel * | getFrameHeaderLabel () const |
get the label for the frame's header | |
int | getScrollBarWidth () const |
get scrollBar width (zero if is hidden) | |
GNEViewNet * | getViewNet () const |
get view net | |
GNEMeanDataFrame (GNEViewParent *viewParent, GNEViewNet *viewNet) | |
Constructor (protected due GNEMeanDataFrame is abtract) | |
void | hide () |
hide Frame | |
void | openHelpAttributesDialog (const GNEAttributeCarrier *AC) const |
Open help attributes dialog. | |
void | setFrameWidth (const int newWidth) |
set width of GNEFrame | |
void | show () |
show Frame | |
void | updateFrameAfterUndoRedo () |
function called after undo/redo in the current frame | |
~GNEMeanDataFrame () | |
Destructor. | |
functions called by moduls that can be reimplemented in frame children (note: reimplement as protected, just for safety) | |
virtual void | tagSelected () |
Tag selected in GNETagSelector. | |
virtual void | demandElementSelected () |
selected demand element in DemandElementSelector | |
virtual bool | shapeDrawed () |
build a shaped element using the drawed shape | |
virtual void | attributesEditorExtendedDialogOpened () |
open GNEAttributesCreator extended dialog | |
virtual void | selectedOverlappedElement (GNEAttributeCarrier *AC) |
open GNEAttributesCreator extended dialog | |
virtual bool | createPath (const bool useLastRoute) |
create path between two elements | |
Protected Member Functions | |
const std::vector< std::string > & | getPredefinedTagsMML () const |
get predefinedTagsMML | |
Static Protected Member Functions | |
static FXLabel * | buildRainbow (FXComposite *parent) |
build rainbow in frame modul | |
Protected Attributes | |
FXVerticalFrame * | myContentFrame = nullptr |
Vertical frame that holds all widgets of frame. | |
FXHorizontalFrame * | myHeaderFrame = nullptr |
fame for header elements | |
FXHorizontalFrame * | myHeaderLeftFrame = nullptr |
fame for left header elements | |
FXHorizontalFrame * | myHeaderRightFrame = nullptr |
fame for right header elements | |
GNEFrameAttributeModules::AttributesEditor * | myMeanDataAttributesEditor = nullptr |
meanData attributes editor | |
MeanDataEditor * | myMeanDataEditor = nullptr |
meanData editor | |
MeanDataSelector * | myMeanDataSelector = nullptr |
meanData selector | |
MeanDataTypeSelector * | myMeanDataTypeSelector = nullptr |
meanData type selector | |
GNEViewNet * | myViewNet = nullptr |
FOX need this. | |
Private Member Functions | |
GNEMeanDataFrame (const GNEMeanDataFrame &)=delete | |
Invalidated copy constructor. | |
GNEMeanDataFrame & | operator= (const GNEMeanDataFrame &)=delete |
Invalidated assignment operator. | |
Private Attributes | |
FXLabel * | myFrameHeaderLabel = nullptr |
the label for the frame's header | |
std::vector< std::string > | myPredefinedTagsMML |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached) | |
FXScrollWindow * | myScrollWindowsContents = nullptr |
scroll windows that holds the content frame | |
Static Private Attributes | |
static FXFont * | myFrameHeaderFont = nullptr |
static Font for the Header (it's common for all headers, then create only one time) | |
The Widget for setting internal attributes of additional elements
Definition at line 39 of file GNEMeanDataFrame.h.
GNEMeanDataFrame::GNEMeanDataFrame | ( | GNEViewParent * | viewParent, |
GNEViewNet * | viewNet | ||
) |
Constructor (protected due GNEMeanDataFrame is abtract)
viewParent GNEViewParent in which this GNEFrame is placed
viewNet GNEViewNet that uses this GNEFrame
Definition at line 439 of file GNEMeanDataFrame.cpp.
References myMeanDataAttributesEditor, myMeanDataEditor, myMeanDataSelector, and myMeanDataTypeSelector.
GNEMeanDataFrame::~GNEMeanDataFrame | ( | ) |
Destructor.
Definition at line 452 of file GNEMeanDataFrame.cpp.
|
privatedelete |
Invalidated copy constructor.
|
virtualinherited |
open GNEAttributesCreator extended dialog
Reimplemented in GNETypeFrame.
Definition at line 292 of file GNEFrame.cpp.
|
virtual |
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/...
Reimplemented from GNEFrame.
Definition at line 473 of file GNEMeanDataFrame.cpp.
References myMeanDataSelector, GNEMeanDataFrame::MeanDataSelector::refreshMeanDataSelector(), and SUMO_ATTR_ID.
|
staticprotectedinherited |
build rainbow in frame modul
Definition at line 317 of file GNEFrame.cpp.
References MFXUtils::getFXColor(), GNEViewNetHelper::getRainbowScaledColors(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabel, GUIDesignLabelThick, and TL.
Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), and GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic().
|
virtualinherited |
create path between two elements
Reimplemented in GNEEdgeRelDataFrame, GNEGenericDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNEAdditionalFrame, and GNEWireFrame.
Definition at line 304 of file GNEFrame.cpp.
Referenced by GNEPlanCreator::addRoute(), GNEPlanCreator::addSingleEdge(), GNEPlanCreator::addSingleStoppingPlace(), GNEPathCreator::createPath(), GNEConsecutiveSelector::onCmdCreatePath(), GNEPlanCreator::onCmdCreatePath(), and GNEPlanCreator::onCmdUseLastRoute().
|
virtualinherited |
selected demand element in DemandElementSelector
Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, and GNEVehicleFrame.
Definition at line 273 of file GNEFrame.cpp.
Referenced by GNEDemandElementSelector::onCmdSelectDemandElement(), and GNEDemandElementSelector::setDemandElement().
|
inherited |
focus upper element of frame
Definition at line 109 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
virtualinherited |
function called after setting new width in current frame (can be reimplemented in frame children)
Reimplemented in GNETLSEditorFrame.
Definition at line 258 of file GNEFrame.cpp.
Referenced by GNEFrame::setFrameWidth().
|
inherited |
get vertical frame that holds all widgets of frame
Definition at line 156 of file GNEFrame.cpp.
References GNEFrame::myContentFrame.
|
inherited |
get font of the header's frame
Definition at line 168 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderFont.
|
inherited |
get the label for the frame's header
Definition at line 162 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEInspectorFrame::refreshInspection().
|
protectedinherited |
get predefinedTagsMML
Definition at line 311 of file GNEFrame.cpp.
References GNEFrame::myPredefinedTagsMML.
Referenced by GNEContainerFrame::buildContainer(), GNEPersonFrame::buildPerson(), GNEVehicleFrame::buildVehicleOverRoute(), and GNEVehicleFrame::createPath().
|
inherited |
get scrollBar width (zero if is hidden)
Definition at line 174 of file GNEFrame.cpp.
References GNEFrame::myScrollWindowsContents.
Referenced by MFXGroupBoxModule::onCmdExtendButton(), and GNETLSTable::recalcTableWidth().
|
inherited |
get view net
Definition at line 150 of file GNEFrame.cpp.
References GNEFrame::myViewNet.
Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPlanCreator::abortPathCreation(), GNEPathCreator::addEdge(), GNEPlanCreator::addFromToStoppingPlace(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), GNEPlanCreator::addSingleEdge(), GNEPathCreator::addTAZ(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNETypeFrame::attributesEditorExtendedDialogOpened(), GNETLSTable::Cell::Cell(), GNEPathCreator::clearEdgeColors(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNENetworkSelector::clearSelection(), GNETLSTable::Column::Column(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEInternalLane::drawGL(), GNENeteditAttributes::drawLaneReference(), GNEPlanCreator::drawTemporalRoute(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEAttributesCreatorRow::generateID(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEInternalLane::getPopUpMenu(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEAttributesCreatorRow::isValidID(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEMultipleParametersDialog::onCmdAccept(), GNEElementTree::onCmdCenterItem(), GNEElementTree::onCmdDeleteItem(), GNEFrameAttributeModules::ParametersEditor::onCmdEditParameters(), MFXGroupBoxModule::onCmdExtendButton(), GNEElementTree::onCmdInspectItem(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesCreatorRow::onCmdOpenAllowDialog(), GNEMatchGenericDataAttribute::onCmdProcessString(), GNEMultipleParametersDialog::onCmdReset(), MFXGroupBoxModule::onCmdResetButton(), GNEMatchGenericDataAttribute::onCmdSelectAttribute(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNEElementSet::onCmdSelectElementSet(), GNEMatchGenericDataAttribute::onCmdSelectTag(), GNEMatchGenericDataAttribute::onCmdSetFromTAZ(), GNEMatchGenericDataAttribute::onCmdSetToTAZ(), GNENetworkSelector::onCmdUseSelectedElements(), MFXGroupBoxModule::onUpdResetButton(), GNEPathCreator::onUpdUseLastRoute(), GNEPlanCreator::onUpdUseLastRoute(), GNETLSTable::recalcTableWidth(), GNEPlanCreator::recalculatePath(), GNEDemandElementSelector::refreshDemandElementSelector(), GNEAttributesCreator::refreshRows(), GNESelectorParent::refreshSelectorParentModule(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNETagSelector::setCurrentTagType(), GNEDrawingShape::setDeleteLastCreatedPoint(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNETypeFrame::show(), GNEElementTree::showAttributeCarrierParents(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEOverlappedInspection::showOverlappedInspection(), GNEAttributesCreator::showWarningMessage(), GNETAZFrame::TAZParameters::TAZParameters(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNENetworkSelector::toggleSelectedElement(), GNEPathCreator::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and GNEMatchGenericDataAttribute::updateTAZComboBox().
|
virtual |
hide Frame
Reimplemented from GNEFrame.
Definition at line 466 of file GNEMeanDataFrame.cpp.
References GNEFrame::hide().
Referenced by GNEMeanDataFrame::MeanDataEditor::hideMeanDataEditorModule(), and GNEMeanDataFrame::MeanDataSelector::hideMeanDataSelector().
|
inherited |
Open help attributes dialog.
Definition at line 184 of file GNEFrame.cpp.
References ACCEPT, GUIDesigns::buildFXButton(), GUIIconSubSys::getIcon(), GNETagProperties::getNumberOfAttributes(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::getTagStr(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBoxResizable, GUIDesignHorizontalSeparator, GUIDesignTableNotEditable, MAX2(), MID_TABLE, MODEINSPECT, GNEFrame::myScrollWindowsContents, TL, TLF, toString(), and WRITE_DEBUG.
Referenced by GNEFrameAttributeModules::AttributesEditor::onCmdAttributesEditorHelp(), and GNEAttributesCreator::onCmdHelp().
|
privatedelete |
Invalidated assignment operator.
|
virtualinherited |
open GNEAttributesCreator extended dialog
Reimplemented in GNEInspectorFrame, and GNETLSEditorFrame.
Definition at line 298 of file GNEFrame.cpp.
Referenced by GNEOverlappedInspection::onCmdListItemSelected(), GNEOverlappedInspection::onCmdNextElement(), and GNEOverlappedInspection::onCmdPreviousElement().
|
inherited |
set width of GNEFrame
Definition at line 133 of file GNEFrame.cpp.
References GNEFrame::frameWidthUpdated(), GUIDesignFrameAreaMargin, GNEFrame::myContentFrame, and GNEFrame::myScrollWindowsContents.
Referenced by GNEInspectorFrame::refreshInspection().
|
virtualinherited |
build a shaped element using the drawed shape
Reimplemented in GNEShapeFrame, and GNETAZFrame.
Definition at line 279 of file GNEFrame.cpp.
Referenced by GNEDrawingShape::stopDrawing().
|
virtual |
show Frame
Reimplemented from GNEFrame.
Definition at line 457 of file GNEMeanDataFrame.cpp.
References myMeanDataTypeSelector, GNEMeanDataFrame::MeanDataTypeSelector::refreshMeanDataTypeSelector(), and GNEFrame::show().
Referenced by GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEMeanDataFrame::MeanDataEditor::showMeanDataEditorModule(), GNEMeanDataFrame::MeanDataSelector::showMeanDataSelector(), and GNEViewNet::updateDataModeSpecificControls().
|
virtualinherited |
Tag selected in GNETagSelector.
Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, GNEVehicleFrame, GNEAdditionalFrame, GNEShapeFrame, and GNEWireFrame.
Definition at line 267 of file GNEFrame.cpp.
Referenced by GNEPlanSelector::onCmdSelectPlan(), GNETagSelector::onCmdSelectTag(), GNEPlanSelector::refreshPlanSelector(), GNETagSelector::refreshTagSelector(), GNETagSelector::setCurrentTag(), and GNETagSelector::setCurrentTagType().
|
virtual |
function called after undo/redo in the current frame
Reimplemented from GNEFrame.
Definition at line 481 of file GNEMeanDataFrame.cpp.
|
protectedinherited |
Vertical frame that holds all widgets of frame.
Definition at line 120 of file GNEFrame.h.
Referenced by GNESelectorFrame::getContentFrame(), GNEFrame::getContentFrame(), GNEFrame::GNEFrame(), and GNEFrame::setFrameWidth().
|
staticprivateinherited |
static Font for the Header (it's common for all headers, then create only one time)
Definition at line 142 of file GNEFrame.h.
Referenced by GNEFrame::getFrameHeaderFont(), GNEFrame::GNEFrame(), and GNEFrame::~GNEFrame().
|
privateinherited |
the label for the frame's header
Definition at line 145 of file GNEFrame.h.
Referenced by GNEFrame::focusUpperElement(), GNEFrame::getFrameHeaderLabel(), and GNEFrame::GNEFrame().
|
protectedinherited |
fame for header elements
Definition at line 123 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
protectedinherited |
fame for left header elements
Definition at line 126 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::GNEInspectorFrame(), GNEInspectorFrame::inspectChild(), GNEInspectorFrame::inspectFromDeleteFrame(), and GNEInspectorFrame::refreshInspection().
|
protectedinherited |
fame for right header elements
Definition at line 129 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
protected |
meanData attributes editor
Definition at line 226 of file GNEMeanDataFrame.h.
Referenced by GNEMeanDataFrame().
|
protected |
meanData editor
Definition at line 220 of file GNEMeanDataFrame.h.
Referenced by GNEMeanDataFrame().
|
protected |
meanData selector
Definition at line 223 of file GNEMeanDataFrame.h.
Referenced by attributeUpdated(), and GNEMeanDataFrame().
|
protected |
meanData type selector
Definition at line 217 of file GNEMeanDataFrame.h.
Referenced by GNEMeanDataFrame(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), and show().
|
privateinherited |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)
Definition at line 148 of file GNEFrame.h.
Referenced by GNEFrame::getPredefinedTagsMML(), and GNEFrame::GNEFrame().
|
privateinherited |
scroll windows that holds the content frame
Definition at line 139 of file GNEFrame.h.
Referenced by GNEFrame::getScrollBarWidth(), GNEFrame::GNEFrame(), GNEFrame::openHelpAttributesDialog(), and GNEFrame::setFrameWidth().
|
protectedinherited |
FOX need this.
View Net
Definition at line 117 of file GNEFrame.h.
Referenced by GNEAdditionalFrame::addAdditional(), GNECreateEdgeFrame::addBikelane(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNECrossingFrame::addCrossing(), GNEEdgeDataFrame::addEdgeData(), GNERouteFrame::addEdgeRoute(), GNETAZFrame::addOrRemoveTAZMember(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEShapeFrame::addShape(), GNECreateEdgeFrame::addSidewalk(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), GNEAdditionalFrame::createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNECreateEdgeFrame::disablePedestrians(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::editTLS(), GNESelectorFrame::getMatches(), GNEFrame::getViewNet(), GNETypeFrame::GNETypeFrame(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::hide(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectMultisection(), GNEInspectorFrame::inspectSingleElement(), GNEProhibitionFrame::Legend::Legend(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::parseTLSPrograms(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEInspectorFrame::refreshInspection(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEDeleteFrame::selectedACsToDelete(), GNEInspectorFrame::selectedOverlappedElement(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEFrame::show(), GNEAdditionalFrame::show(), GNEStopFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().