OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::GraphicsFlowItemConnector Class Reference

#include "GraphicsFlowItemBuilder.h"

Public Types

enum  ConnectorFigure {
  Square , TriangleRight , TriangleLeft , TriangleUp ,
  TriangleDown , KiteRight , KiteLeft , KiteUp ,
  KiteDown , IceConeRight , IceConeLeft , IceConeUp ,
  IceConeDown , Circle
}
 

Public Member Functions

 GraphicsFlowItemConnector ()
 
 GraphicsFlowItemConnector (const GraphicsFlowItemConnector &_other)
 
virtual ~GraphicsFlowItemConnector ()
 
GraphicsFlowItemConnectoroperator= (const GraphicsFlowItemConnector &_other)
 
void setName (const std::string &_name)
 
const std::string & name (void) const
 
void setText (const std::string &_text)
 
const std::string & text (void) const
 
void setToolTip (const std::string &_toolTip)
 
const std::string & toolTip (void) const
 
void setFont (const ot::Font &_font)
 
const ot::Fontfont (void) const
 
void setTextColor (const ot::Color &_color)
 
const ot::ColortextColor (void) const
 
void setCustomPrimaryPainter (ot::Painter2D *_painter)
 Set custom primary painter. Connector takes ownership of the painter. Existing painter will be destroyed before replacing.
 
const ot::Painter2DgetCustomPrimaryPainter (void) const
 
void setCustomSecondaryPainter (ot::Painter2D *_painter)
 Set custom secondary painter. Connector takes ownership of the painter. Existing painter will be destroyed before replacing.
 
const ot::Painter2DgetCustomSecondaryPainter (void) const
 
void setFigure (GraphicsFlowItemConnector::ConnectorFigure _figure)
 
GraphicsFlowItemConnector::ConnectorFigure figure (void) const
 
void addToGrid (int _row, GraphicsGridLayoutItemCfg *_gridLayout, bool _isLeft)
 

Member Enumeration Documentation

◆ ConnectorFigure

Enumerator
Square 
TriangleRight 
TriangleLeft 
TriangleUp 
TriangleDown 
KiteRight 
KiteLeft 
KiteUp 
KiteDown 
IceConeRight 
IceConeLeft 
IceConeUp 
IceConeDown 
Circle 

Constructor & Destructor Documentation

◆ GraphicsFlowItemConnector() [1/2]

ot::GraphicsFlowItemConnector::GraphicsFlowItemConnector ( )

◆ GraphicsFlowItemConnector() [2/2]

ot::GraphicsFlowItemConnector::GraphicsFlowItemConnector ( const GraphicsFlowItemConnector & _other)

◆ ~GraphicsFlowItemConnector()

ot::GraphicsFlowItemConnector::~GraphicsFlowItemConnector ( )
virtual

Member Function Documentation

◆ addToGrid()

void ot::GraphicsFlowItemConnector::addToGrid ( int _row,
GraphicsGridLayoutItemCfg * _gridLayout,
bool _isLeft )

◆ figure()

GraphicsFlowItemConnector::ConnectorFigure ot::GraphicsFlowItemConnector::figure ( void ) const
inline

◆ font()

const ot::Font & ot::GraphicsFlowItemConnector::font ( void ) const
inline

◆ getCustomPrimaryPainter()

const ot::Painter2D * ot::GraphicsFlowItemConnector::getCustomPrimaryPainter ( void ) const
inline

◆ getCustomSecondaryPainter()

const ot::Painter2D * ot::GraphicsFlowItemConnector::getCustomSecondaryPainter ( void ) const
inline

◆ name()

const std::string & ot::GraphicsFlowItemConnector::name ( void ) const
inline

◆ operator=()

ot::GraphicsFlowItemConnector & ot::GraphicsFlowItemConnector::operator= ( const GraphicsFlowItemConnector & _other)

◆ setCustomPrimaryPainter()

void ot::GraphicsFlowItemConnector::setCustomPrimaryPainter ( ot::Painter2D * _painter)

Set custom primary painter. Connector takes ownership of the painter. Existing painter will be destroyed before replacing.

◆ setCustomSecondaryPainter()

void ot::GraphicsFlowItemConnector::setCustomSecondaryPainter ( ot::Painter2D * _painter)

Set custom secondary painter. Connector takes ownership of the painter. Existing painter will be destroyed before replacing.

◆ setFigure()

void ot::GraphicsFlowItemConnector::setFigure ( GraphicsFlowItemConnector::ConnectorFigure _figure)
inline

◆ setFont()

void ot::GraphicsFlowItemConnector::setFont ( const ot::Font & _font)
inline

◆ setName()

void ot::GraphicsFlowItemConnector::setName ( const std::string & _name)
inline

◆ setText()

void ot::GraphicsFlowItemConnector::setText ( const std::string & _text)
inline

◆ setTextColor()

void ot::GraphicsFlowItemConnector::setTextColor ( const ot::Color & _color)
inline

◆ setToolTip()

void ot::GraphicsFlowItemConnector::setToolTip ( const std::string & _toolTip)
inline

◆ text()

const std::string & ot::GraphicsFlowItemConnector::text ( void ) const
inline

◆ textColor()

const ot::Color & ot::GraphicsFlowItemConnector::textColor ( void ) const
inline

◆ toolTip()

const std::string & ot::GraphicsFlowItemConnector::toolTip ( void ) const
inline

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