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
qabstractitemdelegate_p.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 QABSTRACTITEMDELEGATE_P_H
5#define QABSTRACTITEMDELEGATE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of other Qt classes. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtWidgets/private/qtwidgetsglobal_p.h>
20#include <private/qobject_p.h>
21
22#include <qvariant.h>
23#include <qmetatype.h>
24
26
28
30{
31 Q_DECLARE_PUBLIC(QAbstractItemDelegate)
32public:
33 explicit QAbstractItemDelegatePrivate();
34
35 bool editorEventFilter(QObject *object, QEvent *event);
36 bool tryFixup(QWidget *editor);
37 QString textForRole(Qt::ItemDataRole role, const QVariant &value, const QLocale &locale, int precision = 6) const;
38 void _q_commitDataAndCloseEditor(QWidget *editor);
39};
40
41QT_END_NAMESPACE
42
43#endif // QABSTRACTITEMDELEGATE_P_H
QT_REQUIRE_CONFIG(animation)