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


Data Structures | |
| class | ACHierarchy |
| class | GenericParametersEditor |
Public Member Functions | |
| void | focusUpperElement () |
| focus upper element of frame More... | |
| FXFont * | getFrameHeaderFont () const |
| get font of the header's frame More... | |
| FXLabel * | getFrameHeaderLabel () const |
| get the label for the frame's header More... | |
| GNEViewNet * | getViewNet () const |
| get view net More... | |
| GNEFrame (FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet, const std::string &frameLabel) | |
| Constructor. More... | |
| virtual void | hide () |
| hide Frame More... | |
| void | setFrameWidth (int newWidth) |
| set width of GNEFrame More... | |
| virtual void | show () |
| show Frame More... | |
| ~GNEFrame () | |
| destructor More... | |
Protected Member Functions | |
| GNEFrame () | |
| FOX needs this. More... | |
| void | openHelpAttributesDialog (SumoXMLTag tag) const |
| Open help attributes dialog. More... | |
Protected Attributes | |
| FXVerticalFrame * | myContentFrame |
| Vertical frame that holds all widgets of frame. More... | |
| FXHorizontalFrame * | myHeaderFrame |
| fame for header elements More... | |
| FXHorizontalFrame * | myHeaderLeftFrame |
| fame for left header elements More... | |
| FXHorizontalFrame * | myHeaderRightFrame |
| fame for right header elements More... | |
| GNEViewNet * | myViewNet |
| View Net for changes. More... | |
Private Member Functions | |
| GNEFrame (const GNEFrame &)=delete | |
| Invalidated copy constructor. More... | |
| GNEFrame & | operator= (const GNEFrame &)=delete |
| Invalidated assignment operator. More... | |
Private Attributes | |
| FXFont * | myFrameHeaderFont |
| Font for the Header. More... | |
| FXLabel * | myFrameHeaderLabel |
| the label for the frame's header More... | |
| FXScrollWindow * | myScrollWindowsContents |
| scroll windows that holds the content frame More... | |
Abstract class for lateral frames in NetEdit
Definition at line 47 of file GNEFrame.h.
| GNEFrame::GNEFrame | ( | FXHorizontalFrame * | horizontalFrameParent, |
| GNEViewNet * | viewNet, | ||
| const std::string & | frameLabel | ||
| ) |
Constructor.
parent FXHorizontalFrame in which this GNEFrame is placed viewNet viewNet that uses this GNEFrame frameLabel label of the frame
Definition at line 691 of file GNEFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignContentsFrame, GUIDesignContentsScrollWindow, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, myContentFrame, myFrameHeaderFont, myFrameHeaderLabel, myHeaderFrame, myHeaderLeftFrame, myHeaderRightFrame, and myScrollWindowsContents.
| GNEFrame::~GNEFrame | ( | ) |
|
inlineprotected |
|
privatedelete |
Invalidated copy constructor.
| void GNEFrame::focusUpperElement | ( | ) |
focus upper element of frame
Definition at line 735 of file GNEFrame.cpp.
References myFrameHeaderLabel.
Referenced by GNEViewNet::hotkeyFocusFrame(), GNEViewNet::onLeftBtnPress(), GNEViewNet::setEditMode(), and GNEViewNet::updateModeSpecificControls().
| FXFont * GNEFrame::getFrameHeaderFont | ( | ) | const |
get font of the header's frame
Definition at line 778 of file GNEFrame.cpp.
References myFrameHeaderFont.
| FXLabel * GNEFrame::getFrameHeaderLabel | ( | ) | const |
get the label for the frame's header
Definition at line 772 of file GNEFrame.cpp.
References myFrameHeaderLabel.
Referenced by GNEProhibitionFrame::GNEProhibitionFrame(), and GNEInspectorFrame::inspectMultisection().
| GNEViewNet * GNEFrame::getViewNet | ( | ) | const |
get view net
Definition at line 766 of file GNEFrame.cpp.
References myViewNet.
Referenced by GNEPolygonFrame::DrawingMode::abortDrawing(), GNETLSEditorFrame::TLSFile::checkTLSValids(), GNEFrame::ACHierarchy::createPopUpMenu(), GNECrossingFrame::edgesSelector::enableEdgeSelector(), GNETLSEditorFrame::TLSFile::myStartElement(), GNEFrame::ACHierarchy::onCmdCenterItem(), GNEInspectorFrame::TemplateEditor::onCmdCopyTemplate(), GNEFrame::ACHierarchy::onCmdDeleteItem(), GNEFrame::GenericParametersEditor::onCmdEditGenericParameter(), GNEFrame::ACHierarchy::onCmdInspectItem(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdOpenAttributeDialog(), GNESelectorFrame::VisualScaling::onCmdScaleSelection(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), GNECrossingFrame::crossingParameters::onCmdSetAttribute(), GNEFrame::GenericParametersEditor::onCmdSetGenericParameter(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GNEInspectorFrame::NeteditAttributesEditor::onCmdSetNeteditAttribute(), GNEAdditionalFrame::SelectorParentAdditional::refreshListOfAdditionalParents(), GNEDeleteFrame::removeAttributeCarrier(), GNECrossingFrame::edgesSelector::restoreEdgeColors(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEAdditionalFrame::SelectorParentEdges::showList(), GNEAdditionalFrame::SelectorParentLanes::showList(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditionalFrame::AdditionalAttributes::showWarningMessage(), GNEPolygonFrame::ShapeAttributes::showWarningMessage(), GNEPolygonFrame::DrawingMode::stopDrawing(), GNESelectorFrame::LockGLObjectTypes::updateLockGLObjectTypes(), GNEAdditionalFrame::SelectorParentEdges::updateUseSelectedEdges(), and GNEAdditionalFrame::SelectorParentLanes::updateUseSelectedLanes().
|
virtual |
hide Frame
Reimplemented in GNEInspectorFrame, GNESelectorFrame, GNECrossingFrame, GNEDeleteFrame, and GNEProhibitionFrame.
Definition at line 750 of file GNEFrame.cpp.
References GNEViewNet::getViewParent(), GNEViewParent::hideFramesArea(), and myViewNet.
Referenced by GNEProhibitionFrame::hide(), GNEDeleteFrame::hide(), GNECrossingFrame::hide(), GNESelectorFrame::hide(), GNEInspectorFrame::hide(), GNEFrame::ACHierarchy::hideACHierarchy(), GNEAdditionalFrame::AdditionalAttributes::hideAdditionalParameters(), GNEFrame::GenericParametersEditor::hideGenericParametersEditor(), GNEAdditionalFrame::SelectorParentLanes::hideList(), GNEAdditionalFrame::SelectorParentAdditional::hideListOfAdditionalParents(), GNEAdditionalFrame::NeteditAttributes::hideNeteditAttributes(), GNEAdditionalFrame::AdditionalAttributeSingle::hideParameter(), GNEPolygonFrame::ShapeAttributeSingle::hideParameter(), and GNEPolygonFrame::ShapeAttributes::hideShapeParameters().
|
protected |
Open help attributes dialog.
Definition at line 784 of file GNEFrame.cpp.
References GUIIconSubSys::getIcon(), GNEAttributeCarrier::getTagProperties(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBoxResizable, GUIDesignHorizontalSeparator, GUIDesignTableNotEditable, ICON_ACCEPT, ICON_MODEINSPECT, MAX2(), MID_TABLE, myScrollWindowsContents, toString(), and WRITE_DEBUG.
Referenced by GNEFrame(), GNEInspectorFrame::AttributesEditor::onCmdAttributeHelp(), GNECrossingFrame::crossingParameters::onCmdHelp(), GNEAdditionalFrame::AdditionalAttributes::onCmdHelp(), and GNEPolygonFrame::ShapeAttributes::onCmdHelp().
| void GNEFrame::setFrameWidth | ( | int | newWidth | ) |
set width of GNEFrame
Definition at line 759 of file GNEFrame.cpp.
References myScrollWindowsContents.
|
virtual |
show Frame
Reimplemented in GNEAdditionalFrame, GNEPolygonFrame, GNEInspectorFrame, GNESelectorFrame, GNEDeleteFrame, and GNEProhibitionFrame.
Definition at line 741 of file GNEFrame.cpp.
References GNEViewNet::getViewParent(), myViewNet, and GNEViewParent::showFramesArea().
Referenced by GNEProhibitionFrame::show(), GNEDeleteFrame::show(), GNESelectorFrame::show(), GNEInspectorFrame::show(), GNEPolygonFrame::show(), GNEAdditionalFrame::show(), GNEFrame::ACHierarchy::showACHierarchy(), GNEFrame::GenericParametersEditor::showGenericParametersEditor(), GNETLSEditorFrame::TLSDefinition::TLSDefinition(), GNETLSEditorFrame::TLSFile::TLSFile(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSModifications::TLSModifications(), GNETLSEditorFrame::TLSPhases::TLSPhases(), and GNEViewNet::updateModeSpecificControls().
|
protected |
Vertical frame that holds all widgets of frame.
Definition at line 235 of file GNEFrame.h.
Referenced by GNEConnectorFrame::GNEConnectorFrame(), GNECrossingFrame::GNECrossingFrame(), GNEFrame(), GNEProhibitionFrame::GNEProhibitionFrame(), and GNEInspectorFrame::inspectMultisection().
|
private |
Font for the Header.
Definition at line 251 of file GNEFrame.h.
Referenced by getFrameHeaderFont(), GNEFrame(), and ~GNEFrame().
|
private |
the label for the frame's header
Definition at line 254 of file GNEFrame.h.
Referenced by focusUpperElement(), getFrameHeaderLabel(), and GNEFrame().
|
protected |
|
protected |
fame for left header elements
Definition at line 241 of file GNEFrame.h.
Referenced by GNEFrame(), GNEInspectorFrame::inspectChild(), GNEInspectorFrame::inspectFromDeleteFrame(), and GNEInspectorFrame::inspectMultisection().
|
protected |
|
private |
scroll windows that holds the content frame
Definition at line 248 of file GNEFrame.h.
Referenced by GNEFrame(), openHelpAttributesDialog(), and setFrameWidth().
|
protected |
View Net for changes.
Definition at line 232 of file GNEFrame.h.
Referenced by GNEAdditionalFrame::addAdditional(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNETLSEditorFrame::buildIinternalLanes(), GNEPolygonFrame::buildPoly(), GNESelectorFrame::clearCurrentSelection(), GNEInspectorFrame::clearInspectedAC(), GNETLSEditorFrame::editJunction(), GNEAdditionalFrame::generateID(), GNESelectorFrame::getMatches(), getViewNet(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), hide(), GNEInspectorFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectElement(), GNEConnectorFrame::onCmdCancel(), GNEProhibitionFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNEConnectorFrame::onCmdClearSelectedConnections(), GNECrossingFrame::onCmdCreateCrossing(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNETLSEditorFrame::onCmdDefSwitch(), GNEInspectorFrame::onCmdGoBack(), GNEConnectorFrame::onCmdOK(), GNETLSEditorFrame::onCmdOK(), GNETLSEditorFrame::onCmdPhaseSwitch(), GNEConnectorFrame::onCmdResetSelectedConnections(), GNESelectorFrame::SelectionOperation::onCmdSave(), GNEConnectorFrame::onCmdSelectConflicts(), GNEConnectorFrame::onCmdSelectDeadEnds(), GNEConnectorFrame::onCmdSelectDeadStarts(), GNEConnectorFrame::onCmdSelectPass(), GNETLSEditorFrame::parseTLSPrograms(), GNEPolygonFrame::processClick(), GNEAdditionalFrame::removeAdditional(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEDeleteFrame::show(), and show().