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::GeneralNodeTitleGraphicsWidget Class Reference

The Title QGraphicsWidget for displaying a title. More...

#include <GeneralNodeTitleComponent.h>

Inherits QGraphicsWidget, GraphCanvas::SceneNotificationBus::Handler, SceneMemberNotificationBus::Handler, NodeNotificationBus::Handler, and RootGraphicsItemNotificationBus::Handler.

Public Member Functions

 AZ_TYPE_INFO (GeneralNodeTitleGraphicsWidget, "{9DE7D3C0-D88C-47D8-85D4-5E0F619E60CB}")
 
 AZ_CLASS_ALLOCATOR (GeneralNodeTitleGraphicsWidget, AZ::SystemAllocator)
 
 GeneralNodeTitleGraphicsWidget (const AZ::EntityId &entityId)
 
void Initialize ()
 
void Activate ()
 
void Deactivate ()
 
void SetDetails (const AZStd::string &title, const AZStd::string &subtitle)
 
void SetTitle (const AZStd::string &title)
 
void SetSubTitle (const AZStd::string &subtitle)
 
void SetPaletteOverride (AZStd::string_view paletteOverride)
 
void SetPaletteOverride (const AZ::Uuid &uuid)
 
void SetPaletteOverride (const QColor &color)
 
void ConfigureIconConfiguration (PaletteIconConfiguration &paletteConfiguration)
 
void ClearPaletteOverride ()
 
void UpdateLayout ()
 
void UpdateStyles ()
 
void RefreshDisplay ()
 
void OnStylesChanged () override
 
void OnAddedToScene (const AZ::EntityId &scene) override
 
void OnRemovedFromScene (const AZ::EntityId &scene) override
 
void OnTooltipChanged (const AZStd::string &tooltip) override
 
void OnEnabledChanged (RootGraphicsItemEnabledState enabledState) override
 

Protected Member Functions

void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override
 
const AZ::EntityId & GetEntityId () const
 

Detailed Description

The Title QGraphicsWidget for displaying a title.


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