Open 3D Engine AzQtComponents API Reference 26.05.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< Palette > palette () 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
 
QSharedPointer< Palette > m_palette
 
CardHeader * m_header
 
PaletteView * m_paletteView
 
QLayout * m_contentsLayout
 

Properties

QSharedPointer< Palette > palette
 

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