Main Page   Class Hierarchy   Compound List   File List   Compound Members  

QtVisionView Class Reference

The TV screen widget. More...

#include <view.h>

Inheritance diagram for QtVisionView::

List of all members.

Public Slots

void setFixedAspectRatio (bool fixed, int mode)

Signals

void doubleClicked ()
void channelUp ()
void channelDown ()
void numberKeyPressed (int)
void resized (int w, int h)
void moved (int x, int y)
void visibilityChanged (bool visible)

Public Methods

 QtVisionView (QWidget *parent, const char *name=0)
virtual ~QtVisionView ()
void setAspectRatio (double aspect, int mode)

Protected Slots

virtual void hideEvent (QHideEvent *)
virtual void showEvent (QShowEvent *)

Protected Methods

virtual bool eventFilter (QObject *o, QEvent *e)
virtual void resizeEvent (QResizeEvent *e)
virtual void mouseMoveEvent (QMouseEvent *e)
virtual void focusOutEvent (QFocusEvent *)
virtual void mouseDoubleClickEvent (QMouseEvent *)
virtual void wheelEvent (QWheelEvent *)
virtual void keyPressEvent (QKeyEvent *)

Detailed Description

The TV screen widget.


Member Function Documentation

void QtVisionView::setAspectRatio double aspect,
int mode
 

Set the aspect ratio to fix this view to.

Parameters:
aspect   a double argument to set the aspect ratio.
mode   sets the mode of the aspect ratio fix

The aspect parameter should be one of the following: ASPECT_RATIO_NONE, ASPECT_RATIO_NORMAL, or ASPECT_RATIO_WIDESCREEN where the last one is not used at the moment.

By choosing either ASPECT_H_TO_W or ASPECT_W_TO_H as the mode you can set the algorithm for the aspect ratio.

void QtVisionView::setFixedAspectRatio bool fixed,
int mode
[slot]
 

Slot to set "Fix Aspect Ratio" on the fly.

Parameters:
fixed   a bool value indicating whether or not to fix aspect ratio.
mode   defines the algorithm/mode of the aspect ratio fix

void QtVisionView::numberKeyPressed int [signal]
 

emitted when a 0-9 number key is pressed.


The documentation for this class was generated from the following file:
Generated at Thu Jan 30 02:56:03 2003 for QtVision by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001