Loading...
Searching...
No Matches
Inheritance diagram for Gfx::DesktopLayoutItem:

Public Member Functions

 DesktopLayoutItem (int index, const QRectF &rect, DesktopLayoutCanvas *canvas, QGraphicsItem *parent=nullptr)
 
int outputIndex () const noexcept
 
void setOutputIndex (int idx)
 
void applyLockedState ()
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 

Public Attributes

OutputLockMode lockMode {OutputLockMode::Free}
 
double aspectRatio {16.0 / 9.0}
 
std::function< void()> onChanged
 

Protected Member Functions

QVariant itemChange (GraphicsItemChange change, const QVariant &value) override
 
void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 
void hoverMoveEvent (QGraphicsSceneHoverEvent *event) override
 

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