#include <GraphicsView_ViewTransformer.h>
◆ TransformState
| Enumerator |
|---|
| Begin | |
| InProcess | |
| Finished | |
◆ GraphicsView_ViewTransformer()
| GraphicsView_ViewTransformer::GraphicsView_ViewTransformer |
( |
GraphicsView_Viewer * |
v, |
|
|
int |
type |
|
) |
| |
◆ ~GraphicsView_ViewTransformer()
| GraphicsView_ViewTransformer::~GraphicsView_ViewTransformer |
( |
| ) |
|
◆ accelKey()
| static int GraphicsView_ViewTransformer::accelKey |
( |
| ) |
|
|
inlinestatic |
◆ drawRect()
| void GraphicsView_ViewTransformer::drawRect |
( |
const QRectF & |
theRect | ) |
|
|
protected |
◆ endDrawRect()
| void GraphicsView_ViewTransformer::endDrawRect |
( |
| ) |
|
|
protected |
◆ eventFilter()
| bool GraphicsView_ViewTransformer::eventFilter |
( |
QObject * |
o, |
|
|
QEvent * |
e |
|
) |
| |
|
virtual |
◆ exec()
| void GraphicsView_ViewTransformer::exec |
( |
| ) |
|
|
virtual |
References Finished, GraphicsView_Viewer::FitAll, GraphicsView_ViewPort::fitAll(), GraphicsView_Viewer::FitRect, fitRectButton(), GraphicsView_Viewer::FitSelect, GraphicsView_ViewPort::fitSelect(), GraphicsView_Viewer::FitWidth, GraphicsView_ViewPort::fitWidth(), GraphicsView_Viewer::getActiveViewPort(), GraphicsView_ViewPort::getHandCursor(), GraphicsView_ViewPort::getPanCursor(), GraphicsView_ViewPort::getPanglCursor(), GraphicsView_ViewPort::getZoomCursor(), myMajorBtn, myType, myViewer, onTransform(), GraphicsView_Viewer::Pan, panButton(), GraphicsView_Viewer::PanGlobal, panGlobalButton(), GraphicsView_Viewer::Reset, GraphicsView_ViewPort::reset(), GraphicsView_Viewer::Zoom, and zoomButton().
◆ fitRectButton()
| static int GraphicsView_ViewTransformer::fitRectButton |
( |
| ) |
|
|
inlinestatic |
◆ initTransform()
| void GraphicsView_ViewTransformer::initTransform |
( |
bool |
init | ) |
|
|
protected |
◆ onTransform()
| void GraphicsView_ViewTransformer::onTransform |
( |
TransformState |
state | ) |
|
|
protectedvirtual |
References GraphicsView_Viewer::activateTransform(), drawRect(), Finished, GraphicsView_Viewer::FitRect, GraphicsView_ViewPort::fitRect(), GraphicsView_Viewer::getActiveViewPort(), GraphicsView_ViewPort::isTransforming(), myButtonState, myCurr, myMajorBtn, myStart, myType, myViewer, GraphicsView_Viewer::NoTransform, GraphicsView_Viewer::Pan, GraphicsView_ViewPort::pan(), GraphicsView_Viewer::PanGlobal, GraphicsView_ViewPort::setCenter(), GraphicsView_Viewer::Zoom, and GraphicsView_ViewPort::zoom().
◆ panButton()
| static int GraphicsView_ViewTransformer::panButton |
( |
| ) |
|
|
inlinestatic |
◆ panGlobalButton()
| static int GraphicsView_ViewTransformer::panGlobalButton |
( |
| ) |
|
|
inlinestatic |
◆ setAccelKey()
| static void GraphicsView_ViewTransformer::setAccelKey |
( |
int |
k | ) |
|
|
inlinestatic |
◆ setFitRectButton()
| static void GraphicsView_ViewTransformer::setFitRectButton |
( |
int |
b | ) |
|
|
inlinestatic |
◆ setPanButton()
| static void GraphicsView_ViewTransformer::setPanButton |
( |
int |
b | ) |
|
|
inlinestatic |
◆ setPanGlobalButton()
| static void GraphicsView_ViewTransformer::setPanGlobalButton |
( |
int |
b | ) |
|
|
inlinestatic |
◆ setZoomButton()
| static void GraphicsView_ViewTransformer::setZoomButton |
( |
int |
b | ) |
|
|
inlinestatic |
◆ type()
| int GraphicsView_ViewTransformer::type |
( |
| ) |
const |
◆ zoomButton()
| static int GraphicsView_ViewTransformer::zoomButton |
( |
| ) |
|
|
inlinestatic |
◆ acccelKey
| int GraphicsView_ViewTransformer::acccelKey = Qt::ControlModifier |
|
staticprotected |
◆ fitRectBtn
| int GraphicsView_ViewTransformer::fitRectBtn = Qt::LeftButton |
|
staticprotected |
◆ myButtonState
| int GraphicsView_ViewTransformer::myButtonState |
|
protected |
◆ myCurr
| QPointF GraphicsView_ViewTransformer::myCurr |
|
protected |
◆ myMajorBtn
| int GraphicsView_ViewTransformer::myMajorBtn |
|
protected |
◆ myRectBand
| QRubberBand* GraphicsView_ViewTransformer::myRectBand |
|
protected |
◆ mySavedCursor
| QCursor GraphicsView_ViewTransformer::mySavedCursor |
|
protected |
◆ mySavedMouseTrack
| bool GraphicsView_ViewTransformer::mySavedMouseTrack |
|
protected |
◆ myStart
| QPointF GraphicsView_ViewTransformer::myStart |
|
protected |
◆ myType
| int GraphicsView_ViewTransformer::myType |
|
protected |
◆ myViewer
◆ panBtn
| int GraphicsView_ViewTransformer::panBtn = Qt::MidButton |
|
staticprotected |
◆ panGlobalBtn
| int GraphicsView_ViewTransformer::panGlobalBtn = Qt::LeftButton |
|
staticprotected |
◆ zoomBtn
| int GraphicsView_ViewTransformer::zoomBtn = Qt::LeftButton |
|
staticprotected |
The documentation for this class was generated from the following files: