Open 3D Engine AzQtComponents API Reference  2305.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzQtComponents::RGBColorValidator Class Reference

#include <ColorValidator.h>

Inherits AzQtComponents::ColorValidator.

Public Member Functions

bool isValid (const Internal::ColorController *controller) override
 Returns true if the input color is valid, false otherwise. False will trigger adjust to be called.
 
void adjust (Internal::ColorController *controller) override
 Returns color adjusted to something acceptable.
 
void warn () override
 Must emit colorWarning when called.
 
- Public Member Functions inherited from AzQtComponents::ColorValidator
 ColorValidator (QObject *parent=nullptr)
 
void acceptColor ()
 Emits the colorAccepted signal.
 

Additional Inherited Members

- Signals inherited from AzQtComponents::ColorValidator
void colorWarning (const QString &message)
 
void colorAccepted ()
 

Detailed Description

Validates that a color has full alpha in the alpha channel


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