|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
34 mService->setActiveVideoSource(value);
41 return mService->getActiveVideoSource()->getUid();
46 std::vector<VideoSourcePtr> sources = mService->getVideoSources();
48 for (
unsigned i=0; i<sources.size(); ++i)
49 retval << sources[i]->
getUid();
55 return "Select the active video source.";
boost::shared_ptr< class VideoService > VideoServicePtr
Namespace for all CustusX production code.
virtual bool setValue(const QString &value)
set the data value.
virtual QStringList getValueRange() const
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.
void activeVideoSourceChanged()
virtual QString getDisplayName() const
name of data entity. Used for display to user.
virtual QString getHelp() const
StringPropertyActiveVideoSource(VideoServicePtr service)