18 #ifndef GNEInspectorFrame_h 19 #define GNEInspectorFrame_h 143 void showNeteditAttributesEditor();
146 void hideNeteditAttributesEditor();
149 void refreshNeteditAttributesEditor(
bool forceRefresh);
154 long onCmdSetNeteditAttribute(FXObject*, FXSelector,
void*);
157 long onCmdNeteditAttributeHelp(FXObject*, FXSelector,
void*);
224 void showGEOAttributesEditor();
227 void hideGEOAttributesEditor();
230 void refreshGEOAttributesEditor(
bool forceRefresh);
236 long onCmdSetGEOAttribute(FXObject*, FXSelector,
void*);
239 long onCmdGEOAttributeHelp(FXObject*, FXSelector,
void*);
288 void showTemplateEditor();
291 void hideTemplateEditor();
294 GNEEdge* getEdgeTemplate()
const;
297 void setEdgeTemplate(
GNEEdge* tpl);
303 long onCmdCopyTemplate(FXObject*, FXSelector,
void*);
306 long onCmdSetTemplate(FXObject*, FXSelector,
void*);
309 long onUpdCopyTemplate(FXObject*, FXSelector,
void*);
FXLabel * myLabelBlockMovement
Label for Check blocked movement.
bool nextElement(const Position &clickedPosition)
try to go to next element if clicked position is near to saved position
GNEInspectorFrame * myInspectorFrameParent
current GNEInspectorFrame parent
FXHorizontalFrame * myHorizontalFrameBlockMovement
horizontal frame for block movement
void updateFrameAfterUndoRedo()
function called after undo/redo in the current frame (can be reimplemented in frame children) ...
GNEInspectorFrame()
FOX needs this.
TemplateEditor()
FOX needs this.
FXButton * mySetTemplateButton
set template button
long onCmdPreviousElement(FXObject *, FXSelector, void *)
Inspect previous element (from top to bot)
FXHorizontalFrame * myGEOAttributeFrame
horizontal frame for GEOAttribute
Position mySavedClickedPosition
saved clicked position
void inspectFromDeleteFrame(GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement, bool previousElementWasMarked)
inspect called from DeleteFrame
NeteditAttributesEditor()
FOX needs this.
void inspectSingleElement(GNEAttributeCarrier *AC)
Inspect a single element.
FXTextField * myGEOAttributeTextField
textField for GEOAttribute
void hideOverlappedInspection()
hide template editor
FXCheckButton * myUseGEOCheckButton
checkBox for use GEO
GEOAttributesEditor()
FOX needs this.
FXHorizontalFrame * myUseGEOFrame
horizontal frame for use GEO
GNEInspectorFrame * myInspectorFrameParent
current GNEInspectorFrame parent
FXButton * myCurrentIndexButton
Button for current index.
FXTextField * myTextFieldAdditionalParent
pointer for change additional parent
FXLabel * myLabelCloseShape
Label for close shape.
~GNEInspectorFrame()
Destructor.
OverlappedInspection * getOverlappedInspection() const
get OverlappedInspection modul
void attributeUpdated()
function called after set a valid attribute in AttributeEditor
void hide()
hide inspector frame
FXHorizontalFrame * myHorizontalFrameAdditionalParent
horizontal frame for change additional parent
bool previousElement(const Position &clickedPosition)
try to go to previous element if clicked position is near to saved position
bool myPreviousElementDeleteWasMarked
flag to ckec if myPreviousElementDelete was marked in Delete Frame
GNEFrameAttributesModuls::GenericParametersEditor * myGenericParametersEditor
Generic parameters editor.
size_t myItemIndex
current index item
FXHorizontalFrame * myHorizontalFrameBlockShape
horizontal frame for block shape
long onCmdShowList(FXObject *, FXSelector, void *)
show list of overlapped elements
A point in 2D or 3D with translation and scaling methods.
FXButton * myHelpButton
button for help
GNEInspectorFrame * myInspectorFrameParent
current GNEInspectorFrame parent
bool processDemandSupermodeClick(const Position &clickedPosition, GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
process click over Viewnet in Supermode Demand
GNEFrameAttributesModuls::AttributesEditor * getAttributesEditor() const
get AttributesEditor
bool processNetworkSupermodeClick(const Position &clickedPosition, GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
process click over Viewnet in Supermode Network
FXButton * myCopyTemplateButton
copy template button
FXList * myOverlappedElementList
list of overlapped elements
class used to group all variables related with objects under cursor after a click over view ...
GNEFrameAttributesModuls::AttributesEditor * myAttributesEditor
Attribute editor.
FXLabel * myLabelAdditionalParent
Label for additional parent.
FXHorizontalFrame * myHorizontalFrameCloseShape
horizontal frame for close shape
FXButton * myHelpButton
button for help
void clearInspectedAC()
Clear all current inspected ACs.
std::vector< GNEAttributeCarrier * > myOverlappedACs
objects under cursor
void inspectClickedElement(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition)
Inspect a singe element (the front of AC AttributeCarriers of ObjectUnderCursor.
GNEAttributeCarrier * myPreviousElementInspect
pointer to previous element called by Inspector Frame
long onCmdGoBack(FXObject *, FXSelector, void *)
called when user toogle the go back button
FXCheckButton * myCheckBoxBlockShape
pointer to check box "Block Shape"
GNEEdge * myEdgeTemplate
the edge template
long onCmdNextElement(FXObject *, FXSelector, void *)
Inspect next Element (from top to bot)
FXCheckButton * myCheckBoxBlockMovement
pointer to check box "Block movement"
bool overlappedInspectionShown() const
check if overlappedInspection modul is shown
A road/street connecting two junctions (netedit-version)
FXButton * myPreviousElement
Previous element button.
bool checkSavedPosition(const Position &clickedPosition) const
check if given position is near to saved position
GNEAttributeCarrier * myPreviousElementDelete
pointer to previous element called by Delete Frame
long onCmdOverlappingHelp(FXObject *, FXSelector, void *)
Called when user press the help button.
FXButton * myNextElement
Next element button.
GEOAttributesEditor * myGEOAttributesEditor
GEO Attributes editor.
~OverlappedInspection()
destructor
FXLabel * myUseGEOLabel
Label for use GEO.
long onCmdListItemSelected(FXObject *, FXSelector, void *)
called when a list item is selected
TemplateEditor * getTemplateEditor() const
get template editor
NeteditAttributesEditor * myNeteditAttributesEditor
Netedit Attributes editor.
TemplateEditor * myTemplateEditor
Template editor.
FXLabel * myLabelBlockShape
Label for Check blocked shape.
void show()
show inspector frame
void showOverlappedInspection(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition)
show template editor
FXCheckButton * myCheckBoxCloseShape
pointer to check box "Block movement"
void inspectChild(GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement)
inspect child of already inspected element
FXButton * myBackButton
back Button
void inspectMultisection(const std::vector< GNEAttributeCarrier *> &ACs)
Inspect the given multi-selection.
FXLabel * myGEOAttributeLabel
Label for GEOAttribute.
FXButton * myHelpButton
button for help
GNEInspectorFrame * myInspectorFrameParent
pointer to inspector frame parent
void inspectOverlappedAttributeCarrier()
inspect attributeCarrier correspond to current index
OverlappedInspection()
FOX needs this.
OverlappedInspection * myOverlappedInspection
Overlapped Inspection.
GNEFrameModuls::AttributeCarrierHierarchy * myAttributeCarrierHierarchy
Attribute Carrier Hierarchy.