#include <klflibview_p.h>
Public Slots | |
virtual void | selectAll () |
void | ensureExpandedTo (const QModelIndexList &mil) |
Public Member Functions | |
KLFLibDefTreeView (KLFLibDefaultView *parent) | |
virtual bool | eventFilter (QObject *object, QEvent *event) |
virtual void | setModel (QAbstractItemModel *model) |
Protected Member Functions | |
QModelIndexList | commonSelectedIndexes () const |
void | commonInternalDrag (Qt::DropActions) |
QAbstractItemView * | thisView () |
const QAbstractItemView * | thisConstView () const |
QPoint | scrollOffset () const |
QPoint | eventPos (QObject *object, QDragEnterEvent *event) |
void | startDrag (Qt::DropActions supportedActions) |
virtual void | paintEvent (QPaintEvent *event) |
virtual void | rowsInserted (const QModelIndex &parent, int start, int end) |
Protected Attributes | |
bool | inPaintEvent |
bool | pInEventFilter |
Definition at line 617 of file klflibview_p.h.
KLFLibDefTreeView::KLFLibDefTreeView | ( | KLFLibDefaultView * | parent | ) | [inline] |
Definition at line 621 of file klflibview_p.h.
void KLFLibDefTreeView::commonInternalDrag | ( | Qt::DropActions | ) | [inline, protected, virtual] |
Implements KLFLibDefViewCommon.
Definition at line 678 of file klflibview_p.h.
QModelIndexList KLFLibDefTreeView::commonSelectedIndexes | ( | ) | const [inline, protected, virtual] |
Implements KLFLibDefViewCommon.
Definition at line 677 of file klflibview_p.h.
void KLFLibDefTreeView::ensureExpandedTo | ( | const QModelIndexList & | mil | ) | [inline, slot] |
Definition at line 660 of file klflibview_p.h.
References QTreeView::expand(), QModelIndex::isValid(), klfDbg, and QModelIndex::parent().
Referenced by KLFLibDefaultView::selectEntries().
Definition at line 628 of file klflibview_p.h.
References KLFLibDefViewCommon::evDragEnter(), KLFLibDefViewCommon::evDragMove(), KLFLibDefViewCommon::evDrop(), eventPos(), pInEventFilter, and QEvent::type().
QPoint KLFLibDefTreeView::eventPos | ( | QObject * | object, |
QDragEnterEvent * | event | ||
) | [inline, protected] |
Definition at line 683 of file klflibview_p.h.
References QTreeView::horizontalOffset(), and QTreeView::verticalOffset().
Referenced by eventFilter().
virtual void KLFLibDefTreeView::paintEvent | ( | QPaintEvent * | event | ) | [inline, protected, virtual] |
Definition at line 692 of file klflibview_p.h.
virtual void KLFLibDefTreeView::rowsInserted | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) | [inline, protected, virtual] |
Reimplemented from QTreeView.
Definition at line 697 of file klflibview_p.h.
References KLF_DEBUG_TIME_BLOCK, and KLF_FUNC_NAME.
QPoint KLFLibDefTreeView::scrollOffset | ( | ) | const [inline, protected, virtual] |
Implements KLFLibDefViewCommon.
Definition at line 681 of file klflibview_p.h.
References QTreeView::horizontalOffset(), and QTreeView::verticalOffset().
virtual void KLFLibDefTreeView::selectAll | ( | ) | [inline, virtual, slot] |
Reimplemented from QTreeView.
Definition at line 656 of file klflibview_p.h.
References KLFLibDefViewCommon::pDView, and KLFLibDefaultView::slotSelectAll().
virtual void KLFLibDefTreeView::setModel | ( | QAbstractItemModel * | model | ) | [inline, virtual] |
Definition at line 647 of file klflibview_p.h.
References KLFLibDefViewCommon::setTheModel().
void KLFLibDefTreeView::startDrag | ( | Qt::DropActions | supportedActions | ) | [inline, protected] |
Definition at line 687 of file klflibview_p.h.
References KLFLibDefViewCommon::commonStartDrag().
const QAbstractItemView* KLFLibDefTreeView::thisConstView | ( | ) | const [inline, protected, virtual] |
Implements KLFLibDefViewCommon.
Definition at line 680 of file klflibview_p.h.
QAbstractItemView* KLFLibDefTreeView::thisView | ( | ) | [inline, protected, virtual] |
Implements KLFLibDefViewCommon.
Definition at line 679 of file klflibview_p.h.
bool KLFLibDefTreeView::inPaintEvent [protected] |
Definition at line 691 of file klflibview_p.h.
bool KLFLibDefTreeView::pInEventFilter [protected] |
Definition at line 703 of file klflibview_p.h.
Referenced by eventFilter().