Qt 4.8
|
#include <qabstractitemview_p.h>
Public Functions | |
virtual void | _q_columnsAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
This slot is called when columns are about to be removed. More... | |
virtual void | _q_columnsInserted (const QModelIndex &parent, int start, int end) |
This slot is called when columns have been inserted. More... | |
virtual void | _q_columnsRemoved (const QModelIndex &parent, int start, int end) |
This slot is called when columns have been removed. More... | |
void | _q_headerDataChanged () |
virtual void | _q_layoutChanged () |
This slot is called when the layout is changed. More... | |
virtual void | _q_modelDestroyed () |
virtual void | _q_rowsInserted (const QModelIndex &parent, int start, int end) |
This slot is called when rows have been inserted. More... | |
virtual void | _q_rowsRemoved (const QModelIndex &parent, int start, int end) |
This slot is called when rows have been removed. More... | |
void | addEditor (const QModelIndex &index, QWidget *editor, bool isStatic) |
virtual void | adjustViewOptionsForIndex (QStyleOptionViewItemV4 *, const QModelIndex &) const |
bool | canDecode (QDropEvent *e) const |
void | checkMouseMove (const QPersistentModelIndex &index) |
void | checkMouseMove (const QPoint &pos) |
void | checkPersistentEditorFocus () |
When persistent aeditor gets/loses focus, we need to check and setcorrectly the current index. More... | |
void | clearOrRemove () |
In DND if something has been moved then this is called. More... | |
virtual QPoint | contentsOffset () const |
QItemSelectionModel::SelectionFlags | contiguousSelectionCommand (const QModelIndex &index, const QEvent *event) const |
QAbstractItemDelegate * | delegateForIndex (const QModelIndex &index) const |
int | delegateRefCount (const QAbstractItemDelegate *delegate) const |
void | doDelayedItemsLayout (int delay=0) |
void | doDelayedReset () |
virtual QItemViewPaintPairs | draggablePaintPairs (const QModelIndexList &indexes, QRect *r) const |
virtual bool | dropOn (QDropEvent *event, int *row, int *col, QModelIndex *index) |
If the event hasn't already been accepted, determines the index to drop on. More... | |
bool | droppingOnItself (QDropEvent *event, const QModelIndex &index) |
Return true if this is a move from ourself and index is a child of the selection that is being moved. More... | |
QWidget * | editor (const QModelIndex &index, const QStyleOptionViewItem &options) |
const QEditorInfo & | editorForIndex (const QModelIndex &index) const |
void | executePostedLayout () const |
QItemSelectionModel::SelectionFlags | extendedSelectionCommand (const QModelIndex &index, const QEvent *event) const |
void | fetchMore () |
bool | hasEditor (const QModelIndex &index) const |
QModelIndex | indexForEditor (QWidget *editor) const |
void | init () |
void | interruptDelayedItemsLayout () const |
bool | isAnimating () const |
bool | isIndexDragEnabled (const QModelIndex &index) const |
bool | isIndexDropEnabled (const QModelIndex &index) const |
bool | isIndexEnabled (const QModelIndex &index) const |
bool | isIndexSelectable (const QModelIndex &index) const |
bool | isIndexValid (const QModelIndex &index) const |
bool | isPersistent (const QModelIndex &index) const |
QItemSelectionModel::SelectionFlags | multiSelectionCommand (const QModelIndex &index, const QEvent *event) const |
QPoint | offset () const |
bool | openEditor (const QModelIndex &index, QEvent *event) |
void | paintDropIndicator (QPainter *painter) |
virtual QAbstractItemView::DropIndicatorPosition | position (const QPoint &pos, const QRect &rect, const QModelIndex &idx) const |
QAbstractItemViewPrivate () | |
void | releaseEditor (QWidget *editor) const |
void | removeEditor (QWidget *editor) |
QPixmap | renderToPixmap (const QModelIndexList &indexes, QRect *r) const |
void | scrollContentsBy (int dx, int dy) |
void | scrollDirtyRegion (int dx, int dy) |
virtual void | selectAll (QItemSelectionModel::SelectionFlags command) |
QModelIndexList | selectedDraggableIndexes () const |
virtual bool | selectionAllowed (const QModelIndex &index) const |
QItemSelectionModel::SelectionFlags | selectionBehaviorFlags () const |
bool | sendDelegateEvent (const QModelIndex &index, QEvent *event) const |
void | setDirtyRegion (const QRegion &visualRegion) |
void | setHoverIndex (const QPersistentModelIndex &index) |
bool | shouldAutoScroll (const QPoint &pos) const |
bool | shouldEdit (QAbstractItemView::EditTrigger trigger, const QModelIndex &index) const |
bool | shouldForwardEvent (QAbstractItemView::EditTrigger trigger, const QEvent *event) const |
void | startAutoScroll () |
void | stopAutoScroll () |
void | updateDirtyRegion () |
void | updateEditorData (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
QStyleOptionViewItemV4 | viewOptionsV4 () const |
virtual | ~QAbstractItemViewPrivate () |
Public Functions inherited from QAbstractScrollAreaPrivate | |
void | _q_hslide (int) |
void | _q_showOrHideScrollBars () |
void | _q_vslide (int) |
void | init () |
void | layoutChildren () |
QAbstractScrollAreaPrivate () | |
void | replaceScrollBar (QScrollBar *scrollBar, Qt::Orientation orientation) |
virtual void | scrollBarPolicyChanged (Qt::Orientation, Qt::ScrollBarPolicy) |
void | setSingleFingerPanEnabled (bool on=true) |
bool | viewportEvent (QEvent *event) |
Public Functions inherited from QFramePrivate | |
void | init () |
QFramePrivate () | |
void | updateFrameWidth () |
Updated the frameWidth parameter. More... | |
void | updateStyledFrameWidths () |
Updates the frame widths from the style. More... | |
Public Functions inherited from QWidgetPrivate | |
void | _q_showIfNotHidden () |
virtual void | aboutToDestroy () |
void | activateChildLayoutsRecursively () |
QSize | adjustedSize () const |
void | adjustQuitOnCloseAttribute () |
QInputContext * | assignedInputContext () const |
QPainter * | beginSharedPainter () |
QWidget * | childAt_helper (const QPoint &, bool) const |
QWidget * | childAtRecursiveHelper (const QPoint &p, bool, bool includeFrame=false) const |
QRect | clipRect () const |
QRegion | clipRegion () const |
void | clipToEffectiveMask (QRegion ®ion) const |
bool | close_helper (CloseMode mode) |
void | create_sys (WId window, bool initializeWindow, bool destroyOldWindow) |
QWindowSurface * | createDefaultWindowSurface () |
QWindowSurface * | createDefaultWindowSurface_sys () |
void | createExtra () |
Creates the widget extra data. More... | |
void | createRecursively () |
void | createSysExtra () |
void | createTLExtra () |
void | createTLSysExtra () |
void | createWinId (WId id=0) |
void | deactivateWidgetCleanup () |
void | deleteExtra () |
Deletes the widget extra data. More... | |
void | deleteSysExtra () |
void | deleteTLSysExtra () |
void | drawWidget (QPaintDevice *pdev, const QRegion &rgn, const QPoint &offset, int flags, QPainter *sharedPainter=0, QWidgetBackingStore *backingStore=0) |
QWidget * | effectiveFocusWidget () |
QRect | effectiveRectFor (const QRect &rect) const |
bool | endSharedPainter () |
void | enforceNativeChildren () |
QWExtra * | extraData () const |
QRect | frameStrut () const |
void | getLayoutItemMargins (int *left, int *top, int *right, int *bottom) const |
const QRegion & | getOpaqueChildren () const |
void | handleSoftwareInputPanel (Qt::MouseButton button, bool clickCausedFocus) |
virtual bool | hasHeightForWidth () const |
void | hide_helper () |
void | hide_sys () |
Platform-specific part of QWidget::hide(). More... | |
void | hideChildren (bool spontaneous) |
void | inheritStyle () |
void | init (QWidget *desktopWidget, Qt::WindowFlags f) |
QInputContext * | inputContext () const |
void | invalidateBuffer (const QRegion &) |
Invalidates the rgn (in widget's coordinates) of the backing store, i.e. More... | |
void | invalidateBuffer (const QRect &) |
This function is equivalent to calling invalidateBuffer(QRegion(rect), ...), but is more efficient as it eliminates QRegion operations/allocations and can use the rect more precisely for additional cut-offs. More... | |
void | invalidateBuffer_resizeHelper (const QPoint &oldPos, const QSize &oldSize) |
Invalidates the buffer when the widget is resized. More... | |
void | invalidateGraphicsEffectsRecursively () |
bool | isAboutToShow () const |
bool | isBackgroundInherited () const |
bool | isOverlapped (const QRect &) const |
void | lower_sys () |
QPoint | mapFromGlobal (const QPoint &pos) const |
QPoint | mapToGlobal (const QPoint &pos) const |
QWidgetBackingStore * | maybeBackingStore () const |
QTLWExtra * | maybeTopData () const |
void | moveRect (const QRect &, int dx, int dy) |
bool | nativeChildrenForced () const |
QFont | naturalWidgetFont (uint inheritedMask) const |
QPalette | naturalWidgetPalette (uint inheritedMask) const |
Returns the palette that the widget w inherits from its ancestors and QApplication::palette. More... | |
void | paintBackground (QPainter *, const QRegion &, int flags=DrawAsRoot) const |
bool | paintOnScreen () const |
void | paintSiblingsRecursive (QPaintDevice *pdev, const QObjectList &children, int index, const QRegion &rgn, const QPoint &offset, int flags, QPainter *sharedPainter, QWidgetBackingStore *backingStore) |
bool | pointInsideRectAndMask (const QPoint &) const |
QRegion | prepareToRender (const QRegion ®ion, QWidget::RenderFlags renderFlags) |
void | propagatePaletteChange () |
Propagate this widget's palette to all children, except style sheet widgets, and windows that don't enable window propagation (palettes don't normally propagate to windows). More... | |
QWidgetPrivate (int version=QObjectPrivateVersion) | |
void | raise_sys () |
QPaintDevice * | redirected (QPoint *offset) const |
void | registerDropSite (bool) |
void | render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags, bool readyToRender) |
void | render_helper (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags) |
void | repaint_sys (const QRegion &rgn) |
void | reparentFocusWidgets (QWidget *oldtlw) |
void | resolveFont () |
Determine which font is implicitly imposed on this widget by its ancestors and QApplication::font, resolve this against its own font (attributes from the implicit font are copied over). More... | |
void | resolveLayoutDirection () |
void | resolveLocale () |
void | resolvePalette () |
Determine which palette is inherited from this widget's ancestors and QApplication::palette, resolve this against this widget's palette (attributes from the inherited palette are copied over this widget's palette). More... | |
void | restoreRedirected () |
void | scroll_sys (int dx, int dy) |
void | scroll_sys (int dx, int dy, const QRect &r) |
void | scrollChildren (int dx, int dy) |
void | scrollRect (const QRect &, int dx, int dy) |
void | sendPendingMoveAndResizeEvents (bool recursive=false, bool disableUpdates=false) |
void | sendStartupMessage (const char *message) const |
Platform-specific part of QWidget::show(). More... | |
void | setConstraints_sys () |
void | setCursor_sys (const QCursor &cursor) |
void | setDirtyOpaqueRegion () |
void | setEnabled_helper (bool) |
void | setFocus_sys () |
void | setFont_helper (const QFont &font) |
void | setGeometry_sys (int, int, int, int, bool) |
void | setLayoutDirection_helper (Qt::LayoutDirection) |
void | setLayoutItemMargins (int left, int top, int right, int bottom) |
void | setLayoutItemMargins (QStyle::SubElement element, const QStyleOption *opt=0) |
void | setLocale_helper (const QLocale &l, bool forceUpdate=false) |
void | setMask_sys (const QRegion &) |
bool | setMaximumSize_helper (int &maxw, int &maxh) |
bool | setMinimumSize_helper (int &minw, int &minh) |
void | setModal_sys () |
void | setNetWmWindowTypes () |
void | setOpaque (bool opaque) |
void | setPalette_helper (const QPalette &) |
void | setParent_sys (QWidget *parent, Qt::WindowFlags) |
void | setRedirected (QPaintDevice *replacement, const QPoint &offset) |
void | setSharedPainter (QPainter *painter) |
void | setStyle_helper (QStyle *newStyle, bool propagate, bool metalHack=false) |
void | setUpdatesEnabled_helper (bool) |
void | setWindowFilePath_helper (const QString &filePath) |
void | setWindowIcon_helper () |
void | setWindowIcon_sys (bool forceReset=false) |
void | setWindowIconText_helper (const QString &cap) |
void | setWindowIconText_sys (const QString &cap) |
void | setWindowOpacity_sys (qreal opacity) |
void | setWindowRole () |
void | setWindowTitle_helper (const QString &cap) |
void | setWindowTitle_sys (const QString &cap) |
void | setWinId (WId) |
QPainter * | sharedPainter () const |
void | show_helper () |
void | show_recursive () |
Makes the widget visible in the isVisible() meaning of the word. More... | |
void | show_sys () |
Platform-specific part of QWidget::show(). More... | |
void | showChildren (bool spontaneous) |
void | stackUnder_sys (QWidget *) |
void | subtractOpaqueChildren (QRegion &rgn, const QRect &clipRect) const |
void | subtractOpaqueSiblings (QRegion &source, bool *hasDirtySiblingsAbove=0, bool alsoNonOpaque=false) const |
void | syncBackingStore () |
void | syncBackingStore (const QRegion ®ion) |
QTLWExtra * | topData () const |
void | unsetCursor_sys () |
void | updateFont (const QFont &) |
Assign font to this widget, and propagate it to all children, except style sheet widgets (handled differently) and windows that don't enable window propagation. More... | |
void | updateFrameStrut () |
Computes the frame rectangle when needed. More... | |
void | updateGeometry_helper (bool forceUpdate) |
void | updateIsOpaque () |
void | updateIsTranslucent () |
void | updateSystemBackground () |
void | updateX11AcceptFocus () |
void | x11UpdateIsOpaque () |
~QWidgetPrivate () | |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Properties | |
QBasicTimer | delayedLayout |
QBasicTimer | fetchMoreTimer |
Additional Inherited Members | |
Public Types inherited from QWidgetPrivate | |
enum | CloseMode { CloseNoEvent, CloseWithEvent, CloseWithSpontaneousEvent } |
enum | Direction { DirectionNorth = 0x01, DirectionEast = 0x10, DirectionSouth = 0x02, DirectionWest = 0x20 } |
enum | DrawWidgetFlags { DrawAsRoot = 0x01, DrawPaintOnScreen = 0x02, DrawRecursive = 0x04, DrawInvisible = 0x08, DontSubtractOpaqueChildren = 0x10, DontSetCompositionMode = 0x20, DontDrawOpaqueChildren = 0x40, DontDrawNativeChildren = 0x80 } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Static Public Functions inherited from QWidgetPrivate | |
static void | adjustFlags (Qt::WindowFlags &flags, QWidget *w=0) |
static QGraphicsProxyWidget * | nearestGraphicsProxyWidget (const QWidget *origin) |
Finds the nearest widget embedded in a graphics proxy widget along the chain formed by this widget and its ancestors. More... | |
static int | pointToRect (const QPoint &p, const QRect &r) |
static QRect | screenGeometry (const QWidget *widget) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Static Public Variables inherited from QWidgetPrivate | |
static QWidgetSet * | allWidgets = 0 |
static int | instanceCounter = 0 |
static QWidget * | keyboardGrabber = 0 |
static QWidgetMapper * | mapper = 0 |
static int | maxInstances = 0 |
static QWidget * | mouseGrabber = 0 |
Definition at line 100 of file qabstractitemview_p.h.
QAbstractItemViewPrivate::QAbstractItemViewPrivate | ( | ) |
Definition at line 69 of file qabstractitemview.cpp.
|
virtual |
Definition at line 115 of file qabstractitemview.cpp.
|
virtual |
This slot is called when columns are about to be removed.
The deleted columns are those under the given parent from start to end inclusive.
Reimplemented in QTreeViewPrivate.
Definition at line 3487 of file qabstractitemview.cpp.
Referenced by QTreeViewPrivate::_q_columnsAboutToBeRemoved().
|
virtual |
This slot is called when columns have been inserted.
Reimplemented in QColumnViewPrivate.
Definition at line 3597 of file qabstractitemview.cpp.
Referenced by QColumnViewPrivate::_q_columnsInserted().
|
virtual |
This slot is called when columns have been removed.
The deleted rows are those under the given parent from start to end inclusive.
Reimplemented in QTreeViewPrivate.
Definition at line 3543 of file qabstractitemview.cpp.
Referenced by QTreeViewPrivate::_q_columnsRemoved().
|
inline |
Definition at line 117 of file qabstractitemview_p.h.
|
virtual |
This slot is called when the layout is changed.
Reimplemented in QHeaderViewPrivate.
Definition at line 3633 of file qabstractitemview.cpp.
|
virtual |
Reimplemented in QTreeViewPrivate.
Definition at line 3619 of file qabstractitemview.cpp.
Referenced by QTreeViewPrivate::_q_modelDestroyed().
|
virtual |
This slot is called when rows have been inserted.
Definition at line 3572 of file qabstractitemview.cpp.
|
virtual |
This slot is called when rows have been removed.
The deleted rows are those under the given parent from start to end inclusive.
Definition at line 3457 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::addEditor | ( | const QModelIndex & | index, |
QWidget * | editor, | ||
bool | isStatic | ||
) |
Definition at line 4368 of file qabstractitemview.cpp.
|
inlinevirtual |
|
inline |
Definition at line 170 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::checkMouseMove | ( | const QPersistentModelIndex & | index | ) |
Definition at line 163 of file qabstractitemview.cpp.
|
inline |
Definition at line 156 of file qabstractitemview_p.h.
Referenced by checkMouseMove().
void QAbstractItemViewPrivate::checkPersistentEditorFocus | ( | ) |
When persistent aeditor gets/loses focus, we need to check and setcorrectly the current index.
Definition at line 4316 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::clearOrRemove | ( | ) |
In DND if something has been moved then this is called.
Typically this means you should "remove" the selected item or row, but the behavior is view dependant (table just clears the selected indexes for example).
Either remove the selected rows or clear them
Definition at line 4277 of file qabstractitemview.cpp.
|
inlinevirtual |
Reimplemented from QAbstractScrollAreaPrivate.
Definition at line 299 of file qabstractitemview_p.h.
QItemSelectionModel::SelectionFlags QAbstractItemViewPrivate::contiguousSelectionCommand | ( | const QModelIndex & | index, |
const QEvent * | event | ||
) | const |
Definition at line 4095 of file qabstractitemview.cpp.
|
inline |
Definition at line 263 of file qabstractitemview_p.h.
Referenced by QListViewPrivate::itemSize().
|
inline |
For now, assume that we have few editors, if we need a more efficient implementation we should add a QMap<QAbstractItemDelegate*, int> member.
Definition at line 308 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::doDelayedItemsLayout | ( | int | delay = 0 | ) |
Definition at line 4187 of file qabstractitemview.cpp.
|
inline |
Definition at line 342 of file qabstractitemview_p.h.
|
virtual |
Reimplemented in QListViewPrivate, and QTreeViewPrivate.
Definition at line 4414 of file qabstractitemview.cpp.
Referenced by QTreeViewPrivate::draggablePaintPairs().
|
virtual |
If the event hasn't already been accepted, determines the index to drop on.
if (row == -1 && col == -1) append to this drop index else place at row, col in drop index
If it returns true a drop can be done, and dropRow, dropCol and dropIndex reflects the position of the drop. \warning This function is not part of the public interface.
Reimplemented in QListViewPrivate.
Definition at line 2158 of file qabstractitemview.cpp.
Referenced by QListViewPrivate::dropOn().
bool QAbstractItemViewPrivate::droppingOnItself | ( | QDropEvent * | event, |
const QModelIndex & | index | ||
) |
Return true if this is a move from ourself and index is a child of the selection that is being moved.
Definition at line 2081 of file qabstractitemview.cpp.
QWidget * QAbstractItemViewPrivate::editor | ( | const QModelIndex & | index, |
const QStyleOptionViewItem & | options | ||
) |
Definition at line 4203 of file qabstractitemview.cpp.
const QEditorInfo & QAbstractItemViewPrivate::editorForIndex | ( | const QModelIndex & | index | ) | const |
Definition at line 4330 of file qabstractitemview.cpp.
|
inline |
Definition at line 209 of file qabstractitemview_p.h.
QItemSelectionModel::SelectionFlags QAbstractItemViewPrivate::extendedSelectionCommand | ( | const QModelIndex & | index, |
const QEvent * | event | ||
) | const |
Definition at line 4001 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::fetchMore | ( | ) |
Definition at line 4119 of file qabstractitemview.cpp.
|
inline |
Definition at line 251 of file qabstractitemview_p.h.
QModelIndex QAbstractItemViewPrivate::indexForEditor | ( | QWidget * | editor | ) | const |
Definition at line 4345 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::init | ( | ) |
Definition at line 119 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::interruptDelayedItemsLayout | ( | ) | const |
Definition at line 4195 of file qabstractitemview.cpp.
|
inline |
Definition at line 259 of file qabstractitemview_p.h.
|
inline |
Definition at line 289 of file qabstractitemview_p.h.
|
inline |
Definition at line 286 of file qabstractitemview_p.h.
|
inline |
Definition at line 283 of file qabstractitemview_p.h.
|
inline |
Definition at line 280 of file qabstractitemview_p.h.
|
inline |
Definition at line 277 of file qabstractitemview_p.h.
|
inline |
return true if the index is registered as a QPersistentModelIndex
Definition at line 333 of file qabstractitemview_p.h.
QItemSelectionModel::SelectionFlags QAbstractItemViewPrivate::multiSelectionCommand | ( | const QModelIndex & | index, |
const QEvent * | event | ||
) | const |
Definition at line 3969 of file qabstractitemview.cpp.
|
inline |
Definition at line 244 of file qabstractitemview_p.h.
Referenced by QIconModeViewBase::draggedItemsDelta(), QIconModeViewBase::filterDragMoveEvent(), and QIconModeViewBase::filterDropEvent().
bool QAbstractItemViewPrivate::openEditor | ( | const QModelIndex & | index, |
QEvent * | event | ||
) |
Definition at line 4385 of file qabstractitemview.cpp.
|
inline |
Definition at line 180 of file qabstractitemview_p.h.
|
virtual |
Reimplemented in QListViewPrivate.
Definition at line 2206 of file qabstractitemview.cpp.
Referenced by QListViewPrivate::position(), and QHeaderViewPrivate::QHeaderViewPrivate().
|
inline |
Definition at line 199 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::removeEditor | ( | QWidget * | editor | ) |
Definition at line 4358 of file qabstractitemview.cpp.
QPixmap QAbstractItemViewPrivate::renderToPixmap | ( | const QModelIndexList & | indexes, |
QRect * | r | ||
) | const |
Definition at line 4433 of file qabstractitemview.cpp.
|
inline |
Definition at line 228 of file qabstractitemview_p.h.
|
inline |
Definition at line 222 of file qabstractitemview_p.h.
|
virtual |
Reimplemented in QListViewPrivate.
Definition at line 4453 of file qabstractitemview.cpp.
QModelIndexList QAbstractItemViewPrivate::selectedDraggableIndexes | ( | ) | const |
Definition at line 4467 of file qabstractitemview.cpp.
|
inlinevirtual |
Reimplemented in QListViewPrivate.
Definition at line 293 of file qabstractitemview_p.h.
|
inline |
Definition at line 158 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::sendDelegateEvent | ( | const QModelIndex & | index, |
QEvent * | event | ||
) | const |
Definition at line 4374 of file qabstractitemview.cpp.
|
inline |
Definition at line 216 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::setHoverIndex | ( | const QPersistentModelIndex & | index | ) |
Definition at line 145 of file qabstractitemview.cpp.
Referenced by checkMouseMove().
bool QAbstractItemViewPrivate::shouldAutoScroll | ( | const QPoint & | pos | ) | const |
Definition at line 4176 of file qabstractitemview.cpp.
bool QAbstractItemViewPrivate::shouldEdit | ( | QAbstractItemView::EditTrigger | trigger, |
const QModelIndex & | index | ||
) | const |
Definition at line 4136 of file qabstractitemview.cpp.
bool QAbstractItemViewPrivate::shouldForwardEvent | ( | QAbstractItemView::EditTrigger | trigger, |
const QEvent * | event | ||
) | const |
Definition at line 4156 of file qabstractitemview.cpp.
|
inline |
Definition at line 127 of file qabstractitemview_p.h.
|
inline |
Definition at line 133 of file qabstractitemview_p.h.
|
inline |
Definition at line 233 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::updateEditorData | ( | const QModelIndex & | topLeft, |
const QModelIndex & | bottomRight | ||
) |
Definition at line 4242 of file qabstractitemview.cpp.
QStyleOptionViewItemV4 QAbstractItemViewPrivate::viewOptionsV4 | ( | ) | const |
Definition at line 3770 of file qabstractitemview.cpp.
bool QAbstractItemViewPrivate::alternatingColors |
Definition at line 411 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::autoScroll |
Definition at line 404 of file qabstractitemview_p.h.
int QAbstractItemViewPrivate::autoScrollCount |
Definition at line 407 of file qabstractitemview_p.h.
int QAbstractItemViewPrivate::autoScrollMargin |
Definition at line 406 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::autoScrollTimer |
Definition at line 405 of file qabstractitemview_p.h.
QMap<int, QPointer<QAbstractItemDelegate> > QAbstractItemViewPrivate::columnDelegates |
Definition at line 354 of file qabstractitemview_p.h.
QItemSelectionModel::SelectionFlag QAbstractItemViewPrivate::ctrlDragSelectionFlag |
Definition at line 356 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::currentIndexSet |
Definition at line 427 of file qabstractitemview_p.h.
QWidget* QAbstractItemViewPrivate::currentlyCommittingEditor |
Definition at line 365 of file qabstractitemview_p.h.
Qt::DropAction QAbstractItemViewPrivate::defaultDropAction |
Definition at line 394 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::delayedAutoScroll |
Definition at line 421 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::delayedEditing |
Definition at line 420 of file qabstractitemview_p.h.
|
mutableprivate |
Definition at line 434 of file qabstractitemview_p.h.
|
mutable |
Definition at line 430 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::delayedReset |
Definition at line 422 of file qabstractitemview_p.h.
QAbstractItemView::DragDropMode QAbstractItemViewPrivate::dragDropMode |
Definition at line 391 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::dragEnabled |
Definition at line 390 of file qabstractitemview_p.h.
QAbstractItemView::DropIndicatorPosition QAbstractItemViewPrivate::dropIndicatorPosition |
Definition at line 393 of file qabstractitemview_p.h.
QRect QAbstractItemViewPrivate::dropIndicatorRect |
Definition at line 389 of file qabstractitemview_p.h.
QEditorIndexHash QAbstractItemViewPrivate::editorIndexHash |
Definition at line 362 of file qabstractitemview_p.h.
QAbstractItemView::EditTriggers QAbstractItemViewPrivate::editTriggers |
Definition at line 379 of file qabstractitemview_p.h.
QPersistentModelIndex QAbstractItemViewPrivate::enteredIndex |
Definition at line 367 of file qabstractitemview_p.h.
Referenced by checkMouseMove().
|
mutableprivate |
Definition at line 435 of file qabstractitemview_p.h.
QAbstractItemView::ScrollMode QAbstractItemViewPrivate::horizontalScrollMode |
Definition at line 425 of file qabstractitemview_p.h.
Referenced by QListModeViewBase::horizontalOffset(), QListModeViewBase::horizontalScrollToValue(), QListModeViewBase::scrollContentsBy(), and QListModeViewBase::updateHorizontalScrollBar().
QPersistentModelIndex QAbstractItemViewPrivate::hover |
Definition at line 383 of file qabstractitemview_p.h.
Referenced by setHoverIndex().
QSize QAbstractItemViewPrivate::iconSize |
Definition at line 413 of file qabstractitemview_p.h.
QIndexEditorHash QAbstractItemViewPrivate::indexEditorHash |
Definition at line 363 of file qabstractitemview_p.h.
QPointer<QAbstractItemDelegate> QAbstractItemViewPrivate::itemDelegate |
Definition at line 352 of file qabstractitemview_p.h.
QString QAbstractItemViewPrivate::keyboardInput |
Definition at line 401 of file qabstractitemview_p.h.
QElapsedTimer QAbstractItemViewPrivate::keyboardInputTime |
Definition at line 402 of file qabstractitemview_p.h.
Referenced by QAbstractItemViewPrivate().
QAbstractItemView::EditTrigger QAbstractItemViewPrivate::lastTrigger |
Definition at line 380 of file qabstractitemview_p.h.
QAbstractItemModel* QAbstractItemViewPrivate::model |
Definition at line 351 of file qabstractitemview_p.h.
Referenced by QColumnViewPrivate::checkColumnCreation(), checkMouseMove(), QListViewPrivate::doItemsLayout(), QColumnViewPrivate::doLayout(), QListViewPrivate::itemSize(), QHeaderViewPrivate::modelIsEmpty(), QHeaderViewPrivate::modelSectionCount(), and QListViewPrivate::prepareItemsLayout().
bool QAbstractItemViewPrivate::moveCursorUpdatedView |
Definition at line 431 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::noSelectionOnMousePress |
Definition at line 357 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::overwrite |
Definition at line 392 of file qabstractitemview_p.h.
Definition at line 364 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::pressedAlreadySelected |
Definition at line 371 of file qabstractitemview_p.h.
QPersistentModelIndex QAbstractItemViewPrivate::pressedIndex |
Definition at line 368 of file qabstractitemview_p.h.
Qt::KeyboardModifiers QAbstractItemViewPrivate::pressedModifiers |
Definition at line 369 of file qabstractitemview_p.h.
QPoint QAbstractItemViewPrivate::pressedPosition |
Definition at line 370 of file qabstractitemview_p.h.
Referenced by QIconModeViewBase::draggedItemsDelta().
QPersistentModelIndex QAbstractItemViewPrivate::root |
Definition at line 382 of file qabstractitemview_p.h.
Referenced by QHeaderViewPrivate::columnIntersectsSelection(), QListViewPrivate::doItemsLayout(), QHeaderViewPrivate::isColumnSelected(), QHeaderViewPrivate::isRowSelected(), QListViewPrivate::itemSize(), QHeaderViewPrivate::modelIsEmpty(), QHeaderViewPrivate::modelSectionCount(), QListViewPrivate::prepareItemsLayout(), and QHeaderViewPrivate::rowIntersectsSelection().
QMap<int, QPointer<QAbstractItemDelegate> > QAbstractItemViewPrivate::rowDelegates |
Definition at line 353 of file qabstractitemview_p.h.
QPoint QAbstractItemViewPrivate::scrollDelayOffset |
Definition at line 417 of file qabstractitemview_p.h.
QAbstractItemView::SelectionBehavior QAbstractItemViewPrivate::selectionBehavior |
Definition at line 360 of file qabstractitemview_p.h.
Referenced by setHoverIndex().
QAbstractItemView::SelectionMode QAbstractItemViewPrivate::selectionMode |
Definition at line 359 of file qabstractitemview_p.h.
QPointer<QItemSelectionModel> QAbstractItemViewPrivate::selectionModel |
bool QAbstractItemViewPrivate::shouldClearStatusTip |
Definition at line 409 of file qabstractitemview_p.h.
Referenced by checkMouseMove().
bool QAbstractItemViewPrivate::shouldScrollToCurrentOnShow |
Definition at line 408 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::showDropIndicator |
Definition at line 388 of file qabstractitemview_p.h.
QAbstractItemView::State QAbstractItemViewPrivate::state |
Definition at line 377 of file qabstractitemview_p.h.
QAbstractItemView::State QAbstractItemViewPrivate::stateBeforeAnimation |
Definition at line 378 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::tabKeyNavigation |
Definition at line 385 of file qabstractitemview_p.h.
Qt::TextElideMode QAbstractItemViewPrivate::textElideMode |
Definition at line 414 of file qabstractitemview_p.h.
QRegion QAbstractItemViewPrivate::updateRegion |
Definition at line 416 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::updateTimer |
Definition at line 419 of file qabstractitemview_p.h.
QAbstractItemView::ScrollMode QAbstractItemViewPrivate::verticalScrollMode |
Definition at line 424 of file qabstractitemview_p.h.
Referenced by QListModeViewBase::scrollContentsBy(), QListModeViewBase::updateVerticalScrollBar(), QListModeViewBase::verticalOffset(), and QListModeViewBase::verticalScrollToValue().
bool QAbstractItemViewPrivate::viewportEnteredNeeded |
Definition at line 375 of file qabstractitemview_p.h.
Referenced by checkMouseMove().
bool QAbstractItemViewPrivate::wrapItemText |
Definition at line 429 of file qabstractitemview_p.h.