VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
makVrv::DtVideoStreamEditPage Class Reference

DtVideoStreamEditPage provides the page dialog that creates the video stream type specific configuration widget, as well as managing pop-up dialogs for adding, deleting, and renaming video streams. More...

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

Public Member Functions

 DtVideoStreamEditPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0)
 CTOR.
virtual ~DtVideoStreamEditPage ()
 DTOR.
virtual void addVideoStream (const DtUnicode &videoStreamName)
 Add a video stream.
virtual void removeVideoStream (const DtUnicode &videoStreamName)
 Remove a video stream.
virtual void setAutoStart (const DtUnicode &streamName, bool autoStart)
 Set the autoStart state of a video stream, which is indicated in the selection combo with a 'star' icon.
virtual void requestVideoStreamEdit (const DtUnicode &videoStreamName)
 Specify a video stream that should be selected when this page is activated.
virtual QIcon icon ()
 Get the icon of the page.
virtual QString title ()
 Get the title of the page.
virtual const std::string & pageClassName () const
 Get the class name of the page.
- Public Member Functions inherited from makVrv::DtSelectedInstanceDialogPage
 DtSelectedInstanceDialogPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtSelectedInstanceDialogPage ()
 DTOR.
virtual void addInstance (const std::string &)
 Add an instance.
virtual void removeInstance (const std::string &)
 Remove an instance.
virtual QString currentInstance ()
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR for page.
virtual ~DtPage ()
 DTOR for page.
virtual PageAction pageAction ()
 return the current action on the page
virtual void setPageAction (PageAction action)
 set the curret action on the page
virtual void setActionFlag (int flag)
 set the action flag of the page
virtual int actionFlag ()
 return the action flag of the page
virtual void setParentDialog (QWidget *paraentDialog)
 set the parent dialog that owns this page
virtual QWidget * parentDialog ()
 return the parent dialog that own this page
virtual bool shouldAskBeforeAction (PageAction action)
 test the action flag with the action, return true if we should ask before executing the action /param action the current page action
virtual void askBeforeAction ()
 Called when the action flag is set and before the action is beind executed, default do nothing.
virtual void executeAfterAsk (bool revert)
 Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it.
virtual void resumeLastAction ()
 resume the last action of the page
virtual void onCloseEvent ()
 will be called when user hit the close button of this page, default do nothing.
virtual void onSwitchEvent ()
 will be called when user try switch to another page, default do nothing.

Static Public Member Functions

static const std::string & thePageClassName ()
 Get the class name of the class.

Protected Slots

virtual void onCurrentInstanceChanged (QString definition)
 Override dialog page current instance changed handler.
virtual void onNewInstanceRequested ()
 Override dialog page new instance requested handler.
virtual void onDeleteInstanceRequested ()
 Override dialog page delete instance requested handler.
virtual void onRenameInstanceRequested ()
 Override dialog page rename instance requested handler.
- Protected Slots inherited from makVrv::DtSelectedInstanceDialogPage
virtual void onCurrentInstanceChanged (QString definition)
virtual void onCurrentInstanceChanged (int)
virtual void onRenameInstanceRequested ()
virtual void onNewInstanceRequested ()
virtual void onDeleteInstanceRequested ()

Protected Member Functions

void setupGui ()
 Create and layout the widgets for this page.
virtual void activate ()
 Called by the Pager when this page becomes active.
virtual void deactivate ()
 Called by the Pager when this page becomes active.
void setupVideoStreamTypeSpecificWidget ()
 Factory create and intialize a configuration widget from the selected video stream's class type.

Protected Attributes

DtVideoStreamEditLogicmyLogic
DtUnicode myClassName
DtUnicode myInstanceName
QVBoxLayout * myContentsLayout
QLabelmyTitle
QVBoxLayout * myMainLayout
DtVideoStreamConfigurationInterfacemyCurrentWidget
DtUnicode myVideoStreamEditRequest
- Protected Attributes inherited from makVrv::DtSelectedInstanceDialogPage
DtSelectInstanceWidgetmySelectInstanceWidget
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
QWidget * myParentDialog
PageAction myCurrentPageAction
int myActionFlag

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }

