![]() |
VR-Forces 4.1 Class Documentation
|
DtVideoStreamListWidget is used by the DtVideoStreamListPage to display a list of all the existing video streams. More...

Public Member Functions | |
| DtVideoStreamListWidget (DtDe &de, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtVideoStreamListWidget () |
| DTOR. | |
| void | activate () |
| Called to start the widget handling events. | |
| void | deactivate () |
| Called to stop the widget handling events. | |
| QSize | sizeHint () const |
| Override QWidget::sizeHint to size the widget within the video stream list page correctly. | |
| virtual void | addVideoStream (const DtUnicode &streamName, DtVideoStreamListInterface::VideoStreamState state) |
| Add a video stream to the list. | |
| virtual void | removeVideoStream (const DtUnicode &streamName) |
| Remove a video stream from the list. | |
| virtual void | setCurrentVideoStream (const DtUnicode &streamName) |
| Set the currently selected video stream. | |
| virtual void | setVideoStreamState (const DtUnicode &streamName, DtVideoStreamListInterface::VideoStreamState state) |
| Set the state of the specified video stream. | |
| virtual void | setVideoStreamAutoStartState (const DtUnicode &streamName, bool autoStart) |
| Set the autoStart state of the specified stream. | |
| virtual void | setActionButtonState (DtVideoStreamListInterface::VideoStreamState state) |
| Set the state of the action (start/stop) button. | |
Public Member Functions inherited from makVrv::DtVideoStreamListInterface | |
| DtVideoStreamListInterface () | |
| CTOR. | |
| virtual | ~DtVideoStreamListInterface () |
| DTOR. | |
Protected Slots | |
| virtual void | onVideoStreamItemSelectionChanged () |
| Qt slot connected to the tree widget's itemSelectionChanged signal. | |
| virtual void | onActionButtonClicked () |
| Qt slot connected to the action button's clicked signal. | |
| virtual void | onEditButtonClicked () |
| Qt slot connected to the edit button's clicked signal. | |
| virtual void | onAutoStartButtonClicked () |
| Qt slot connected to the auto start button's clicked signal. | |
Protected Member Functions | |
| void | setupGui () |
| Create and initialize the component Qt widgets. | |
| void | setItemState (QTreeWidgetItem *item, DtVideoStreamListInterface::VideoStreamState state) |
| Set the state (start/stop) of the specified tree widget item. | |
| void | setItemAutoStart (QTreeWidgetItem *item, bool isAutoStart) |
| Set the autoStart state of the specified tree widget item. | |
Protected Attributes | |
| DtDe & | myDe |
| DtVideoStreamListLogic * | myLogic |
| QTreeWidget * | myVideoStreams |
| QPushButton * | myActionButton |
| QPushButton * | myEditButton |
| QPushButton * | myAutoStartButton |
Additional Inherited Members | |
Public Types inherited from makVrv::DtVideoStreamListInterface | |
| enum | VideoStreamState { Stopped, Started, Suspended, Unavailable } |
| Enumerate possible video stream states. More... | |
Public Attributes inherited from makVrv::DtVideoStreamListInterface | |
| boost::signal< void(const DtUnicode &)> | signal_currentVideoStreamChanged |
| Signal raised by this video stream list widget when the current video stream selection changes. | |
| boost::signal< void()> | signal_toggleCurrentVideoStreamState |
| Signal raised by this video stream list widget when the action button is clicked, starting or stopping a video stream. | |
| boost::signal< void()> | signal_toggleCurrentVideoStreamAutoStartState |
| Signal raised by this video stream list widget when the auto start button is clicked. | |
| boost::signal< void()> | signal_editClicked |
| Signal raised by this video stream list widget when the edit button is clicked. | |
DtVideoStreamListWidget is used by the DtVideoStreamListPage to display a list of all the existing video streams.
Streams can be started, stopped, or edited using buttons on this widget.
|
virtual |
DTOR.
| void makVrv::DtVideoStreamListWidget::activate | ( | ) |
Called to start the widget handling events.
| void makVrv::DtVideoStreamListWidget::deactivate | ( | ) |
Called to stop the widget handling events.
| QSize makVrv::DtVideoStreamListWidget::sizeHint | ( | ) | const |
Override QWidget::sizeHint to size the widget within the video stream list page correctly.
|
virtual |
Add a video stream to the list.
Implements makVrv::DtVideoStreamListInterface.
|
virtual |
Remove a video stream from the list.
Implements makVrv::DtVideoStreamListInterface.
|
virtual |
Set the currently selected video stream.
Implements makVrv::DtVideoStreamListInterface.
|
virtual |
Set the state of the specified video stream.
Implements makVrv::DtVideoStreamListInterface.
|
virtual |
Set the autoStart state of the specified stream.
Implements makVrv::DtVideoStreamListInterface.
|
virtual |
Set the state of the action (start/stop) button.
Implements makVrv::DtVideoStreamListInterface.
|
protectedvirtualslot |
Qt slot connected to the tree widget's itemSelectionChanged signal.
|
protectedvirtualslot |
Qt slot connected to the action button's clicked signal.
|
protectedvirtualslot |
Qt slot connected to the edit button's clicked signal.
|
protectedvirtualslot |
Qt slot connected to the auto start button's clicked signal.
|
protected |
Create and initialize the component Qt widgets.
|
protected |
Set the state (start/stop) of the specified tree widget item.
|
protected |
Set the autoStart state of the specified tree widget item.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |