VR-Forces 4.10 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. More...
 
virtual ~DtVideoStreamEditPage ()
 DTOR. More...
 
virtual void addVideoStream (const DtUnicode &videoStreamName)
 Add a video stream. More...
 
virtual void removeVideoStream (const DtUnicode &videoStreamName)
 Remove a video stream. More...
 
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. More...
 
virtual void requestVideoStreamEdit (const DtUnicode &videoStreamName)
 Specify a video stream that should be selected when this page is activated. More...
 
virtual QIcon icon ()
 Get the icon of the page. More...
 
virtual QString title ()
 Get the title of the page. More...
 
virtual const std::string & pageClassName () const
 Get the class name of the page. More...
 
- Public Member Functions inherited from makVrv::DtSelectedInstanceDialogPage
 DtSelectedInstanceDialogPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR. More...
 
virtual ~DtSelectedInstanceDialogPage ()
 DTOR. More...
 
virtual void addInstance (const std::string &)
 Add an instance. More...
 
virtual void removeInstance (const std::string &)
 Remove an instance. More...
 
virtual QString currentInstance ()
 
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR for page. More...
 
virtual ~DtPage ()
 DTOR for page. More...
 
virtual PageAction pageAction ()
 return the current action on the page More...
 
virtual void setPageAction (PageAction action)
 set the curret action on the page More...
 
virtual void setActionFlag (int flag)
 set the action flag of the page More...
 
virtual int actionFlag ()
 return the action flag of the page More...
 
virtual void setParentDialog (QWidget *paraentDialog)
 set the parent dialog that owns this page More...
 
virtual QWidget * parentDialog ()
 return the parent dialog that own this page More...
 
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 More...
 
virtual void askBeforeAction ()
 Called when the action flag is set and before the action is beind executed, default do nothing. More...
 
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. More...
 
virtual void resumeLastAction ()
 resume the last action of the page More...
 
virtual void onCloseEvent ()
 will be called when user hit the close button of this page, default do nothing. More...
 
virtual void onSwitchEvent ()
 will be called when user try switch to another page, default do nothing. More...
 

Static Public Member Functions

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

Protected Slots

virtual void onCurrentInstanceChanged (QString definition)
 Override dialog page current instance changed handler. More...
 
virtual void onNewInstanceRequested ()
 Override dialog page new instance requested handler. More...
 
virtual void onDeleteInstanceRequested ()
 Override dialog page delete instance requested handler. More...
 
virtual void onRenameInstanceRequested ()
 Override dialog page rename instance requested handler. More...
 
- 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. More...
 
virtual void activate ()
 Called by the Pager when this page becomes active. More...
 
virtual void deactivate ()
 Called by the Pager when this page becomes active. More...
 
void setupVideoStreamTypeSpecificWidget ()
 Factory create and intialize a configuration widget from the selected video stream's class type. More...
 
- Protected Member Functions inherited from makVrv::DtSelectedInstanceDialogPage
void setupGui ()
 

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.

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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)