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>.
|
#include <qabstractitemdelegate_p.h>
Definition at line 29 of file qabstractitemdelegate_p.h.
|
explicit |
Definition at line 385 of file qabstractitemdelegate.cpp.
Definition at line 583 of file qabstractitemdelegate.cpp.
References emit, and QAbstractItemDelegate::SubmitModelCache.
Definition at line 413 of file qabstractitemdelegate.cpp.
References Qt::ActiveWindowFocusReason, QKeySequence::Cancel, 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, Q_ARG, qobject_cast< QWidget * >(), Qt::QueuedConnection, QAbstractItemDelegate::RevertModelCache, QEvent::ShortcutOverride, and tryFixup().
QString QAbstractItemDelegatePrivate::textForRole | ( | Qt::ItemDataRole | role, |
const QVariant & | value, | ||
const QLocale & | locale, | ||
int | precision = 6 ) const |
Definition at line 532 of file qabstractitemdelegate.cpp.
References Qt::DisplayRole, QLocale::LongFormat, Q_FALLTHROUGH, QString::replace(), QLocale::ShortFormat, text, and QVariant::toString().
Referenced by QItemDelegatePrivate::valueToText().
bool QAbstractItemDelegatePrivate::tryFixup | ( | QWidget * | editor | ) |
Definition at line 502 of file qabstractitemdelegate.cpp.
References Q_UNUSED, and text.
Referenced by editorEventFilter().