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

#include <ColorValidator.h>

Inherits AzQtComponents::ColorValidator.

Public Member Functions

 HueSaturationValidator (float defaultV, QObject *parent=nullptr)
 
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 the 'value' field of a color is set to the default, as it must be in HueSaturation mode


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