![]() |
ImFusion C++ SDK 4.4.0
|
Public Member Functions | |
| virtual void | init () |
| virtual bool | isProjectCompatible () const =0 |
| virtual bool | isProjectCompatible (const Project::ProjectTypes &, bool) const =0 |
| virtual bool | areActiveLayersCompatible () const =0 |
| virtual bool | isDataSetCompatible (const DataSet &) const =0 |
| virtual void | dataSetChanged () |
| virtual QIcon | icon () const =0 |
| virtual QString | text () const =0 |
| virtual QString | description () const =0 |
| virtual QString | docPath () const =0 |
| virtual bool | isReadOnly () const =0 |
| virtual QWidget * | ui (QWidget *=nullptr)=0 |
| virtual void | activate () |
| virtual void | deactivate () |
| virtual bool | inputEvent (QEvent *) |
| virtual void | configuration (Properties *) const override |
| Serialize the current object configuration into the given Properties object. | |
| virtual void | configure (const Properties *) override |
| Configure this object instance by de-serializing the given Properties. | |
| Public Member Functions inherited from ImFusion::Configurable | |
| virtual void | configureDefaults () |
| Retrieve the properties of this object, replaces values with their defaults and sets it again. | |
| void | registerParameter (ParameterBase *param) |
| Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration(). | |
| void | unregisterParameter (const ParameterBase *param) |
| Remove the given Parameter or SubProperty from the list of registered parameters. | |
| Configurable (const Configurable &rhs) | |
| Configurable (Configurable &&rhs) noexcept | |
| Configurable & | operator= (const Configurable &) |
| Configurable & | operator= (Configurable &&) noexcept |
Protected Attributes | |
| bool | m_isActive = false |
| DataSet * | m_dataSet = nullptr |
| const Project * | m_project = nullptr |
| DisplayWidgetMultiAdapter | m_disp |
| ThumbnailLoader * | m_thumbnailLoader = nullptr |
| AnnotationActionSharedState * | m_sharedState = nullptr |
| AnnotationView * | m_annotationView = nullptr |
| Protected Attributes inherited from ImFusion::Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
Additional Inherited Members | |
| Public Attributes inherited from ImFusion::Configurable | |
| Signal | signalParametersChanged |
| Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
|
inlineoverridevirtual |
Serialize the current object configuration into the given Properties object.
The default implementation will do so automatically for all registered Parameter and SubProperty instances.
Reimplemented from ImFusion::Configurable.
Reimplemented in ImFusion::ConnectedComponentsAction, ImFusion::DefaultAction, ImFusion::DrawContourAction, ImFusion::EraseAction, ImFusion::GeometricAnnotationsAction, ImFusion::InteractiveSegAction, ImFusion::LabelMapPropagationAction, ImFusion::MeasurementAction, ImFusion::RefineAction, ImFusion::ReplaceValuesAction, ImFusion::TemplateDeformationAction, and ImFusion::UndoAction.
|
inlineoverridevirtual |
Configure this object instance by de-serializing the given Properties.
The default implementation will do so automatically for all registered Parameter and SubProperty instances.
Reimplemented from ImFusion::Configurable.
Reimplemented in ImFusion::ConnectedComponentsAction, ImFusion::DefaultAction, ImFusion::DrawContourAction, ImFusion::EraseAction, ImFusion::GeometricAnnotationsAction, ImFusion::InteractiveSegAction, ImFusion::LabelMapPropagationAction, ImFusion::MeasurementAction, ImFusion::RefineAction, ImFusion::ReplaceValuesAction, ImFusion::TemplateDeformationAction, and ImFusion::UndoAction.