![]() |
Qt 6.x
The Qt SDK
|
#include <qabstractitemdelegate_p.h>
Inheritance diagram for QAbstractItemDelegatePrivate:
Collaboration diagram for QAbstractItemDelegatePrivate:Definition at line 29 of file qabstractitemdelegate_p.h.
|
explicit |
Definition at line 385 of file qabstractitemdelegate.cpp.
Definition at line 575 of file qabstractitemdelegate.cpp.
References emit, and QAbstractItemDelegate::SubmitModelCache.
Definition at line 413 of file qabstractitemdelegate.cpp.
References Qt::ActiveWindowFocusReason, QKeySequence::Cancel, QPlatformDrag::currentDrag(), QAbstractItemDelegate::EditNextItem, editorHandlesKeyEvent(), QAbstractItemDelegate::EditPreviousItem, emit, QEvent::FocusOut, QApplication::focusWidget(), QEvent::Hide, QGuiApplicationPrivate::instance(), QMetaObject::invokeMethod(), QKeyEvent::key(), Qt::Key_Backtab, Qt::Key_Enter, Qt::Key_Return, Qt::Key_Tab, QEvent::KeyPress, QAbstractItemDelegate::NoHint, QGuiApplicationPrivate::platformIntegration(), Q_ARG, qobject_cast< QWidget * >(), Qt::QueuedConnection, QAbstractItemDelegate::RevertModelCache, QWidget::setFocus(), QEvent::ShortcutOverride, and tryFixup().
Here is the call graph for this function:| QString QAbstractItemDelegatePrivate::textForRole | ( | Qt::ItemDataRole | role, |
| const QVariant & | value, | ||
| const QLocale & | locale, | ||
| int | precision = 6 |
||
| ) | const |
Definition at line 524 of file qabstractitemdelegate.cpp.
References Qt::DisplayRole, QChar::LineSeparator, QLocale::LongFormat, Q_FALLTHROUGH, QString::replace(), QLocale::ShortFormat, text, and QVariant::toString().
Referenced by QItemDelegatePrivate::valueToText().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QAbstractItemDelegatePrivate::tryFixup | ( | QWidget * | editor | ) |
Definition at line 502 of file qabstractitemdelegate.cpp.
References e, Q_UNUSED, and text.
Referenced by editorEventFilter().
Here is the caller graph for this function: