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

#include "GraphicsConnectionPreviewItem.h"

Inheritance diagram for ot::GraphicsConnectionPreviewItem:

Public Member Functions

 GraphicsConnectionPreviewItem ()
 
virtual ~GraphicsConnectionPreviewItem ()
 
virtual QRectF boundingRect (void) const override
 
virtual void paint (QPainter *_painter, const QStyleOptionGraphicsItem *_opt, QWidget *_widget) override
 
void setConnectionShape (ot::GraphicsConnectionCfg::ConnectionShape _shape)
 
ot::GraphicsConnectionCfg::ConnectionShape getConnectionShape (void) const
 
void setOriginPos (const QPointF &_origin)
 
QPointF originPos (void) const
 
void setOriginDir (ot::ConnectionDirection _direction)
 
ot::ConnectionDirection originDir (void) const
 
void setDestPos (const QPointF &_dest)
 
QPointF destPos (void) const
 
void setDestDir (ot::ConnectionDirection _direction)
 
ot::ConnectionDirection destDir (void) const
 

Constructor & Destructor Documentation

◆ GraphicsConnectionPreviewItem()

ot::GraphicsConnectionPreviewItem::GraphicsConnectionPreviewItem ( )

◆ ~GraphicsConnectionPreviewItem()

ot::GraphicsConnectionPreviewItem::~GraphicsConnectionPreviewItem ( )
virtual

Member Function Documentation

◆ boundingRect()

QRectF ot::GraphicsConnectionPreviewItem::boundingRect ( void ) const
overridevirtual

◆ destDir()

ot::ConnectionDirection ot::GraphicsConnectionPreviewItem::destDir ( void ) const
inline

◆ destPos()

QPointF ot::GraphicsConnectionPreviewItem::destPos ( void ) const
inline

◆ getConnectionShape()

ot::GraphicsConnectionCfg::ConnectionShape ot::GraphicsConnectionPreviewItem::getConnectionShape ( void ) const
inline

◆ originDir()

ot::ConnectionDirection ot::GraphicsConnectionPreviewItem::originDir ( void ) const
inline

◆ originPos()

QPointF ot::GraphicsConnectionPreviewItem::originPos ( void ) const
inline

◆ paint()

void ot::GraphicsConnectionPreviewItem::paint ( QPainter * _painter,
const QStyleOptionGraphicsItem * _opt,
QWidget * _widget )
overridevirtual

◆ setConnectionShape()

void ot::GraphicsConnectionPreviewItem::setConnectionShape ( ot::GraphicsConnectionCfg::ConnectionShape _shape)

◆ setDestDir()

void ot::GraphicsConnectionPreviewItem::setDestDir ( ot::ConnectionDirection _direction)

◆ setDestPos()

void ot::GraphicsConnectionPreviewItem::setDestPos ( const QPointF & _dest)

◆ setOriginDir()

void ot::GraphicsConnectionPreviewItem::setOriginDir ( ot::ConnectionDirection _direction)

◆ setOriginPos()

void ot::GraphicsConnectionPreviewItem::setOriginPos ( const QPointF & _origin)

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