#include <GraphicsView_ViewTransformer.h>
Enumerator |
---|
Begin |
|
InProcess |
|
Finished |
|
GraphicsView_ViewTransformer::GraphicsView_ViewTransformer |
( |
GraphicsView_Viewer * |
v, |
|
|
int |
type |
|
) |
| |
GraphicsView_ViewTransformer::~GraphicsView_ViewTransformer |
( |
| ) |
|
static int GraphicsView_ViewTransformer::accelKey |
( |
| ) |
|
|
inlinestatic |
void GraphicsView_ViewTransformer::drawRect |
( |
const QRectF & |
theRect | ) |
|
|
protected |
void GraphicsView_ViewTransformer::endDrawRect |
( |
| ) |
|
|
protected |
bool GraphicsView_ViewTransformer::eventFilter |
( |
QObject * |
o, |
|
|
QEvent * |
e |
|
) |
| |
|
virtual |
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().
static int GraphicsView_ViewTransformer::fitRectButton |
( |
| ) |
|
|
inlinestatic |
void GraphicsView_ViewTransformer::initTransform |
( |
bool |
init | ) |
|
|
protected |
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().
static int GraphicsView_ViewTransformer::panButton |
( |
| ) |
|
|
inlinestatic |
static int GraphicsView_ViewTransformer::panGlobalButton |
( |
| ) |
|
|
inlinestatic |
static void GraphicsView_ViewTransformer::setAccelKey |
( |
int |
k | ) |
|
|
inlinestatic |
static void GraphicsView_ViewTransformer::setFitRectButton |
( |
int |
b | ) |
|
|
inlinestatic |
static void GraphicsView_ViewTransformer::setPanButton |
( |
int |
b | ) |
|
|
inlinestatic |
static void GraphicsView_ViewTransformer::setPanGlobalButton |
( |
int |
b | ) |
|
|
inlinestatic |
static void GraphicsView_ViewTransformer::setZoomButton |
( |
int |
b | ) |
|
|
inlinestatic |
int GraphicsView_ViewTransformer::type |
( |
| ) |
const |
static int GraphicsView_ViewTransformer::zoomButton |
( |
| ) |
|
|
inlinestatic |
int GraphicsView_ViewTransformer::acccelKey = Qt::ControlModifier |
|
staticprotected |
int GraphicsView_ViewTransformer::fitRectBtn = Qt::LeftButton |
|
staticprotected |
int GraphicsView_ViewTransformer::myButtonState |
|
protected |
QPointF GraphicsView_ViewTransformer::myCurr |
|
protected |
int GraphicsView_ViewTransformer::myMajorBtn |
|
protected |
QRubberBand* GraphicsView_ViewTransformer::myRectBand |
|
protected |
QCursor GraphicsView_ViewTransformer::mySavedCursor |
|
protected |
bool GraphicsView_ViewTransformer::mySavedMouseTrack |
|
protected |
QPointF GraphicsView_ViewTransformer::myStart |
|
protected |
int GraphicsView_ViewTransformer::myType |
|
protected |
int GraphicsView_ViewTransformer::panBtn = Qt::MidButton |
|
staticprotected |
int GraphicsView_ViewTransformer::panGlobalBtn = Qt::LeftButton |
|
staticprotected |
int GraphicsView_ViewTransformer::zoomBtn = Qt::LeftButton |
|
staticprotected |
The documentation for this class was generated from the following files: