#include <qtvisionwidget.h>
Inheritance diagram for QtVisionWidget::
Public Types | |
enum | ViewMode { ViewNormal = 0, ViewFullScreen = 1, ViewTopLevel = 2, ViewMaxIterable = ViewTopLevel, ViewNone = 128, ViewVideoDesktop = 129 } |
Public Slots | |
void | setDriver (QtVision *qtv) |
void | resetViewMode () |
void | nextViewMode () |
void | toggleFullScreen () |
void | setViewMode (int mode) |
void | setShowNone (bool active) |
void | setShowNormal (bool active) |
void | setShowTopLevel (bool active) |
void | setShowFullScreen (bool active) |
void | setShowVideoDesktop (bool active) |
void | stayOnTopCfgChanged (bool) |
void | bringToFront () |
Signals | |
void | viewModeChanged (int mode) |
void | showNone (bool enabled) |
void | showNormal (bool enabled) |
void | showTopLevel (bool enabled) |
void | showFullScreen (bool enabled) |
void | showVideoDesktop (bool enabled) |
void | floatingAboutToChange (bool oldval) |
void | floatingChanged (bool newval) |
void | frameCloseEvent () |
Public Methods | |
QtVisionWidget (QWidget *parent=0, const char *name=0, int wflags=0) | |
QtVisionWidget (QtVision *qtv, QWidget *parent=0, const char *name=0, int wflags=0) | |
virtual | ~QtVisionWidget () |
QtVision * | driver () const |
QtVisionView * | view () const |
DCOPRef | driverIface () const |
ChannelStore * | channels () const |
ViewManager * | views () const |
void | addContextMenu (QPopupMenu *pop) |
int | viewMode () const |
bool | isShowNormal () const |
bool | isShowTopLevel () const |
bool | isShowFullScreen () const |
bool | isShowVideoDesktop () const |
bool | isShowNone () const |
bool | isFloating () const |
Protected Slots | |
void | setFloating (bool enable) |
Protected Methods | |
void | attachScreen () |
void | detachScreen () |
|
Identifiers for the various view modes.
|
|
Creates a TV widget.
|
|
Creates a TV widget with a specified driver.
|
|
Cleans up.
|
|
Returns the QtVision object driving the TV picture.
|
|
Returns the internal screen widget.
|
|
Returns a DCOP reference to the driver object.
Reimplemented from QtVisionViewIface. |
|
Returns the current channel store.
|
|
Returns the current view manager.
|
|
Adds the specified context menu to the screen widget.
|
|
Returns the current view mode.
Reimplemented from QtVisionViewIface. |
|
Returns true if the view mode is ViewNormal.
Reimplemented from QtVisionViewIface. |
|
Returns true if the view mode is ViewTopLevel.
Reimplemented from QtVisionViewIface. |
|
Returns true if the view mode is ViewFullScreen.
Reimplemented from QtVisionViewIface. |
|
Returns true if the view mode is ViewVideoDesktop.
Reimplemented from QtVisionViewIface. |
|
Returns true if the view mode is ViewNone.
Reimplemented from QtVisionViewIface. |
|
Returns true if the screen widget has been detached from its parent as a floating window.
Reimplemented from QtVisionViewIface. |
|
Sets the QtVision object that drives the TV picture.
|
|
Forces a return to normal mode.
Reimplemented from QtVisionViewIface. |
|
Switches to the next view mode.
Reimplemented from QtVisionViewIface. |
|
Toggle full screen. Change to fullscreen, and store the old mode. If already in fullscreen change back to Normal mode, or to the stored old mode. |
|
Activates the specified view mode.
Reimplemented from QtVisionViewIface. |
|
If active is true, this method enables the view mode 'None'. This is a special mode that disables the video feed allowing another application (eg. the QtVision screensaver to take over the video source. Reimplemented from QtVisionViewIface. |
|
Changes stay on top of frame.
|
|
Brings window to front.
|