TransitionLabel Class Reference

#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/view/TransitionItem.h>

+ Inheritance diagram for TransitionLabel:

Public Member Functions

qreal baseFontPointSize () const
 
qreal fontPointSize () const
 
bool getHovering () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
void setBaseFontPointSize (qreal newFontSize)
 
void setEnlargedFontPointSize (qreal newFontSize)
 
void setFontPointSize (qreal newFontSize)
 
void setHovering (bool hovering)
 
 TransitionLabel (QString labelText, QGraphicsItem *parent=0)
 
- Public Member Functions inherited from MorphingItem
virtual LevelOfDetail getLevelOfDetail (float levelOfDetail) const
 
virtual LevelOfDetail getLevelOfDetail (QPainter *painter) const
 
virtual LevelOfDetail getLevelOfDetailByParent (QPainter *painter, MorphingItem *parent) const
 
 MorphingItem (QGraphicsItem *derivedItem)
 

Protected Attributes

QPropertyAnimation animation
 
qreal fontBasePointSize
 
qreal fontEnlargedPointSize
 
bool hovering
 

Properties

qreal fontPointSize
 

Additional Inherited Members

- Static Public Member Functions inherited from MorphingItem
static QGraphicsView * getView (QGraphicsSceneEvent *event)
 
- Static Public Attributes inherited from MorphingItem
static constexpr float hideOnHighDeZoomThreshold = 10.f
 
static constexpr float minSizeToShowSubstates = 70.f
 

Detailed Description

Definition at line 115 of file TransitionItem.h.

Constructor & Destructor Documentation

◆ TransitionLabel()

TransitionLabel ( QString  labelText,
QGraphicsItem *  parent = 0 
)

Definition at line 803 of file TransitionItem.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ baseFontPointSize()

qreal baseFontPointSize ( ) const

Definition at line 853 of file TransitionItem.cpp.

+ Here is the caller graph for this function:

◆ fontPointSize()

qreal fontPointSize ( ) const

◆ getHovering()

bool getHovering ( ) const

Definition at line 896 of file TransitionItem.cpp.

◆ paint()

void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
override

Definition at line 815 of file TransitionItem.cpp.

+ Here is the call graph for this function:

◆ setBaseFontPointSize()

void setBaseFontPointSize ( qreal  newFontSize)

Definition at line 858 of file TransitionItem.cpp.

+ Here is the caller graph for this function:

◆ setEnlargedFontPointSize()

void setEnlargedFontPointSize ( qreal  newFontSize)

Definition at line 871 of file TransitionItem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setFontPointSize()

void setFontPointSize ( qreal  newFontSize)

Definition at line 864 of file TransitionItem.cpp.

+ Here is the caller graph for this function:

◆ setHovering()

void setHovering ( bool  hovering)

Definition at line 876 of file TransitionItem.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ animation

QPropertyAnimation animation
protected

Definition at line 135 of file TransitionItem.h.

◆ fontBasePointSize

qreal fontBasePointSize
protected

Definition at line 137 of file TransitionItem.h.

◆ fontEnlargedPointSize

qreal fontEnlargedPointSize
protected

Definition at line 138 of file TransitionItem.h.

◆ hovering

bool hovering
protected

Definition at line 136 of file TransitionItem.h.

Property Documentation

◆ fontPointSize

qreal fontPointSize
readwrite

Definition at line 121 of file TransitionItem.h.


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