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

Public Member Functions

 OutputMappingItem (int index, const QRectF &rect, OutputMappingCanvas *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

int screenIndex {-1}
 
QPoint windowPosition {0, 0}
 
QSize windowSize {1280, 720}
 
bool fullscreen {false}
 
EdgeBlend blendLeft
 
EdgeBlend blendRight
 
EdgeBlend blendTop
 
EdgeBlend blendBottom
 
CornerWarp cornerWarp
 
OutputLockMode lockMode {OutputLockMode::Free}
 
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: