#include <view.h>
Inheritance diagram for QtVisionView::
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 *) |
|
Set the aspect ratio to fix this view to.
By choosing either ASPECT_H_TO_W or ASPECT_W_TO_H as the mode you can set the algorithm for the aspect ratio. |
|
Slot to set "Fix Aspect Ratio" on the fly.
|
|
emitted when a 0-9 number key is pressed.
|