1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: ModuleBase_IErrorMgr.h
4 // Created: 22 July 2015
5 // Author: Sergey POKHODENKO
7 #ifndef ModuleBase_IErrorMgr_H
8 #define ModuleBase_IErrorMgr_H
10 #include "ModuleBase.h"
13 class ModuleBase_IPropertyPanel;
15 class MODULEBASE_EXPORT ModuleBase_IErrorMgr : public QObject
19 /// Default constructor
20 ModuleBase_IErrorMgr(QObject* theParent = 0);
21 /// Virtual destructor
22 virtual ~ModuleBase_IErrorMgr();
24 /// \brief Set property pane to the operation
25 /// \param theProp a property panel instance
26 virtual void setPropertyPanel(ModuleBase_IPropertyPanel* theProp);
28 /// \return Currently installed property panel
29 ModuleBase_IPropertyPanel* propertyPanel() const { return myPropertyPanel; }
32 /// SLOT, that is called after the operation is validated and feature validation errors have changed.
33 //virtual void onValidationStateChanged() = 0;
36 /// Process values changed event for processing feature attribute validation errors.
37 virtual void onWidgetChanged() = 0;
40 /// Access to property panel
41 ModuleBase_IPropertyPanel* myPropertyPanel;
44 #endif // ModuleBase_IErrorMgr_H