Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickcolorinputs.cpp File Reference

(01cd43d30e3ca2c4dd94a4a4711604adb9417517)

#include "qquickcolorinputs_p.h"
#include <functional>
#include <QtCore/qloggingcategory.h>
#include <QtCore/QRegularExpression>
#include <QtGui/QValidator>
#include <QtQuickTemplates2/private/qquickcontainer_p_p.h>
#include "moc_qquickcolorinputs_p.cpp"
Include dependency graph for qquickcolorinputs.cpp:

Go to the source code of this file.

Classes

class  QQuickColorInputsPrivate

Variables

static const QString s_percentage_pattern = QString::fromUtf8("^(\\d+)%?$")
static const QString s_degree_pattern = QString::fromUtf8("(\\d+)°?$")
static const QString s_rgba_pattern = QString::fromUtf8("^#[0-9A-f]{6}(?:[0-9A-f]{2})?$")
static const QString s_rgb_pattern = QString::fromUtf8("^#[0-9A-f]{6}$")

Variable Documentation

◆ s_degree_pattern

const QString s_degree_pattern = QString::fromUtf8("(\\d+)°?$")
static

Definition at line 207 of file qquickcolorinputs.cpp.

Referenced by QQuickColorInputsPrivate::handleHueInput().

◆ s_percentage_pattern

◆ s_rgb_pattern

const QString s_rgb_pattern = QString::fromUtf8("^#[0-9A-f]{6}$")
static

Definition at line 209 of file qquickcolorinputs.cpp.

◆ s_rgba_pattern

const QString s_rgba_pattern = QString::fromUtf8("^#[0-9A-f]{6}(?:[0-9A-f]{2})?$")
static

Definition at line 208 of file qquickcolorinputs.cpp.