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
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:
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
42
43#endif // QABSTRACTITEMDELEGATE_P_H
The QAbstractItemDelegate class is used to display and edit data items from a model.
\inmodule QtCore
Definition qcoreevent.h:45
\inmodule QtCore
Definition qobject.h:103
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qvariant.h:65
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
Combined button and popup list for selecting options.
ItemDataRole
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
struct _cl_event * event
GLenum GLint GLint * precision
#define Q_AUTOTEST_EXPORT
#define QT_REQUIRE_CONFIG(feature)