20 #ifndef ModuleBase_PROPERTYPANEL_H_
21 #define ModuleBase_PROPERTYPANEL_H_
23 #include "ModuleBase.h"
25 #include <QDockWidget>
52 virtual const QList<ModuleBase_ModelWidget*>&
modelWidgets()
const = 0;
92 virtual bool isModified()
const;
97 const QList<ModuleBase_ModelWidget*>& theWidgets);
132 const bool theEmitSignal =
true) = 0;
A class for Property panel object definition.
Definition: ModuleBase_IPropertyPanel.h:35
virtual ModuleBase_ModelWidget * preselectionWidget() const =0
Returns widget processed by preselection.
virtual QWidget * headerWidget() const =0
Returns header widget.
bool myIsEditing
Flag which shows that current operation is in editing mode.
Definition: ModuleBase_IPropertyPanel.h:137
virtual void setPreselectionWidget(ModuleBase_ModelWidget *theWidget)=0
Sets widget processed by preselection.
void noMoreWidgets(const std::string &thePreviousAttributeID)
The signal about the widget activation.
virtual ModuleBase_ModelWidget * activeWidget(const bool isUseCustomWidget=false) const =0
Returns currently active widget.
virtual void activateWidget(ModuleBase_ModelWidget *theWidget, const bool theEmitSignal=true)=0
Makes the given widget active, highlights it and removes highlighting from the previous active widget...
virtual void cleanContent()=0
Removes all widgets in the widget area of the property panel.
virtual void onAcceptData()=0
The method is called on accepting of operation.
virtual void activateNextWidget()=0
Activate the next from current widget in the property panel.
virtual void setEditingMode(bool isEditing)
Editing mode depends on mode of current operation.
Definition: ModuleBase_IPropertyPanel.h:63
bool isEditingMode() const
Definition: ModuleBase_IPropertyPanel.h:66
virtual const QList< ModuleBase_ModelWidget * > & modelWidgets() const =0
Returns all property panel's widget created by WidgetFactory.
virtual void setCancelEnabled(bool theEnabled)=0
Set Enable/Disable state of Cancel button.
virtual bool isCancelEnabled() const =0
virtual void setFocusOnOkButton()=0
Set focus on the Ok button.
void keyReleased(QObject *theObject, QKeyEvent *theEvent)
The signal about key release on the control, that corresponds to the attribute.
virtual void activateNextWidget(ModuleBase_ModelWidget *theWidget)=0
Activate the next widget in the property panel.
void beforeWidgetActivated(ModuleBase_ModelWidget *theWidget)
The signal about the widget activation.