4#ifndef QQUICKCOLORINPUTS_P_H
5#define QQUICKCOLORINPUTS_P_H
18#include <QtGui/qcolor.h>
19#include <QtQuick/private/qquickitem_p.h>
20#include <QtQuickTemplates2/private/qquicktextfield_p.h>
41 Q_PROPERTY(
bool showAlpha READ showAlpha WRITE setShowAlpha NOTIFY showAlphaChanged)
48 Q_PROPERTY(
QQuickTextInput *hsvSaturationInput READ hsvSaturationInput WRITE setHsvSaturationInput NOTIFY hsvSaturationInputChanged)
49 Q_PROPERTY(
QQuickTextInput *hslSaturationInput READ hslSaturationInput WRITE setHslSaturationInput NOTIFY hslSaturationInputChanged)
67 qreal hslSaturation()
const;
68 qreal hsvSaturation()
const;
70 qreal lightness()
const;
72 bool showAlpha()
const;
73 void setShowAlpha(
bool showAlpha);
134 void handleHexChanged();
135 void handleRedChanged();
136 void handleGreenChanged();
137 void handleBlueChanged();
138 void handleHsvHueChanged();
139 void handleHslHueChanged();
141 void handleHsvSaturationChanged();
142 void handleHslSaturationChanged();
144 void handleValueChanged();
145 void handleLightnessChanged();
146 void handleRgbAlphaChanged();
147 void handleHsvAlphaChanged();
148 void handleHslAlphaChanged();
165 bool m_showAlpha =
false;
The QColor class provides colors based on RGB, HSV or CMYK values.
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLfloat GLfloat GLfloat alpha
GLenum GLenum GLenum input
#define QML_NAMED_ELEMENT(NAME)
myFilter setColor(QColor(128, 0, 0))