- /// Returns currently selected data object
- ObjectPtr selectedFeature() const
- {
- return mySelectedObject;
- }
-
- /// Set the given wrapped value to the current widget
- /// This value should be processed in the widget according to the needs
- /// \param theValue the wrapped widget value
- virtual bool setSelection(ModuleBase_ViewerPrs theValue);
-
-
- /// The methiod called when widget is deactivated
- virtual void deactivate();
-
-
- public slots:
-
- /// Activate or deactivate selection
- void activateSelection(bool toActivate);
-
- private slots:
- /// Slot which is called on selection event
- void onSelectionChanged();
-