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.
|
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::StyleHelper & | GetStyleHelper () |
const Styling::StyleHelper & | GetStyleHelper () 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 |
The QGraphicsWidget for displaying the comment text.