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

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

+ Inheritance diagram for Label:

Public Member Functions

 Label (QString label, QGraphicsItem *parent=0)
 
 ~Label ()
 
int type () const override
 
bool hasBeenMoved ()
 
void setHasMoved (bool)
 
void currentComboTextChanged (QString text)
 
QString labelText ()
 
void setText (QString)
 

Protected Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) override
 
QVariant itemChange (GraphicsItemChange change, const QVariant &value) override
 
QPointF computeTopLeftGridPoint (const QPointF &pointP)
 

Protected Attributes

QGraphicsProxyWidget * comboWidget
 
QString text
 
ItemSignalHandlersigHandler
 
bool moved
 
bool hasMoved
 
bool pressed
 
ArrowparentArrow
 
QPointF offset
 

Detailed Description

Definition at line 73 of file arrow.h.

Constructor & Destructor Documentation

◆ Label()

Label::Label ( QString  label,
QGraphicsItem *  parent = 0 
)

Definition at line 707 of file arrow.cpp.

◆ ~Label()

Label::~Label ( )
default

Member Function Documentation

◆ computeTopLeftGridPoint()

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

Definition at line 838 of file arrow.cpp.

◆ currentComboTextChanged()

void Label::currentComboTextChanged ( QString  text)

Definition at line 766 of file arrow.cpp.

◆ hasBeenMoved()

bool Label::hasBeenMoved ( )

Definition at line 747 of file arrow.cpp.

◆ itemChange()

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

Definition at line 813 of file arrow.cpp.

◆ labelText()

QString Label::labelText ( )

Definition at line 752 of file arrow.cpp.

◆ mouseDoubleClickEvent()

void Label::mouseDoubleClickEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected

Definition at line 771 of file arrow.cpp.

◆ mouseMoveEvent()

void Label::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected

Definition at line 803 of file arrow.cpp.

◆ mousePressEvent()

void Label::mousePressEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected

Definition at line 783 of file arrow.cpp.

◆ mouseReleaseEvent()

void Label::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected

Definition at line 789 of file arrow.cpp.

◆ setHasMoved()

void Label::setHasMoved ( bool  moved)

Definition at line 742 of file arrow.cpp.

◆ setText()

void Label::setText ( QString  label)

Definition at line 756 of file arrow.cpp.

◆ type()

int Label::type ( ) const
inlineoverride

Definition at line 78 of file arrow.h.

Member Data Documentation

◆ comboWidget

QGraphicsProxyWidget* Label::comboWidget
protected

Definition at line 94 of file arrow.h.

◆ hasMoved

bool Label::hasMoved
protected

Definition at line 98 of file arrow.h.

◆ moved

bool Label::moved
protected

Definition at line 97 of file arrow.h.

◆ offset

QPointF Label::offset
protected

Definition at line 101 of file arrow.h.

◆ parentArrow

Arrow* Label::parentArrow
protected

Definition at line 100 of file arrow.h.

◆ pressed

bool Label::pressed
protected

Definition at line 99 of file arrow.h.

◆ sigHandler

ItemSignalHandler* Label::sigHandler
protected

Definition at line 96 of file arrow.h.

◆ text

QString Label::text
protected

Definition at line 95 of file arrow.h.


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