CustusX  2021.04.21-dev+develop.337f9
An IGT application
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 (ViewServicePtr viewService, 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 44 of file cxTrackPadWidget.h.

Constructor & Destructor Documentation

cx::TrackPadWidget::TrackPadWidget ( ViewServicePtr  viewService,
QWidget *  parent 
)

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


Definition at line 36 of file cxTrackPadWidget.cpp.

cx::TrackPadWidget::~TrackPadWidget ( )
virtual

Definition at line 163 of file cxTrackPadWidget.cpp.

Member Function Documentation

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

Definition at line 133 of file cxTrackPadWidget.cpp.

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

disconnects stuff

Definition at line 172 of file cxTrackPadWidget.cpp.

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

padSize;

Definition at line 140 of file cxTrackPadWidget.cpp.

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

Definition at line 123 of file cxTrackPadWidget.cpp.

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

Definition at line 115 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 167 of file cxTrackPadWidget.cpp.


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