![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEFrame.h>
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 width) |
set width of GNEFrame More... | |
virtual void | show () |
show Frame More... | |
~GNEFrame () | |
destructor More... | |
Protected Member Functions | |
GNEFrame () | |
FOX needs this. More... | |
Protected Attributes | |
FXVerticalFrame * | myContentFrame |
Vertical frame that holds all widgets of frame. More... | |
FXFont * | myFrameHeaderFont |
Font for the Header. More... | |
FXLabel * | myFrameHeaderLabel |
the label for the frame's header 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 |
the window to inform when the tls is modfied More... | |
Private Member Functions | |
GNEFrame (const GNEFrame &) | |
Invalidated copy constructor. More... | |
GNEFrame & | operator= (const GNEFrame &) |
Invalidated assignment operator. More... | |
Private Attributes | |
FXScrollWindow * | myScrollWindowsContents |
scroll windows that holds the content frame More... | |
Abstract class for lateral frames in NetEdit
Definition at line 53 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 49 of file GNEFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignContentsFrame, GUIDesignContentsScrollWindow, GUIDesignHorizontalSeparator, GUIDesignLabelLeft, myContentFrame, myFrameHeaderFont, myFrameHeaderLabel, myHeaderFrame, myHeaderLeftFrame, myHeaderRightFrame, and myScrollWindowsContents.
GNEFrame::~GNEFrame | ( | ) |
|
inlineprotected |
FOX needs this.
Definition at line 92 of file GNEFrame.h.
|
private |
Invalidated copy constructor.
void GNEFrame::focusUpperElement | ( | ) |
focus upper element of frame
Definition at line 92 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 135 of file GNEFrame.cpp.
References myFrameHeaderFont.
FXLabel * GNEFrame::getFrameHeaderLabel | ( | ) | const |
get the label for the frame's header
Definition at line 129 of file GNEFrame.cpp.
References myFrameHeaderLabel.
Referenced by GNEInspectorFrame::inspectMultisection().
GNEViewNet * GNEFrame::getViewNet | ( | ) | const |
get view net
Definition at line 123 of file GNEFrame.cpp.
References myViewNet.
Referenced by GNECrossingFrame::edgesSelector::enableEdgeSelector(), GNEInspectorFrame::AttributeInput::onCmdSetAttribute(), GNECrossingFrame::crossingParameters::onCmdSetAttribute(), GNEInspectorFrame::onCmdSetBlocking(), GNEDeleteFrame::removeAttributeCarrier(), and GNECrossingFrame::edgesSelector::restoreEdgeColors().
|
virtual |
hide Frame
Reimplemented in GNECrossingFrame, and GNESelectorFrame.
Definition at line 107 of file GNEFrame.cpp.
References GNEViewNet::getViewParent(), GNEViewParent::hideFramesArea(), and myViewNet.
Referenced by GNESelectorFrame::hide(), GNECrossingFrame::hide(), GNEAdditionalFrame::AdditionalAttributes::hideAdditionalParameters(), GNEAdditionalFrame::SelectorParentLanes::hideList(), GNEAdditionalFrame::SelectorParentAdditional::hideListOfAdditionals(), GNEAdditionalFrame::AdditionalAttributeSingle::hideParameter(), GNEInspectorFrame::onCmdDeleteItem(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::onCmdInspectItem(), and GNEDeleteFrame::removeAttributeCarrier().
void GNEFrame::setFrameWidth | ( | int | width | ) |
set width of GNEFrame
Definition at line 116 of file GNEFrame.cpp.
References myScrollWindowsContents.
|
virtual |
show Frame
Reimplemented in GNEAdditionalFrame, GNEInspectorFrame, and GNESelectorFrame.
Definition at line 98 of file GNEFrame.cpp.
References GNEViewNet::getViewParent(), myViewNet, and GNEViewParent::showFramesArea().
Referenced by GNEInspectorFrame::onCmdDeleteItem(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::removeAttributeCarrier(), GNESelectorFrame::show(), GNEInspectorFrame::show(), GNEAdditionalFrame::show(), and GNEViewNet::updateModeSpecificControls().
|
protected |
Vertical frame that holds all widgets of frame.
Definition at line 104 of file GNEFrame.h.
Referenced by GNEConnectorFrame::GNEConnectorFrame(), GNECrossingFrame::GNECrossingFrame(), GNEFrame(), and GNEInspectorFrame::inspectMultisection().
|
protected |
Font for the Header.
Definition at line 98 of file GNEFrame.h.
Referenced by getFrameHeaderFont(), GNEFrame(), and ~GNEFrame().
|
protected |
the label for the frame's header
Definition at line 101 of file GNEFrame.h.
Referenced by focusUpperElement(), getFrameHeaderLabel(), GNEFrame(), and GNESelectorFrame::selectionUpdated().
|
protected |
|
protected |
fame for left header elements
Definition at line 110 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 117 of file GNEFrame.h.
Referenced by GNEFrame(), and setFrameWidth().
|
protected |
the window to inform when the tls is modfied
Definition at line 95 of file GNEFrame.h.
Referenced by GNEAdditionalFrame::addAdditional(), GNETLSEditorFrame::buildIinternalLanes(), GNEDeleteFrame::createPopUpMenu(), GNEInspectorFrame::createPopUpMenu(), GNETLSEditorFrame::editJunction(), GNEAdditionalFrame::generateID(), GNESelectorFrame::getMatches(), getViewNet(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), hide(), GNEConnectorFrame::initTargets(), GNEConnectorFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNEDeleteFrame::onCmdCenterItem(), GNEInspectorFrame::onCmdCenterItem(), GNESelectorFrame::onCmdClear(), GNEConnectorFrame::onCmdClearSelectedConnections(), GNEInspectorFrame::onCmdCopyTemplate(), GNECrossingFrame::onCmdCreateCrossing(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNETLSEditorFrame::onCmdDefSwitch(), GNEInspectorFrame::onCmdDeleteItem(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::onCmdInspectItem(), GNESelectorFrame::onCmdInvert(), GNESelectorFrame::onCmdLoad(), GNEConnectorFrame::onCmdOK(), GNETLSEditorFrame::onCmdOK(), GNETLSEditorFrame::onCmdPhaseSwitch(), GNEConnectorFrame::onCmdResetSelectedConnections(), GNESelectorFrame::onCmdSave(), GNESelectorFrame::onCmdScaleSelection(), GNEConnectorFrame::onCmdSelectConflicts(), GNEConnectorFrame::onCmdSelectDeadEnds(), GNEConnectorFrame::onCmdSelectDeadStarts(), GNEConnectorFrame::onCmdSelectPass(), GNEAdditionalFrame::removeAdditional(), GNEDeleteFrame::removeAttributeCarrier(), and show().