|
SHAPER
9.15.0
|
Object browser window object. More...

Public Slots | |
| void | onEditItem () |
| Called on Edit command request. More... | |
| void | onDeactivateItems () |
| Change state of constraints. More... | |
Signals | |
| void | selectionChanged () |
| Emitted when selection is changed. More... | |
| void | contextMenuRequested (QContextMenuEvent *theEvent) |
| Emitted on context menu request. More... | |
| void | sizeChanged () |
| An signal emitted on resize of the Object Browser. More... | |
| void | editValues () |
| void | deleteConstraints () |
| void | deactivate (bool, std::vector< FeaturePtr >) |
Public Member Functions | |
| XGUI_ConstraintsViewTree * | getViewTree () |
| bool | IsInEditMode () |
| bool | UpdateTree (const std::vector< std::pair< FeaturePtr, std::vector< AttributePtr >>> &theList) |
| void | CloseEditor () |
| XGUI_SketchConstraintsBrowser (QWidget *theParent, XGUI_Workshop *theWorkshop) | |
| Constructor. More... | |
| virtual void | processEvent (const std::shared_ptr< Events_Message > &theMessage) |
| Event Listener method. More... | |
| QObjectPtrList | selectedObjects (QModelIndexList *theIndexes=0) const |
| Returns list of currently selected constraints and geometries. More... | |
| QObjectPtrList | selectedConstraints (QModelIndexList *theIndexes=0) const |
| Returns list of currently selected constraints in browser. More... | |
| void | setObjectsSelected (const QObjectPtrList &theObjects) |
| Set selected list of objects. More... | |
| QModelIndexList | selectedIndexes () const |
| Returns currently selected indexes. More... | |
| void | initialize (ModuleBase_ITreeNode *theRoot) |
| Initialize the Object browser. More... | |
| XGUI_Workshop * | workshop () const |
| Returns current workshop. More... | |
| void | onSelectionChanged () |
| virtual EVENTS_EXPORT bool | groupMessages () |
| Listener that needs mostly grouped messages received returns true in this method. More... | |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *theEvent) |
| redefinition of a virtual method More... | |
| void | groupWhileFlush (const std::shared_ptr< Events_Message > &theMessage) |
| Allows to group messages while they are flushed (for flush for groupMessages=true listeners) More... | |
| EVENTS_EXPORT void | flushGrouped (const Events_ID &theID) |
| Sends myGroups on flush finish. More... | |
Object browser window object.
Represents data tree of current data structure
| XGUI_SketchConstraintsBrowser::XGUI_SketchConstraintsBrowser | ( | QWidget * | theParent, |
| XGUI_Workshop * | theWorkshop | ||
| ) |
Constructor.
| theParent | a parent widget |
|
virtual |
| QObjectPtrList XGUI_SketchConstraintsBrowser::selectedObjects | ( | QModelIndexList * | theIndexes = 0 | ) | const |
Returns list of currently selected constraints and geometries.
| theIndexes | - output list of corresponded indexes (can be NULL) |
| QObjectPtrList XGUI_SketchConstraintsBrowser::selectedConstraints | ( | QModelIndexList * | theIndexes = 0 | ) | const |
Returns list of currently selected constraints in browser.
| theIndexes | - output list of corresponded indexes (can be NULL) |
| void XGUI_SketchConstraintsBrowser::setObjectsSelected | ( | const QObjectPtrList & | theObjects | ) |
Set selected list of objects.
| theObjects | list of objects to select |
|
inline |
Returns currently selected indexes.
| void XGUI_SketchConstraintsBrowser::initialize | ( | ModuleBase_ITreeNode * | theRoot | ) |
Initialize the Object browser.
|
inline |
Returns current workshop.
|
slot |
Called on Edit command request.
|
slot |
Change state of constraints.
|
signal |
Emitted when selection is changed.
|
signal |
Emitted on context menu request.
|
signal |
An signal emitted on resize of the Object Browser.
|
protected |
redefinition of a virtual method
|
inlinevirtualinherited |
Listener that needs mostly grouped messages received returns true in this method.
In this case during the message is flushed, all the new messages are grouped, not sended immideately and then sent in the end of flush.
Reimplemented in SketchSolver_Manager, and SketchPlugin_OverConstraintsResolver.
|
protectedinherited |
Allows to group messages while they are flushed (for flush for groupMessages=true listeners)
|
protectedinherited |
Sends myGroups on flush finish.