#include <GraphicsView_Object.h>
|
| GraphicsView_Object (QGraphicsItem *theParent=0) |
|
| ~GraphicsView_Object () |
|
virtual void | compute ()=0 |
|
virtual void | addTo (GraphicsView_ViewPort *theViewPort) |
|
virtual void | removeFrom (GraphicsView_ViewPort *theViewPort) |
|
const QString & | getName () const |
|
virtual void | setName (const QString &theName) |
|
virtual int | getPriority () const |
|
virtual bool | isOnTop () const |
|
virtual void | setIsOnTop (bool theIsOnTop) |
|
virtual bool | hasSpecificZValue () const |
|
virtual bool | isSelectable () const |
|
virtual bool | isMovable () const |
|
virtual void | setMovable (bool theMovable) |
|
virtual QRectF | getRect () const |
|
virtual bool | checkHighlight (double theX, double theY, QCursor &theCursor) const |
|
virtual bool | highlight (double theX, double theY) |
|
virtual void | unhighlight () |
|
virtual bool | isHighlighted () const |
|
virtual bool | select (double theX, double theY, const QRectF &theRect) |
|
virtual void | unselect () |
|
virtual bool | isSelected () const |
|
virtual void | setSelected (bool theState) |
|
virtual void | move (double theDX, double theDY, bool theIsAtOnce=false) |
|
virtual bool | finishMove (bool theStatus) |
|
virtual bool | isMoving () const |
|
virtual bool | isMovingByXAllowed (double theDX) |
|
virtual bool | isMovingByYAllowed (double theDY) |
|
virtual bool | updateScale (bool theIsScaleUp, bool theIsCtrl) |
|
virtual QRectF | getPullingRect () const |
|
virtual bool | portContains (const QPointF &) |
|
virtual bool | startPulling (const QPointF &) |
|
virtual void | pull (const QPointF &, GraphicsView_Object *, const GraphicsView_ObjectList &) |
|
virtual void | finishPulling (bool, const GraphicsView_ObjectList &) |
|
virtual bool | isPulling () |
|
virtual bool | handleMousePress (QGraphicsSceneMouseEvent *) |
|
virtual bool | handleMouseMove (QGraphicsSceneMouseEvent *) |
|
virtual bool | handleMouseRelease (QGraphicsSceneMouseEvent *) |
|
virtual QTransform | getViewTransform () const |
|
virtual void | setViewTransform (const QTransform &theTransform) |
|
GraphicsView_Object::GraphicsView_Object |
( |
QGraphicsItem * |
theParent = 0 | ) |
|
GraphicsView_Object::~GraphicsView_Object |
( |
| ) |
|
bool GraphicsView_Object::checkHighlight |
( |
double |
theX, |
|
|
double |
theY, |
|
|
QCursor & |
theCursor |
|
) |
| const |
|
virtual |
virtual void GraphicsView_Object::compute |
( |
| ) |
|
|
pure virtual |
bool GraphicsView_Object::finishMove |
( |
bool |
theStatus | ) |
|
|
virtual |
const QString& GraphicsView_Object::getName |
( |
| ) |
const |
|
inline |
virtual int GraphicsView_Object::getPriority |
( |
| ) |
const |
|
inlinevirtual |
virtual QRectF GraphicsView_Object::getPullingRect |
( |
| ) |
const |
|
inlinevirtual |
QRectF GraphicsView_Object::getRect |
( |
| ) |
const |
|
virtual |
virtual QTransform GraphicsView_Object::getViewTransform |
( |
| ) |
const |
|
inlinevirtual |
virtual bool GraphicsView_Object::handleMouseMove |
( |
QGraphicsSceneMouseEvent * |
| ) |
|
|
inlinevirtual |
virtual bool GraphicsView_Object::handleMousePress |
( |
QGraphicsSceneMouseEvent * |
| ) |
|
|
inlinevirtual |
virtual bool GraphicsView_Object::handleMouseRelease |
( |
QGraphicsSceneMouseEvent * |
| ) |
|
|
inlinevirtual |
virtual bool GraphicsView_Object::hasSpecificZValue |
( |
| ) |
const |
|
inlinevirtual |
bool GraphicsView_Object::highlight |
( |
double |
theX, |
|
|
double |
theY |
|
) |
| |
|
virtual |
virtual bool GraphicsView_Object::isHighlighted |
( |
| ) |
const |
|
inlinevirtual |
virtual bool GraphicsView_Object::isMovable |
( |
| ) |
const |
|
inlinevirtual |
virtual bool GraphicsView_Object::isMoving |
( |
| ) |
const |
|
inlinevirtual |
virtual bool GraphicsView_Object::isMovingByXAllowed |
( |
double |
theDX | ) |
|
|
inlinevirtual |
virtual bool GraphicsView_Object::isMovingByYAllowed |
( |
double |
theDY | ) |
|
|
inlinevirtual |
virtual bool GraphicsView_Object::isOnTop |
( |
| ) |
const |
|
inlinevirtual |
virtual bool GraphicsView_Object::isPulling |
( |
| ) |
|
|
inlinevirtual |
virtual bool GraphicsView_Object::isSelectable |
( |
| ) |
const |
|
inlinevirtual |
virtual bool GraphicsView_Object::isSelected |
( |
| ) |
const |
|
inlinevirtual |
void GraphicsView_Object::move |
( |
double |
theDX, |
|
|
double |
theDY, |
|
|
bool |
theIsAtOnce = false |
|
) |
| |
|
virtual |
virtual bool GraphicsView_Object::portContains |
( |
const QPointF & |
| ) |
|
|
inlinevirtual |
bool GraphicsView_Object::select |
( |
double |
theX, |
|
|
double |
theY, |
|
|
const QRectF & |
theRect |
|
) |
| |
|
virtual |
virtual void GraphicsView_Object::setIsOnTop |
( |
bool |
theIsOnTop | ) |
|
|
inlinevirtual |
virtual void GraphicsView_Object::setMovable |
( |
bool |
theMovable | ) |
|
|
inlinevirtual |
void GraphicsView_Object::setName |
( |
const QString & |
theName | ) |
|
|
virtual |
virtual void GraphicsView_Object::setSelected |
( |
bool |
theState | ) |
|
|
inlinevirtual |
void GraphicsView_Object::setViewTransform |
( |
const QTransform & |
theTransform | ) |
|
|
virtual |
virtual bool GraphicsView_Object::startPulling |
( |
const QPointF & |
| ) |
|
|
inlinevirtual |
void GraphicsView_Object::unhighlight |
( |
| ) |
|
|
virtual |
void GraphicsView_Object::unselect |
( |
| ) |
|
|
virtual |
virtual bool GraphicsView_Object::updateScale |
( |
bool |
theIsScaleUp, |
|
|
bool |
theIsCtrl |
|
) |
| |
|
inlinevirtual |
bool GraphicsView_Object::myIsHighlighted |
|
protected |
bool GraphicsView_Object::myIsMovable |
|
protected |
bool GraphicsView_Object::myIsMoving |
|
protected |
bool GraphicsView_Object::myIsOnTop |
|
protected |
bool GraphicsView_Object::myIsSelected |
|
protected |
QString GraphicsView_Object::myName |
|
protected |
int GraphicsView_Object::myPriority |
|
protected |
QTransform GraphicsView_Object::myViewTransform |
|
protected |
The documentation for this class was generated from the following files: