20 #ifndef PartSet_MenuMgr_H
21 #define PartSet_MenuMgr_H
23 #include <ModelAPI_Feature.h>
24 #include <ModelAPI_ResultPart.h>
52 QAction*
action(
const QString& theId)
const;
59 bool addViewerMenu(
const QMap<QString, QAction*>& theStdActions,
61 QMap<int, QAction*>& theMenuActions)
const;
85 void onLineHighlighted(QAction* theAction);
88 void onDetachMenuHide();
92 void onLineDetach(QAction* theAction);
95 void onActivatePart(
bool);
98 void onActivatePartSet(
bool);
104 void onActivateAllParts();
116 bool canSetAuxiliary(
bool& theValue)
const;
120 void setAuxiliary(
const bool isChecked);
124 void createActions();
129 void addAction(
const QString& theId, QAction* theAction);
136 QColor setLineColor(
int theId,
const QColor theColor,
bool theUpdate);
142 QMap<QString, QAction*> myActions;
145 mutable QList<FeaturePtr> myCoinsideLines;
148 mutable FeaturePtr mySelectedFeature;
Base class for all operations.
Definition: ModuleBase_Operation.h:53
Implementation of Partset module.
Definition: PartSet_Module.h:69