YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
LineHandle Class Reference

#include </home/runner/work/yarp-documentation/yarp-documentation/yarp/src/guis/yarpmanager/src-builder/arrow.h>

+ Inheritance diagram for LineHandle:

Public Member Functions

 LineHandle (QPointF center, Arrow *parent=0)
 
 ~LineHandle ()
 
QPointF handlePoint ()
 
int type () const override
 

Protected Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) override
 
QVariant itemChange (GraphicsItemChange change, const QVariant &value) override
 
QPointF computeTopLeftGridPoint (const QPointF &pointP)
 

Detailed Description

Definition at line 182 of file arrow.h.

Constructor & Destructor Documentation

◆ LineHandle()

LineHandle::LineHandle ( QPointF  center,
Arrow parent = 0 
)

Definition at line 531 of file arrow.cpp.

◆ ~LineHandle()

LineHandle::~LineHandle ( )
default

Member Function Documentation

◆ computeTopLeftGridPoint()

QPointF LineHandle::computeTopLeftGridPoint ( const QPointF &  pointP)
protected

Definition at line 554 of file arrow.cpp.

◆ handlePoint()

QPointF LineHandle::handlePoint ( )

Definition at line 562 of file arrow.cpp.

◆ itemChange()

QVariant LineHandle::itemChange ( GraphicsItemChange  change,
const QVariant &  value 
)
overrideprotected

Definition at line 613 of file arrow.cpp.

◆ mouseMoveEvent()

void LineHandle::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected

Definition at line 588 of file arrow.cpp.

◆ mousePressEvent()

void LineHandle::mousePressEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected

Definition at line 567 of file arrow.cpp.

◆ mouseReleaseEvent()

void LineHandle::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected

Definition at line 604 of file arrow.cpp.

◆ paint()

void LineHandle::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = 0 
)
overrideprotected

Definition at line 687 of file arrow.cpp.

◆ type()

int LineHandle::type ( ) const
inlineoverride

Definition at line 188 of file arrow.h.


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