QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
PreviewStripItem Class Reference

#include <terminalstriplayouteditor.h>

Inherits QGraphicsItem.

Collaboration diagram for PreviewStripItem:
Collaboration graph

Public Member Functions

 PreviewStripItem (QSharedPointer< TerminalStripLayoutPattern > layout)
 
QRectF boundingRect () const override
 

Protected Member Functions

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

Private Attributes

TerminalStripDrawer::TerminalStripDrawer m_drawer
 

Friends

class TerminalStripLayoutEditor
 

Constructor & Destructor Documentation

◆ PreviewStripItem()

PreviewStripItem::PreviewStripItem ( QSharedPointer< TerminalStripLayoutPattern layout)
inline

Member Function Documentation

◆ boundingRect()

QRectF PreviewStripItem::boundingRect ( ) const
inlineoverride
Here is the caller graph for this function:

◆ paint()

void PreviewStripItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = nullptr 
)
inlineoverrideprotected

Friends And Related Symbol Documentation

◆ TerminalStripLayoutEditor

friend class TerminalStripLayoutEditor
friend

Member Data Documentation

◆ m_drawer

TerminalStripDrawer::TerminalStripDrawer PreviewStripItem::m_drawer
private

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