Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::TrackPadWidget Class Reference

Widget for controlling the camera in the 3D view.This widget is designed for use on a touchpad device. Example is to use iPad/iPhone as a secondary screen with this widget on. More...

#include <cxTrackPadWidget.h>

Inheritance diagram for cx::TrackPadWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 TrackPadWidget (QWidget *parent)
 
virtual ~TrackPadWidget ()
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Protected Slots

void dollySlot (QPointF delta)
 
void panXZSlot (QPointF delta)
 
void rotateYSlot (QPointF delta)
 
void rotateXZSlot (QPointF delta)
 

Protected Member Functions

virtual void showEvent (QShowEvent *event)
 updates internal info before showing the widget More...
 
virtual void hideEvent (QCloseEvent *event)
 disconnects stuff More...
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 

Additional Inherited Members

- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 

Detailed Description

Widget for controlling the camera in the 3D view.

This widget is designed for use on a touchpad device. Example is to use iPad/iPhone as a secondary screen with this widget on.

Date
Oct 7, 2010
Author
Christian Askeland, SINTEF

Definition at line 69 of file cxTrackPadWidget.h.

Constructor & Destructor Documentation

cx::TrackPadWidget::TrackPadWidget ( QWidget *  parent)

-----------------------------------------------------—


Definition at line 59 of file cxTrackPadWidget.cpp.

cx::TrackPadWidget::~TrackPadWidget ( )
virtual

Definition at line 179 of file cxTrackPadWidget.cpp.

Member Function Documentation

void cx::TrackPadWidget::dollySlot ( QPointF  delta)
protectedslot

Definition at line 149 of file cxTrackPadWidget.cpp.

void cx::TrackPadWidget::hideEvent ( QCloseEvent *  event)
protectedvirtual

disconnects stuff

Definition at line 188 of file cxTrackPadWidget.cpp.

void cx::TrackPadWidget::panXZSlot ( QPointF  delta)
protectedslot

padSize;

Definition at line 156 of file cxTrackPadWidget.cpp.

void cx::TrackPadWidget::rotateXZSlot ( QPointF  delta)
protectedslot

Definition at line 139 of file cxTrackPadWidget.cpp.

void cx::TrackPadWidget::rotateYSlot ( QPointF  delta)
protectedslot

Definition at line 131 of file cxTrackPadWidget.cpp.

void cx::TrackPadWidget::showEvent ( QShowEvent *  event)
protectedvirtual

updates internal info before showing the widget

Reimplemented from cx::BaseWidget.

Definition at line 183 of file cxTrackPadWidget.cpp.


The documentation for this class was generated from the following files: