55 mService->setActiveVideoSource(value);
62 return mService->getActiveVideoSource()->getUid();
67 std::vector<VideoSourcePtr> sources = mService->getVideoSources();
69 for (
unsigned i=0; i<sources.size(); ++i)
70 retval << sources[i]->
getUid();
76 return "Select the active video source.";
boost::shared_ptr< class VideoService > VideoServicePtr
virtual QString getDisplayName() const
name of data entity. Used for display to user.
virtual bool setValue(const QString &value)
set the data value.
virtual QStringList getValueRange() const
StringPropertyActiveVideoSource(VideoServicePtr service)
void changed()
emit when the underlying data value is changed: The user interface will be updated.
virtual QString getUid() const
virtual QString getValue() const
get the data value.
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
void activeVideoSourceChanged()
Namespace for all CustusX production code.