![]() |
VR-Forces 4.6 Class Documentation
|
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...

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 | |
| DtVideoStreamEditLogic * | myLogic |
| DtUnicode | myClassName |
| DtUnicode | myInstanceName |
| QVBoxLayout * | myContentsLayout |
| QLabel * | myTitle |
| QVBoxLayout * | myMainLayout |
| DtVideoStreamConfigurationInterface * | myCurrentWidget |
| DtUnicode | myVideoStreamEditRequest |
Protected Attributes inherited from makVrv::DtSelectedInstanceDialogPage | |
| DtSelectInstanceWidget * | mySelectInstanceWidget |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
| QWidget * | myParentDialog |
| PageAction | myCurrentPageAction |
| int | myActionFlag |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
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.
| makVrv::DtVideoStreamEditPage::DtVideoStreamEditPage | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Add a video stream.
|
virtual |
Remove a video stream.
|
virtual |
Set the autoStart state of a video stream, which is indicated in the selection combo with a 'star' icon.
|
virtual |
Specify a video stream that should be selected when this page is activated.
|
virtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
virtual |
Get the title of the page.
Implements makVrv::DtPage.
|
virtual |
Get the class name of the page.
Implements makVrv::DtPage.
|
static |
Get the class name of the class.
|
protectedvirtualslot |
Override dialog page current instance changed handler.
|
protectedvirtualslot |
Override dialog page new instance requested handler.
|
protectedvirtualslot |
Override dialog page delete instance requested handler.
|
protectedvirtualslot |
Override dialog page rename instance requested handler.
|
protected |
Create and layout the widgets for this page.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
protectedvirtual |
Called by the Pager when this page becomes active.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
protectedvirtual |
Called by the Pager when this page becomes active.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
protected |
Factory create and intialize a configuration widget from the selected video stream's class type.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |