![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Private Member Functions | |
virtual void | initHelper (QPlatformDialogHelper *h) override |
virtual void | helperPrepareShow (QPlatformDialogHelper *h) override |
virtual void | initHelper (QPlatformDialogHelper *h) override |
virtual void | helperPrepareShow (QPlatformDialogHelper *h) override |
Additional Inherited Members | |
![]() | |
static QWidgetPrivate * | get (QWidget *w) |
static const QWidgetPrivate * | get (const QWidget *w) |
static void | checkRestoredGeometry (const QRect &availableGeometry, QRect *restoredGeometry, int frameHeight) |
static void | adjustFlags (Qt::WindowFlags &flags, QWidget *w=nullptr) |
static QWidget * | parentGraphicsView (const QWidget *widget) |
static QRect | screenGeometry (const QWidget *widget) |
static QRect | availableScreenGeometry (const QWidget *widget) |
static QScreen * | screen (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static QRect | screenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static QRect | availableScreenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static void | sendComposeStatus (QWidget *w, bool end) |
static void | setWidgetParentHelper (QObject *widgetAsObject, QObject *newParent) |
static bool | insertIntoFocusChain (const QWidgetList &toBeInserted, FocusDirection direction, QWidget *position) |
static QWidgetList | takeFromFocusChain (QWidget *from, QWidget *to, FocusDirection direction=FocusDirection::Next) |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1, typename Func2> | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1, typename Func2> | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
![]() | |
static QWidgetMapper * | mapper = nullptr |
static QWidgetSet * | allWidgets = nullptr |
static int | instanceCounter = 0 |
static int | maxInstances = 0 |
![]() | |
virtual int | dialogCode () const |
Definition at line 70 of file qcolordialog.cpp.
Enumerator | |
---|---|
ShowColor | |
SelectColor | |
SetColorAll | |
ShowColor | |
SelectColor | |
SetColorAll |
Definition at line 75 of file qcolordialog.cpp.
Enumerator | |
---|---|
ShowColor | |
SelectColor | |
SetColorAll | |
ShowColor | |
SelectColor | |
SetColorAll |
Definition at line 75 of file qcolordialog.cpp.
|
inline |
Definition at line 81 of file qcolordialog.cpp.
References QColorDialogPrivate().
Referenced by QColorDialogPrivate().
|
inline |
Definition at line 81 of file qcolordialog.cpp.
void QColorDialogPrivate::addCustom | ( | ) |
Definition at line 1882 of file qcolordialog.cpp.
References custom.
void QColorDialogPrivate::addCustom | ( | ) |
|
overridevirtual |
Reimplemented from QDialogPrivate.
Definition at line 1915 of file qcolordialog.cpp.
|
overridevirtual |
Reimplemented from QDialogPrivate.
|
inline |
Definition at line 1335 of file qcolordialog.cpp.
References cs, and QtPrivate::QColorShower::currentAlpha().
int QColorDialogPrivate::currentAlpha | ( | ) | const |
|
inline |
Definition at line 1334 of file qcolordialog.cpp.
References cs.
QRgb QColorDialogPrivate::currentColor | ( | ) | const |
QColor QColorDialogPrivate::currentQColor | ( | ) | const |
Definition at line 1340 of file qcolordialog.cpp.
References cs.
QColor QColorDialogPrivate::currentQColor | ( | ) | const |
Definition at line 1565 of file qcolordialog.cpp.
bool QColorDialogPrivate::handleColorPickingKeyPress | ( | QKeyEvent * | e | ) |
Definition at line 2278 of file qcolordialog.cpp.
References releaseColorPicking().
Referenced by QtPrivate::QColorPickingEventFilter::eventFilter().
bool QColorDialogPrivate::handleColorPickingKeyPress | ( | QKeyEvent * | e | ) |
bool QColorDialogPrivate::handleColorPickingMouseButtonRelease | ( | QMouseEvent * | e | ) |
Definition at line 2271 of file qcolordialog.cpp.
References releaseColorPicking().
Referenced by QtPrivate::QColorPickingEventFilter::eventFilter().
bool QColorDialogPrivate::handleColorPickingMouseButtonRelease | ( | QMouseEvent * | e | ) |
bool QColorDialogPrivate::handleColorPickingMouseMove | ( | QMouseEvent * | e | ) |
Definition at line 2262 of file qcolordialog.cpp.
References cp, and QtPrivate::QColorPicker::setCrossVisible().
Referenced by QtPrivate::QColorPickingEventFilter::eventFilter().
bool QColorDialogPrivate::handleColorPickingMouseMove | ( | QMouseEvent * | e | ) |
|
overrideprivatevirtual |
Reimplemented from QDialogPrivate.
Definition at line 1877 of file qcolordialog.cpp.
|
overrideprivatevirtual |
Reimplemented from QDialogPrivate.
Definition at line 1687 of file qcolordialog.cpp.
References colorPickingEventFilter, initWidgets(), and nextCust.
|
overrideprivatevirtual |
Reimplemented from QDialogPrivate.
Definition at line 1866 of file qcolordialog.cpp.
|
overrideprivatevirtual |
Reimplemented from QDialogPrivate.
void QColorDialogPrivate::initWidgets | ( | ) |
Definition at line 1710 of file qcolordialog.cpp.
References cp, cs, custom, eyeDropperButton, lp, ok, pHeight, pWidth, retranslateStrings(), smallDisplay, standard, and supportsColorPicking().
Referenced by init(), and setVisible().
void QColorDialogPrivate::initWidgets | ( | ) |
|
inline |
Definition at line 1338 of file qcolordialog.cpp.
References cs, and QtPrivate::QColorShower::isAlphaVisible().
bool QColorDialogPrivate::isAlphaVisible | ( | ) | const |
Definition at line 1578 of file qcolordialog.cpp.
References cp, lp, and QtPrivate::QColorLuminancePicker::setCol().
void QColorDialogPrivate::newCustom | ( | int | r, |
int | c ) |
Definition at line 1593 of file qcolordialog.cpp.
References customColorRows, QtPrivate::QWellArray::setSelected(), and standard.
Referenced by selectColor().
void QColorDialogPrivate::newCustom | ( | int | , |
int | ) |
void QColorDialogPrivate::newHsv | ( | int | h, |
int | s, | ||
int | v ) |
Definition at line 1492 of file qcolordialog.cpp.
References cp, cs, lp, QtPrivate::QColorLuminancePicker::setCol(), and QtPrivate::QColorShower::setHsv().
void QColorDialogPrivate::newHsv | ( | int | h, |
int | s, | ||
int | v ) |
void QColorDialogPrivate::newStandard | ( | int | r, |
int | c ) |
Definition at line 1601 of file qcolordialog.cpp.
References custom, and QtPrivate::QWellArray::setSelected().
Referenced by selectColor().
void QColorDialogPrivate::newStandard | ( | int | , |
int | ) |
void QColorDialogPrivate::nextCustom | ( | int | r, |
int | c ) |
Definition at line 1588 of file qcolordialog.cpp.
References customColorRows, and nextCust.
void QColorDialogPrivate::nextCustom | ( | int | , |
int | ) |
void QColorDialogPrivate::pickScreenColor | ( | ) |
Definition at line 1608 of file qcolordialog.cpp.
References addCusBt, eyeDropperButton, and updateColorLabelText().
void QColorDialogPrivate::pickScreenColor | ( | ) |
|
inline |
Definition at line 87 of file qcolordialog.cpp.
|
inline |
Definition at line 87 of file qcolordialog.cpp.
void QColorDialogPrivate::releaseColorPicking | ( | ) |
Definition at line 1669 of file qcolordialog.cpp.
References addCusBt, cp, eyeDropperButton, and QtPrivate::QColorPicker::setCrossVisible().
Referenced by handleColorPickingKeyPress(), and handleColorPickingMouseButtonRelease().
void QColorDialogPrivate::releaseColorPicking | ( | ) |
void QColorDialogPrivate::retranslateStrings | ( | ) |
Definition at line 1890 of file qcolordialog.cpp.
References cs, QtPrivate::QColorShower::retranslateStrings(), and smallDisplay.
Referenced by initWidgets().
void QColorDialogPrivate::retranslateStrings | ( | ) |
bool QColorDialogPrivate::selectColor | ( | const QColor & | color | ) |
Definition at line 1527 of file qcolordialog.cpp.
References colorColumns, custom, customColorRows, newCustom(), newStandard(), QtPrivate::QWellArray::setCurrent(), QtPrivate::QWellArray::setSelected(), standard, and standardColorRows.
Referenced by setCurrentColor().
bool QColorDialogPrivate::selectColor | ( | const QColor & | color | ) |
|
inline |
Definition at line 1336 of file qcolordialog.cpp.
References cs, and QtPrivate::QColorShower::setCurrentAlpha().
Referenced by setCurrentColor().
void QColorDialogPrivate::setCurrentAlpha | ( | int | a | ) |
void QColorDialogPrivate::setCurrentColor | ( | const QColor & | color, |
SetColorMode | setColorMode = SetColorAll ) |
Definition at line 1993 of file qcolordialog.cpp.
References selectColor(), and setCurrentAlpha().
void QColorDialogPrivate::setCurrentColor | ( | const QColor & | color, |
SetColorMode | setColorMode = SetColorAll ) |
Definition at line 1511 of file qcolordialog.cpp.
References cs.
Definition at line 1502 of file qcolordialog.cpp.
References cs.
|
overridevirtual |
The implementation of QColorDialog::setVisible() has to live here so that the call to hide() in ~QDialog calls this function; it wouldn't call the override of QDialog::setVisible().
Reimplemented from QWidgetPrivate.
Definition at line 2152 of file qcolordialog.cpp.
References initWidgets().
|
overridevirtual |
Reimplemented from QWidgetPrivate.
|
inline |
Definition at line 1337 of file qcolordialog.cpp.
References cs, and QtPrivate::QColorShower::showAlpha().
void QColorDialogPrivate::showAlpha | ( | bool | b | ) |
bool QColorDialogPrivate::supportsColorPicking | ( | ) | const |
Definition at line 1908 of file qcolordialog.cpp.
Referenced by initWidgets().
bool QColorDialogPrivate::supportsColorPicking | ( | ) | const |
Definition at line 1661 of file qcolordialog.cpp.
Referenced by pickScreenColor(), and updateColorPicking().
void QColorDialogPrivate::updateColorPicking | ( | ) |
Definition at line 2234 of file qcolordialog.cpp.
void QColorDialogPrivate::updateColorPicking | ( | ) |
Definition at line 2253 of file qcolordialog.cpp.
References updateColorLabelText().
QPushButton * QColorDialogPrivate::addCusBt |
Definition at line 140 of file qcolordialog.cpp.
Referenced by pickScreenColor(), and releaseColorPicking().
QRgb QColorDialogPrivate::beforeScreenColorPicking |
Definition at line 147 of file qcolordialog.cpp.
QDialogButtonBox * QColorDialogPrivate::buttons |
Definition at line 130 of file qcolordialog.cpp.
QPushButton * QColorDialogPrivate::cancel |
Definition at line 139 of file qcolordialog.cpp.
QColorPickingEventFilter * QColorDialogPrivate::colorPickingEventFilter |
Definition at line 146 of file qcolordialog.cpp.
Referenced by init().
QColorPicker * QColorDialogPrivate::cp |
Definition at line 132 of file qcolordialog.cpp.
Referenced by handleColorPickingMouseMove(), initWidgets(), newColorTypedIn(), newHsv(), and releaseColorPicking().
QColorShower * QColorDialogPrivate::cs |
Definition at line 134 of file qcolordialog.cpp.
Referenced by currentAlpha(), currentColor(), currentQColor(), initWidgets(), isAlphaVisible(), newHsv(), retranslateStrings(), setCurrentAlpha(), setCurrentQColor(), setCurrentRgbColor(), and showAlpha().
QWellArray * QColorDialogPrivate::custom |
Definition at line 127 of file qcolordialog.cpp.
Referenced by addCustom(), initWidgets(), newStandard(), and selectColor().
QPushButton * QColorDialogPrivate::eyeDropperButton = nullptr |
Definition at line 141 of file qcolordialog.cpp.
Referenced by initWidgets(), pickScreenColor(), and releaseColorPicking().
QLabel * QColorDialogPrivate::lblBasicColors |
Definition at line 135 of file qcolordialog.cpp.
QLabel * QColorDialogPrivate::lblCustomColors |
Definition at line 136 of file qcolordialog.cpp.
QLabel * QColorDialogPrivate::lblScreenColorInfo |
Definition at line 137 of file qcolordialog.cpp.
QVBoxLayout * QColorDialogPrivate::leftLay |
Definition at line 131 of file qcolordialog.cpp.
QColorLuminancePicker * QColorDialogPrivate::lp |
Definition at line 133 of file qcolordialog.cpp.
Referenced by initWidgets(), newColorTypedIn(), and newHsv().
QByteArray QColorDialogPrivate::memberToDisconnectOnClose |
Definition at line 151 of file qcolordialog.cpp.
int QColorDialogPrivate::nextCust |
Definition at line 143 of file qcolordialog.cpp.
Referenced by init(), and nextCustom().
QPushButton * QColorDialogPrivate::ok |
Definition at line 138 of file qcolordialog.cpp.
Referenced by initWidgets().
QSharedPointer< QColorDialogOptions > QColorDialogPrivate::options |
Definition at line 148 of file qcolordialog.cpp.
Referenced by testing.tools.test_runner._TestCaseRunner::_NewImageArtifact(), testing.tools.test_runner._TestCaseRunner::_RegenerateIfNeeded(), testing.tools.test_runner._PerProcessState::GetSkiaGoldTester(), testing.tools.test_runner._PerProcessConfig::InitializeFeatures(), testing.tools.test_runner.TestRunner::IsSkiaGoldEnabled(), testing.tools.test_runner._PerProcessConfig::NewFinder(), testing.tools.test_runner._TestCaseRunner::TestPixel(), and testing.tools.test_runner._TestCaseRunner::TestText().
Definition at line 150 of file qcolordialog.cpp.
bool QColorDialogPrivate::screenColorPicking |
Definition at line 145 of file qcolordialog.cpp.
QColor QColorDialogPrivate::selectedQColor |
Definition at line 142 of file qcolordialog.cpp.
bool QColorDialogPrivate::smallDisplay |
Definition at line 144 of file qcolordialog.cpp.
Referenced by initWidgets(), and retranslateStrings().
QWellArray * QColorDialogPrivate::standard |
Definition at line 128 of file qcolordialog.cpp.
Referenced by initWidgets(), newCustom(), and selectColor().