1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: PartSet_LockApplyMgr.h
4 // Created: 25 Jun 2015
5 // Author: Natalia Ermolaeva
7 #ifndef PartSet_LockApplyMgr_H
8 #define PartSet_LockApplyMgr_H
14 class ModuleBase_IWorkshop;
15 class XGUI_OperationMgr;
19 * Customosation of ModuleBase_WidgetShapeSelector in order to provide
20 * working with sketch specific objects.
22 class PARTSET_EXPORT PartSet_LockApplyMgr : public QObject
28 /// \param theExternal the external state
29 /// \param theDefaultValue the default value for the external object using
30 PartSet_LockApplyMgr(QObject* theParent,
31 ModuleBase_IWorkshop* theWorkshop);
33 virtual ~PartSet_LockApplyMgr() {}
40 // Set lock validating in the operation manager. Set apply is disabled
41 void onLockValidating();
42 // Set unlock validating in the operation manager. Call method to update the apply state.
43 void onUnlockValidating();
46 XGUI_OperationMgr* operationMgr() const;
49 ModuleBase_IWorkshop* myWorkshop; // the current application workshop