Open 3D Engine GraphCanvas Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
GraphCanvas::GraphCanvasCheckBox Class Reference

The GraphCanvasCheck gives a QGraphicsWidget that is a check box. More...

#include <GraphCanvasCheckBox.h>

Inherits QGraphicsWidget.

Public Member Functions

 AZ_CLASS_ALLOCATOR (GraphCanvasCheckBox, AZ::SystemAllocator)
 
 GraphCanvasCheckBox (QGraphicsItem *parent=nullptr)
 
void SetStyle (const AZ::EntityId &entityId, const char *style=Styling::Elements::CheckBox)
 
void SetSceneStyle (const AZ::EntityId &sceneId, const char *style=Styling::Elements::CheckBox)
 
void SetChecked (bool checked)
 
bool IsChecked () const
 

Protected Member Functions

void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override
 
void mousePressEvent (QGraphicsSceneMouseEvent *mmouseEvent) override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *mouseEvent) override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *mouseEvent) override
 
void hoverEnterEvent (QGraphicsSceneHoverEvent *hoverEvent) override
 
void hoverLeaveEvent (QGraphicsSceneHoverEvent *hoverEvent) override
 
QSizeF sizeHint (Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const override
 

Detailed Description

The GraphCanvasCheck gives a QGraphicsWidget that is a check box.


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