VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
makVrv::DtVideoStreamListWidget Class Reference

DtVideoStreamListWidget is used by the DtVideoStreamListPage to display a list of all the existing video streams. More...

Inheritance diagram for makVrv::DtVideoStreamListWidget:
Inheritance graph
[legend]

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

DtDemyDe
DtVideoStreamListLogicmyLogic
QTreeWidgetmyVideoStreams
QPushButtonmyActionButton
QPushButtonmyEditButton
QPushButtonmyAutoStartButton

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.

Detailed Description

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.

Constructor & Destructor Documentation

makVrv::DtVideoStreamListWidget::DtVideoStreamListWidget ( DtDe de,
QWidget parent 
)

CTOR.

virtual makVrv::DtVideoStreamListWidget::~DtVideoStreamListWidget ( )
virtual

DTOR.

Member Function Documentation

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 void makVrv::DtVideoStreamListWidget::addVideoStream ( const DtUnicode streamName,
DtVideoStreamListInterface::VideoStreamState  state 
)
virtual

Add a video stream to the list.

Implements makVrv::DtVideoStreamListInterface.

virtual void makVrv::DtVideoStreamListWidget::removeVideoStream ( const DtUnicode streamName)
virtual

Remove a video stream from the list.

Implements makVrv::DtVideoStreamListInterface.

virtual void makVrv::DtVideoStreamListWidget::setCurrentVideoStream ( const DtUnicode streamName)
virtual

Set the currently selected video stream.

Implements makVrv::DtVideoStreamListInterface.

virtual void makVrv::DtVideoStreamListWidget::setVideoStreamState ( const DtUnicode streamName,
DtVideoStreamListInterface::VideoStreamState  state 
)
virtual

Set the state of the specified video stream.

Implements makVrv::DtVideoStreamListInterface.

virtual void makVrv::DtVideoStreamListWidget::setVideoStreamAutoStartState ( const DtUnicode streamName,
bool  autoStart 
)
virtual

Set the autoStart state of the specified stream.

Implements makVrv::DtVideoStreamListInterface.

virtual void makVrv::DtVideoStreamListWidget::setActionButtonState ( DtVideoStreamListInterface::VideoStreamState  state)
virtual

Set the state of the action (start/stop) button.

Implements makVrv::DtVideoStreamListInterface.

virtual void makVrv::DtVideoStreamListWidget::onVideoStreamItemSelectionChanged ( )
protectedvirtualslot

Qt slot connected to the tree widget's itemSelectionChanged signal.

virtual void makVrv::DtVideoStreamListWidget::onActionButtonClicked ( )
protectedvirtualslot

Qt slot connected to the action button's clicked signal.

virtual void makVrv::DtVideoStreamListWidget::onEditButtonClicked ( )
protectedvirtualslot

Qt slot connected to the edit button's clicked signal.

virtual void makVrv::DtVideoStreamListWidget::onAutoStartButtonClicked ( )
protectedvirtualslot

Qt slot connected to the auto start button's clicked signal.

void makVrv::DtVideoStreamListWidget::setupGui ( )
protected

Create and initialize the component Qt widgets.

void makVrv::DtVideoStreamListWidget::setItemState ( QTreeWidgetItem item,
DtVideoStreamListInterface::VideoStreamState  state 
)
protected

Set the state (start/stop) of the specified tree widget item.

void makVrv::DtVideoStreamListWidget::setItemAutoStart ( QTreeWidgetItem item,
bool  isAutoStart 
)
protected

Set the autoStart state of the specified tree widget item.

Member Data Documentation

DtDe& makVrv::DtVideoStreamListWidget::myDe
protected
DtVideoStreamListLogic* makVrv::DtVideoStreamListWidget::myLogic
protected
QTreeWidget* makVrv::DtVideoStreamListWidget::myVideoStreams
protected
QPushButton* makVrv::DtVideoStreamListWidget::myActionButton
protected
QPushButton* makVrv::DtVideoStreamListWidget::myEditButton
protected
QPushButton* makVrv::DtVideoStreamListWidget::myAutoStartButton
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)