Detailed Description

DtVideoStreamEditPage provides the page dialog that creates the video stream type specific configuration widget, as well as managing pop-up dialogs for adding, deleting, and renaming video streams.

Constructor & Destructor Documentation

makVrv::DtVideoStreamEditPage::DtVideoStreamEditPage ( DtDe de,
QWidget *  parent,
Qt::WindowFlags  f = 0 
)

CTOR.

virtual makVrv::DtVideoStreamEditPage::~DtVideoStreamEditPage ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtVideoStreamEditPage::addVideoStream ( const DtUnicode videoStreamName)
virtual

Add a video stream.

virtual void makVrv::DtVideoStreamEditPage::removeVideoStream ( const DtUnicode videoStreamName)
virtual

Remove a video stream.

virtual void makVrv::DtVideoStreamEditPage::setAutoStart ( const DtUnicode streamName,
bool  autoStart 
)
virtual

Set the autoStart state of a video stream, which is indicated in the selection combo with a 'star' icon.

virtual void makVrv::DtVideoStreamEditPage::requestVideoStreamEdit ( const DtUnicode videoStreamName)
virtual

Specify a video stream that should be selected when this page is activated.

virtual QIcon makVrv::DtVideoStreamEditPage::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtVideoStreamEditPage::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

virtual const std::string& makVrv::DtVideoStreamEditPage::pageClassName ( ) const
virtual

Get the class name of the page.

Implements makVrv::DtPage.

static const std::string& makVrv::DtVideoStreamEditPage::thePageClassName ( )
static

Get the class name of the class.

virtual void makVrv::DtVideoStreamEditPage::onCurrentInstanceChanged ( QString  definition)
protectedvirtualslot

Override dialog page current instance changed handler.

virtual void makVrv::DtVideoStreamEditPage::onNewInstanceRequested ( )
protectedvirtualslot

Override dialog page new instance requested handler.

virtual void makVrv::DtVideoStreamEditPage::onDeleteInstanceRequested ( )
protectedvirtualslot

Override dialog page delete instance requested handler.

virtual void makVrv::DtVideoStreamEditPage::onRenameInstanceRequested ( )
protectedvirtualslot

Override dialog page rename instance requested handler.

void makVrv::DtVideoStreamEditPage::setupGui ( )
protected

Create and layout the widgets for this page.

Reimplemented from makVrv::DtSelectedInstanceDialogPage.

virtual void makVrv::DtVideoStreamEditPage::activate ( )
protectedvirtual

Called by the Pager when this page becomes active.

Reimplemented from makVrv::DtSelectedInstanceDialogPage.

virtual void makVrv::DtVideoStreamEditPage::deactivate ( )
protectedvirtual

Called by the Pager when this page becomes active.

Reimplemented from makVrv::DtSelectedInstanceDialogPage.

void makVrv::DtVideoStreamEditPage::setupVideoStreamTypeSpecificWidget ( )
protected

Factory create and intialize a configuration widget from the selected video stream's class type.

Member Data Documentation

DtVideoStreamEditLogic* makVrv::DtVideoStreamEditPage::myLogic
protected
DtUnicode makVrv::DtVideoStreamEditPage::myClassName
protected
DtUnicode makVrv::DtVideoStreamEditPage::myInstanceName
protected
QVBoxLayout* makVrv::DtVideoStreamEditPage::myContentsLayout
protected
QLabel* makVrv::DtVideoStreamEditPage::myTitle
protected
QVBoxLayout* makVrv::DtVideoStreamEditPage::myMainLayout
protected
DtVideoStreamConfigurationInterface* makVrv::DtVideoStreamEditPage::myCurrentWidget
protected
DtUnicode makVrv::DtVideoStreamEditPage::myVideoStreamEditRequest
protected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)