Open 3D Engine AzQtComponents 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.
AzQtComponents::PaletteCardBase Class Reference

Inherits QWidget.

Inherited by AzQtComponents::PaletteCard, and AzQtComponents::QuickPaletteCard.

Signals

void contextMenuRequested (const QPoint &position)
 

Public Member Functions

QSharedPointer< Palettepalette () const
 
void setSwatchSize (const QSize &size)
 
void setGammaEnabled (bool enabled)
 
void setGamma (qreal gamma)
 
void tryAdd (const AZ::Color &color)
 
bool contains (const AZ::Color &color) const
 
void setContentsMargins (const QMargins &margins)
 

Protected Member Functions

 PaletteCardBase (QSharedPointer< Palette > palette, Internal::ColorController *controller, QUndoStack *undoStack, QWidget *parent=nullptr)
 

Protected Attributes

bool m_modified
 
AZ_PUSH_DISABLE_DLL_EXPORT_MEMBER_WARNING QSharedPointer< Palettem_palette
 
AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING CardHeaderm_header
 
PaletteViewm_paletteView
 
QLayout * m_contentsLayout
 

Properties

QSharedPointer< Palettepalette
 

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