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

Inherits AzQtComponents::PaletteCardBase.

Signals

void titleChanged (const QString &title)
 
void modifiedChanged (bool modified)
 
void removeClicked ()
 
void saveClicked ()
 
void saveAsClicked ()
 
- Signals inherited from AzQtComponents::PaletteCardBase
void contextMenuRequested (const QPoint &position)
 

Public Member Functions

 PaletteCard (QSharedPointer< Palette > palette, Internal::ColorController *controller, QUndoStack *undoStack, QWidget *parent=nullptr)
 
QString title () const
 
void setTitle (const QString &title)
 
bool modified () const
 
void setModified (bool modified)
 
void setExpanded (bool expanded)
 
bool isExpanded () const
 
- Public Member Functions inherited from AzQtComponents::PaletteCardBase
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)
 

Properties

QString title
 
bool modified
 
- Properties inherited from AzQtComponents::PaletteCardBase
QSharedPointer< Palettepalette
 

Additional Inherited Members

- Protected Member Functions inherited from AzQtComponents::PaletteCardBase
 PaletteCardBase (QSharedPointer< Palette > palette, Internal::ColorController *controller, QUndoStack *undoStack, QWidget *parent=nullptr)
 
- Protected Attributes inherited from AzQtComponents::PaletteCardBase
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
 

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