18 #ifndef GNESelectorFrame_h 19 #define GNESelectorFrame_h 65 ObjectTypeEntry(FXMatrix* parent,
const std::string& label,
const std::string& label2);
109 long onCmdSelectModificationMode(FXObject*, FXSelector,
void*);
148 ELEMENTSET_NETELEMENT = 1,
149 ELEMENTSET_ADDITIONAL = 2,
150 ELEMENTSET_SHAPE = 3,
151 ELEMENTSET_INVALID = 4,
167 long onCmdSelectElementSet(FXObject*, FXSelector,
void*);
202 void enableMatchAttribute();
205 void disableMatchAttribute();
213 long onCmdSelMBTag(FXObject*, FXSelector,
void*);
218 long onCmdSelMBAttribute(FXObject*, FXSelector,
void*);
223 long onCmdSelMBString(FXObject*, FXSelector,
void*);
228 long onCmdHelp(FXObject*, FXSelector,
void*);
275 long onCmdScaleSelection(FXObject*, FXSelector,
void*);
313 long onCmdLoad(FXObject*, FXSelector,
void*);
319 long onCmdSave(FXObject*, FXSelector,
void*);
324 long onCmdClear(FXObject*, FXSelector,
void*);
329 long onCmdInvert(FXObject*, FXSelector,
void*);
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
SumoXMLTag
Numbers representing SUMO-XML - element names.
FXRadioButton * myReplaceRadioButton
replace radio button
FXComboBox * mySetComboBox
Combo Box with the element sets.
void handleIDs(const std::vector< GNEAttributeCarrier *> &ACs, ModificationMode::SetOperation setop=ModificationMode::SET_DEFAULT)
apply list of ids to the current selection according to SetOperation,
SetOperation
FOX-declaration.
FXRadioButton * myAddRadioButton
add radio button
GNESelectorFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
VisualScaling * myVisualScaling
modul for visual scaling
ElementSetType myCurrentElementSet
current element set selected
FXRealSpinner * mySelectionScaling
Spinner for selection scaling.
bool IsObjectTypeLocked(GUIGlObjectType type) const
check if an object is locked
~GNESelectorFrame()
Destructor.
FXComboBox * myMatchTagComboBox
tag of the match box
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
FXComboBox * myMatchAttrComboBox
attributes of the match box
SelectionOperation()
FOX needs this.
LockGLObjectTypes * getLockGLObjectTypes() const
get selected items
LockGLObjectTypes(GNESelectorFrame *selectorFrameParent)
constructor
FXTextField * myMatchString
string of the match
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
std::map< GUIGlObjectType, ObjectTypeEntry > myTypeEntries
check boxes for type-based selection locking and selected object counts
void updateLockGLObjectTypes()
update selected items
ElementSet()
FOX needs this.
FXRadioButton * myKeepRadioButton
keep button
SumoXMLAttr myCurrentAttribute
current SumoXMLTag Attribute
ElementSetType
FOX-declaration.
SumoXMLTag myCurrentTag
current SumoXMLTag tag
ModificationMode * getModificationModeModul() const
get modification mode modul
LockGLObjectTypes * myLockGLObjectTypes
modul for lock selected items
MatchAttribute * myMatchAttribute
modul for matchA ttribute
void clearCurrentSelection() const
clear current selection with possibility of undo/redo
VisualScaling()
FOX needs this.
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
SelectionOperation * mySelectionOperation
modul for selection operations
ModificationMode * myModificationMode
modul for change modification mode
FXRadioButton * myRemoveRadioButton
remove radio button
std::vector< GNEAttributeCarrier * > getMatches(SumoXMLTag ACTag, SumoXMLAttr ACAttr, char compOp, double val, const std::string &expr)
return ACs of the given type with matching attrs
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
ElementSet * myElementSet
modul for select element set
MatchAttribute()
FOX needs this.
ModificationMode()
FOX needs this.
~LockGLObjectTypes()
destructor
SetOperation myModificationModeType
how to modify selection