/// Creates custom widgets for property panel
virtual ModuleBase_ModelWidget* createWidgetByType(const std::string& theType, QWidget* theParent,
- Config_WidgetAPI* theWidgetApi, std::string theParentId);
+ Config_WidgetAPI* theWidgetApi);
/// Returns the active widget, by default it is the property panel active widget
/// If the internal edit operation is started, this is the first widget of the operation
/// \param theEvent the key event
void onKeyRelease(ModuleBase_IViewWindow* theWnd, QKeyEvent* theEvent);
- /// SLOT, that is called by the current operation filling with the preselection.
- /// It commits the operation of it is can be committed
- void onOperationActivatedByPreselection();
-
/// A slot called on view window creation
void onViewCreated(ModuleBase_IViewWindow*);
- /// A slot to change property panel title on change of boolean operation type
- /// \param theOperation the operation type
- void onBooleanOperationChange(int theOperation);
+ /// A slot to change property panel title by choice type change if the title information
+ /// exists in the XML definition of this control attribute
+ /// \param theWidget a sender
+ /// \param theIndex the current choice index
+ void onChoiceChanged(ModuleBase_ModelWidget* theWidget, int theIndex);
protected:
/// Register validators for this module
/// \param isToConnect a boolean value whether connect or disconnect
virtual void connectToPropertyPanel(ModuleBase_ModelWidget* theWidget, const bool isToConnect);
+ /// Realizes some functionality by an operation start
+ /// Displays all sketcher sub-Objects, hides sketcher result, appends selection filters
+ /// Activate the operation presentation
+ /// \param theOperation a started operation
+ virtual void operationStartedInternal(ModuleBase_Operation* theOperation);
+
private slots:
void onTreeViewDoubleClick(const QModelIndex&);