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

The QGraphicsWidget for displaying the comment text. More...

#include <CommentTextGraphicsWidget.h>

Inherits QGraphicsWidget, CommentLayoutRequestBus::Handler, CommentUIRequestBus::Handler, and StyleNotificationBus::Handler.

Public Member Functions

 AZ_TYPE_INFO (CommentTextGraphicsWidget, "{1779F401-6A9F-42A8-B4B7-F7732DBEC462}")
 
 AZ_CLASS_ALLOCATOR (CommentTextGraphicsWidget, AZ::SystemAllocator)
 
 CommentTextGraphicsWidget (const AZ::EntityId &targetId)
 
void Activate ()
 
void Deactivate ()
 
void OnAddedToScene ()
 
void SetStyle (const AZStd::string &style)
 
void UpdateLayout ()
 
void UpdateStyles ()
 
void RefreshDisplay ()
 
void SetComment (const AZStd::string &comment)
 
AZStd::string GetComment () const
 
Styling::StyleHelperGetStyleHelper ()
 
const Styling::StyleHelperGetStyleHelper () const
 
void SetCommentMode (CommentMode commentMode)
 
CommentMode GetCommentMode () const
 
void SetEditable (bool editable) override
 
QGraphicsLayoutItem * GetGraphicsLayoutItem () override
 
void OnStyleChanged () override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)=delete
 

Protected Member Functions

void UpdateSizing ()
 
void SubmitValue ()
 
void UpdateSizePolicies ()
 
bool sceneEventFilter (QGraphicsItem *, QEvent *event) override
 
const AZ::EntityId & GetEntityId () const
 
void SetupProxyWidget ()
 
void CleanupProxyWidget ()
 

Detailed Description

The QGraphicsWidget for displaying the comment text.


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