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

Inherits QWidget.

Public Slots

void setGammaEnabled (bool enabled)
 
void setGamma (qreal gamma)
 

Signals

void removePaletteClicked (QSharedPointer< PaletteCard > card)
 
void savePaletteClicked (QSharedPointer< PaletteCard > card)
 
void savePaletteAsClicked (QSharedPointer< PaletteCard > card)
 
void paletteCountChanged ()
 

Public Member Functions

 PaletteCardCollection (Internal::ColorController *colorController, QUndoStack *undoStack, QWidget *parent=nullptr)
 
QSharedPointer< PaletteCardmakeCard (QSharedPointer< Palette > palette, const QString &title)
 
void addCard (QSharedPointer< PaletteCard > card)
 
void removeCard (QSharedPointer< PaletteCard > card)
 
bool containsCard (QSharedPointer< PaletteCard > card) const
 
void setSwatchSize (const QSize &size)
 
int count () const
 
bool isEmpty () const
 
QSharedPointer< PaletteCardpaletteCard (int index) const
 
int indexOf (const QSharedPointer< PaletteCard > &card) const
 
void moveUp (QSharedPointer< PaletteCard > &card)
 
bool canMoveUp (QSharedPointer< PaletteCard > &card)
 
void moveDown (QSharedPointer< PaletteCard > &card)
 
bool canMoveDown (QSharedPointer< PaletteCard > &card)
 
void setCardContentMargins (const QMargins &margins)
 

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