Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qcocoacolordialoghelper.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QCOCOACOLORDIALOGHELPER_H
5#define QCOCOACOLORDIALOGHELPER_H
6
7#include <QObject>
8#include <qpa/qplatformdialoghelper.h>
9
11
13{
14public:
17
18 void exec() override;
19 bool show(Qt::WindowFlags windowFlags, Qt::WindowModality windowModality, QWindow *parent) override;
20 void hide() override;
21
22 void setCurrentColor(const QColor&) override;
23 QColor currentColor() const override;
24};
25
27
28#endif // QCOCOACOLORDIALOGHELPER_H
void setCurrentColor(const QColor &) override
QColor currentColor() const override
The QColor class provides colors based on RGB, HSV or CMYK values.
Definition qcolor.h:31
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
The QPlatformColorDialogHelper class allows for platform-specific customization of color dialogs.
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
WindowModality
view show()
[18] //! [19]