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
qcolordialog.cpp File Reference

(70d572aba304ed369b3463453ff3a30ad5b5c030)

#include "qcolordialog.h"
#include "qapplication.h"
#include "qdrawutil.h"
#include "qevent.h"
#include "qimage.h"
#include "qlabel.h"
#include "qlayout.h"
#include "qlineedit.h"
#include "qpainter.h"
#include "qpixmap.h"
#include "qpushbutton.h"
#include "qsharedpointer.h"
#include "qstyle.h"
#include "qstyleoption.h"
#include "qvalidator.h"
#include "qmimedata.h"
#include "qspinbox.h"
#include "qdialogbuttonbox.h"
#include "qscreen.h"
#include "qcursor.h"
#include "qtimer.h"
#include "qwindow.h"
#include "private/qdialog_p.h"
#include <qpa/qplatformintegration.h>
#include <qpa/qplatformservices.h>
#include <private/qguiapplication_p.h>
#include <QtCore/qpointer.h>
#include <algorithm>
#include "qcolordialog.moc"
#include "moc_qcolordialog.cpp"
Include dependency graph for qcolordialog.cpp:

Go to the source code of this file.

Classes

class  QColorDialogPrivate
class  QtPrivate::QWellArray
class  QtPrivate::QColorPickingEventFilter
class  QtPrivate::QColorWell
class  QtPrivate::QColorPicker
class  QtPrivate::QColorLuminancePicker
class  QtPrivate::QColSpinBox
class  QtPrivate::QColorShower
class  QtPrivate::QColorShowLabel

Namespaces

namespace  QtPrivate

Typedefs

using QColorLuminancePicker = QtPrivate::QColorLuminancePicker
using QColorPicker = QtPrivate::QColorPicker
using QColorShower = QtPrivate::QColorShower
using QWellArray = QtPrivate::QWellArray
using QColorWell = QtPrivate::QColorWell
using QColorPickingEventFilter = QtPrivate::QColorPickingEventFilter

Enumerations

enum  {
  colorColumns = 8 , standardColorRows = 6 , customColorRows = 2 , colorColumns = 8 ,
  standardColorRows = 6 , customColorRows = 2
}
enum  {
  colorColumns = 8 , standardColorRows = 6 , customColorRows = 2 , colorColumns = 8 ,
  standardColorRows = 6 , customColorRows = 2
}

Functions

static void rgb2hsv (QRgb rgb, int &h, int &s, int &v)

Variables

static int pWidth = 220
static int pHeight = 200
static const Qt::WindowFlags qcd_DefaultWindowFlags

Typedef Documentation

◆ QColorLuminancePicker

◆ QColorPicker

Definition at line 65 of file qcolordialog.cpp.

◆ QColorPickingEventFilter

◆ QColorShower

Definition at line 66 of file qcolordialog.cpp.

◆ QColorWell

Definition at line 68 of file qcolordialog.cpp.

◆ QWellArray

Definition at line 67 of file qcolordialog.cpp.

Enumeration Type Documentation

◆ anonymous enum [1/2]

anonymous enum
Enumerator
colorColumns 
standardColorRows 
customColorRows 
colorColumns 
standardColorRows 
customColorRows 

Definition at line 1528 of file qcolordialog.cpp.

◆ anonymous enum [2/2]

anonymous enum
Enumerator
colorColumns 
standardColorRows 
customColorRows 
colorColumns 
standardColorRows 
customColorRows 

Definition at line 1528 of file qcolordialog.cpp.

Function Documentation

◆ rgb2hsv()

void rgb2hsv ( QRgb rgb,
int & h,
int & s,
int & v )
inlinestatic

Definition at line 567 of file qcolordialog.cpp.

Variable Documentation

◆ pHeight

int pHeight = 200
static

◆ pWidth

int pWidth = 220
static

◆ qcd_DefaultWindowFlags

const Qt::WindowFlags qcd_DefaultWindowFlags
static
Initial value:

Definition at line 1942 of file qcolordialog.cpp.