32 #ifndef CXDATAINTERFACE_H_
33 #define CXDATAINTERFACE_H_
35 #include "cxGuiExport.h"
60 static boost::shared_ptr<DoublePropertyActiveToolOffset>
create()
70 return "Tool tip virtual offset, in mm.";
72 virtual double getValue()
const;
73 virtual bool setValue(
double val);
90 virtual double getValue()
const;
91 virtual bool setValue(
double val);
94 void activeImageChanged();
96 virtual double getValueInternal()
const = 0;
97 virtual void setValueInternal(
double val) = 0;
112 virtual double getValueInternal()
const;
113 virtual void setValueInternal(
double val);
126 virtual double getValueInternal()
const;
127 virtual void setValueInternal(
double val);
142 virtual QStringList getValueRange()
const;
143 virtual QString convertInternal2Display(QString
internal);
167 virtual QString getDisplayName()
const;
168 virtual bool setValue(
const QString& value);
169 virtual QString getValue()
const;
172 virtual QString getHelp()
const;
176 void setValueName(
const QString name);
179 void setDefaultSlot();
199 virtual QString getDisplayName()
const;
200 virtual bool setValue(
const QString& value);
201 virtual QString getValue()
const;
202 virtual QStringList getValueRange()
const;
203 virtual QString getHelp()
const;
222 virtual QString getDisplayName()
const;
223 virtual bool setValue(
const QString& value);
224 virtual QString getValue()
const;
227 virtual QString getHelp()
const;
228 virtual QStringList getValueRange()
const;
229 virtual QString convertInternal2Display(QString
internal);
250 virtual bool setValue(
const QString& value);
265 virtual void setData(
DataPtr data);
269 virtual QString getDisplayName()
const;
270 virtual bool setValue(
const QString& value);
271 virtual QString getValue()
const;
292 virtual void setData(
DataPtr data);
296 virtual QString getDisplayName()
const;
297 virtual bool setValue(
const QString& value);
298 virtual QString getValue()
const;
321 virtual QString getDisplayName()
const;
322 virtual bool setValue(
const QString& value);
323 virtual QString getValue()
const;
326 virtual QString getHelp()
const;
327 virtual QStringList getValueRange()
const;
349 virtual QString getDisplayName()
const;
350 virtual bool setValue(
const QString& value);
351 virtual QString getValue()
const;
354 virtual QString getHelp()
const;
355 virtual QStringList getValueRange()
const;
virtual bool isReadOnly() const
static StringPropertyParentFramePtr New(PatientModelServicePtr patientModelService)
boost::shared_ptr< class StringPropertyActiveVideoSource > StringPropertyActiveVideoSourcePtr
boost::shared_ptr< class StringPropertyDataUidEditable > StringPropertyDataUidEditablePtr
DataInterface implementation for the LUT 2D window value.
Superclass for all doubles interacting with the active image.
boost::shared_ptr< class StringPropertyParentFrame > StringPropertyParentFramePtr
virtual ~StringPropertyDataNameEditable()
boost::shared_ptr< class StringPropertyImageType > StringPropertyImageTypePtr
static StringPropertyDataModalityPtr New(PatientModelServicePtr patientModelService)
Adapter that selects and stores an rtsource. The rtsource is stored internally in the adapter...
virtual bool isReadOnly() const
Utility class for describing a bounded numeric range.
boost::shared_ptr< class Image > ImagePtr
boost::shared_ptr< class StringPropertyDataNameEditable > StringPropertyDataNameEditablePtr
boost::shared_ptr< class ActiveImageProxy > ActiveImageProxyPtr
boost::shared_ptr< class StringPropertySelectRTSourceBase > StringPropertySelectRTSourceBasePtr
static StringPropertyActiveVideoSourcePtr New()
virtual bool getAllowOnlyValuesInRange() const
Adapter for controlling the active video source in cx::VideoServiceOld.
static StringPropertyDataUidEditablePtr New()
virtual ~DoubleProperty2DLevel()
Abstract interface for interaction with internal string-valued data.
boost::shared_ptr< class StringPropertySetParentFrame > StringPropertySetParentFramePtr
boost::shared_ptr< class Data > DataPtr
virtual ~StringPropertyActiveVideoSource()
virtual QString getDisplayName() const
name of data entity. Used for display to user.
static StringPropertyImageTypePtr New(PatientModelServicePtr patientModelService)
Adapter that selects the parent frame of the given Data.
Adapter that selects the image type of the given Data.
virtual ~StringPropertySelectRTSource()
DataInterface implementation for the LUT 2D level value.
static StringPropertyDataNameEditablePtr New()
Adapter that selects the modality of the given Data.
Adapter for displaying and changing name of a Data.
virtual void connectValueSignals(bool on)
virtual ~StringPropertyDataUidEditable()
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class VideoSource > VideoSourcePtr
virtual ~DoubleProperty2DWindow()
PatientModelServicePtr mPatientModelService
static StringPropertySelectRTSourceBasePtr New(PatientModelServicePtr patientModelService)
PatientModelServicePtr mPatientModelService
Adapter for displaying and changing name of a Data.
virtual ~StringPropertySetParentFrame()
static StringPropertySetParentFramePtr New(PatientModelServicePtr patientModelService)
boost::shared_ptr< class StringPropertyDataModality > StringPropertyDataModalityPtr
Base class for all Properties that selects a real time source.
Adapter that force sets the parent frame of the given Data, i.e. overwriting history. Nice for initial definition.
PatientModelServicePtr mPatientModelService
PatientModelServicePtr mPatientModelService
virtual ~DoublePropertyActiveImageBase()
boost::shared_ptr< class StringPropertySelectRTSource > StringPropertySelectRTSourcePtr
ActiveImageProxyPtr mActiveImageProxy
virtual bool getAllowOnlyValuesInRange() const
PatientModelServicePtr mPatientModelService
virtual QString getDisplayName() const
name of data entity. Used for display to user.