Revision control
Copy as Markdown
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default
#ifndef QACCESSIBLECOLORWELL_H
#define QACCESSIBLECOLORWELL_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtWidgets/private/qtwidgetsglobal_p.h>
QT_REQUIRE_CONFIG(accessibility);
#if QT_CONFIG(colordialog)
#include <QtWidgets/qaccessiblewidget.h>
QT_BEGIN_NAMESPACE
class QAccessibleColorWellItem;
class QColorWell;
class QAccessibleColorWell : public QAccessibleWidgetV2
{
mutable std::vector<std::optional<QAccessible::Id>> m_childIds;
public:
explicit QAccessibleColorWell(QWidget *widget);
virtual ~QAccessibleColorWell() override;
QAccessibleInterface *child(int index) const override;
int indexOfChild(const QAccessibleInterface *child) const override;
int childCount() const override;
public:
QColorWell *colorWell() const;
};
QT_END_NAMESPACE
#endif // QT_CONFIG(colordialog)
#endif // QACCESSIBLECOLORWELL_H