|
enum | ColorRepresentation { Integer,
FloatingPoint,
Hexadecimal
} |
|
|
| ColorLineEdit (QWidget *parent=nullptr) |
|
void | setColor (ivec3 v, ColorRepresentation rep=ColorRepresentation::Integer) |
|
void | setColor (ivec4 v, ColorRepresentation rep=ColorRepresentation::Integer) |
|
void | setColor (vec3 v, ColorRepresentation rep=ColorRepresentation::FloatingPoint) |
|
void | setColor (vec4 v, ColorRepresentation rep=ColorRepresentation::FloatingPoint) |
|
void | setColor (dvec3 v, ColorRepresentation rep=ColorRepresentation::FloatingPoint) |
|
void | setColor (dvec4 v, ColorRepresentation rep=ColorRepresentation::FloatingPoint) |
|
template<typename T > |
T | getColor () const |
|
dvec4 | getColor () const |
|
bool | hasAlpha () const |
|
void | setRepresentation (ColorRepresentation rep) |
|
ColorRepresentation | getRepresentation () const |
|
template<> |
dvec3 | getColor () const |
|
template<> |
dvec4 | getColor () const |
|
template<> |
dvec3 | getColor () const |
|
template<> |
dvec4 | getColor () const |
|
|
virtual void | changeEvent (QEvent *event) override |
|
virtual void | focusInEvent (QFocusEvent *event) override |
|
virtual void | focusOutEvent (QFocusEvent *event) override |
|
virtual void | keyPressEvent (QKeyEvent *event) override |
|
The documentation for this class was generated from the following files:
- colorlineedit.h
- colorlineedit.cpp