|
SHAPER
9.15.0
|
A class for Property panel object definition. More...

Public Slots | |
| virtual void | activateNextWidget (ModuleBase_ModelWidget *theWidget)=0 |
| Activate the next widget in the property panel. More... | |
| virtual void | activateNextWidget ()=0 |
| Activate the next from current widget in the property panel. More... | |
| 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. More... | |
Signals | |
| void | keyReleased (QObject *theObject, QKeyEvent *theEvent) |
| The signal about key release on the control, that corresponds to the attribute. More... | |
| void | beforeWidgetActivated (ModuleBase_ModelWidget *theWidget) |
| The signal about the widget activation. More... | |
| void | noMoreWidgets (const std::string &thePreviousAttributeID) |
| The signal about the widget activation. More... | |
Public Member Functions | |
| ModuleBase_IPropertyPanel (QWidget *theParent) | |
| Constructor. More... | |
| virtual QWidget * | headerWidget () const =0 |
| Returns header widget. More... | |
| virtual ModuleBase_ModelWidget * | activeWidget (const bool isUseCustomWidget=false) const =0 |
| Returns currently active widget. More... | |
| virtual const QList< ModuleBase_ModelWidget * > & | modelWidgets () const =0 |
| Returns all property panel's widget created by WidgetFactory. More... | |
| virtual ModuleBase_ModelWidget * | modelWidget (const std::string &theAttributeId) const |
| Returns widget, that has the given attribute index. More... | |
| virtual void | cleanContent ()=0 |
| Removes all widgets in the widget area of the property panel. More... | |
| virtual void | setEditingMode (bool isEditing) |
| Editing mode depends on mode of current operation. More... | |
| bool | isEditingMode () const |
| virtual void | setFocusOnOkButton ()=0 |
| Set focus on the Ok button. More... | |
| virtual void | setCancelEnabled (bool theEnabled)=0 |
| Set Enable/Disable state of Cancel button. More... | |
| virtual bool | isCancelEnabled () const =0 |
| virtual ModuleBase_ModelWidget * | preselectionWidget () const =0 |
| Returns widget processed by preselection. More... | |
| virtual void | setPreselectionWidget (ModuleBase_ModelWidget *theWidget)=0 |
| Sets widget processed by preselection. More... | |
| ModuleBase_ModelWidget * | findFirstAcceptingValueWidget () |
| Returns the first widget, where canAcceptFocus returns true. More... | |
| virtual void | onAcceptData ()=0 |
| The method is called on accepting of operation. More... | |
| virtual bool | isModified () const |
| Returns True if data of its feature was modified during operation. More... | |
Static Public Member Functions | |
| static ModuleBase_ModelWidget * | findFirstAcceptingValueWidget (const QList< ModuleBase_ModelWidget * > &theWidgets) |
| Returns the first widget, where canAcceptFocus returns true. More... | |
Protected Attributes | |
| bool | myIsEditing |
| Flag which shows that current operation is in editing mode. More... | |
A class for Property panel object definition.
| ModuleBase_IPropertyPanel::ModuleBase_IPropertyPanel | ( | QWidget * | theParent | ) |
Constructor.
| theParent | is a parent of the property panel |
|
pure virtual |
Returns header widget.
Implemented in XGUI_PropertyPanel.
|
pure virtual |
Returns currently active widget.
This is a widget from internal container of widgets (myWidgets) activated/deactivated by focus in property panel. If parameter is true, the method finds firstly the custom widget, after the direct active widget.
| isUseCustomWidget | boolean state if the custom widget might be a result |
Implemented in XGUI_PropertyPanel.
|
pure virtual |
Returns all property panel's widget created by WidgetFactory.
Implemented in XGUI_PropertyPanel.
|
virtual |
Returns widget, that has the given attribute index.
| theAttributeId | an attribute from XML |
|
pure virtual |
Removes all widgets in the widget area of the property panel.
Implemented in XGUI_PropertyPanel.
|
inlinevirtual |
Editing mode depends on mode of current operation.
This value is defined by it.
| isEditing | state of editing mode flag |
Reimplemented in XGUI_PropertyPanel.
|
inline |
|
pure virtual |
Set focus on the Ok button.
Implemented in XGUI_PropertyPanel.
|
pure virtual |
Set Enable/Disable state of Cancel button.
| theEnabled | Enable/Disable state of Cancel button |
Implemented in XGUI_PropertyPanel.
|
pure virtual |
Implemented in XGUI_PropertyPanel.
|
pure virtual |
Returns widget processed by preselection.
Implemented in XGUI_PropertyPanel.
|
pure virtual |
Sets widget processed by preselection.
Implemented in XGUI_PropertyPanel.
| ModuleBase_ModelWidget * ModuleBase_IPropertyPanel::findFirstAcceptingValueWidget | ( | ) |
Returns the first widget, where canAcceptFocus returns true.
|
pure virtual |
The method is called on accepting of operation.
Implemented in XGUI_PropertyPanel.
|
virtual |
Returns True if data of its feature was modified during operation.
|
static |
Returns the first widget, where canAcceptFocus returns true.
workaround for the same attributes used in different stacked widgets(attribute types)
|
signal |
The signal about key release on the control, that corresponds to the attribute.
| theObject | a sender of the event |
| theEvent | key release event |
|
signal |
The signal about the widget activation.
| theWidget | the activated widget |
|
signal |
The signal about the widget activation.
| theWidget | the activated widget Emitted when there is no next widget |
| thePreviousAttributeID | an attribute key of the previous active widget |
|
pure virtualslot |
Activate the next widget in the property panel.
| theWidget | a widget. The next widget should be activated |
Implemented in XGUI_PropertyPanel.
|
pure virtualslot |
Activate the next from current widget in the property panel.
Implemented in XGUI_PropertyPanel.
|
pure virtualslot |
Makes the given widget active, highlights it and removes highlighting from the previous active widget.
| theWidget | which has to be activated |
| theEmitSignal | a flag to prohibit signal emit |
|
protected |
Flag which shows that current operation is in editing mode.