#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) |
![]() | |
QTreeView (QWidget *parent=0) | |
collapse (const QModelIndex &index) | |
collapseAll () | |
collapsed (const QModelIndex &index) | |
columnAt (int x) | |
columnCountChanged (int oldCount, int newCount) | |
columnMoved () | |
columnResized (int column, int oldSize, int newSize) | |
columnViewportPosition (int column) | |
columnWidth (int column) | |
currentChanged (const QModelIndex ¤t, const QModelIndex &previous) | |
drawBranches (QPainter *painter, const QRect &rect, const QModelIndex &index) | |
drawRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) | |
drawTree (QPainter *painter, const QRegion ®ion) | |
expand (const QModelIndex &index) | |
expandAll () | |
expandToDepth (int depth) | |
expanded (const QModelIndex &index) | |
header () | |
hideColumn (int column) | |
horizontalOffset () | |
indexAbove (const QModelIndex &index) | |
indexBelow (const QModelIndex &index) | |
indexRowSizeHint (const QModelIndex &index) | |
isColumnHidden (int column) | |
isExpanded (const QModelIndex &index) | |
isFirstColumnSpanned (int row, const QModelIndex &parent) | |
isRowHidden (int row, const QModelIndex &parent) | |
moveCursor (CursorAction cursorAction, Qt::KeyboardModifiers modifiers) | |
resizeColumnToContents (int column) | |
rowHeight (const QModelIndex &index) | |
rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) | |
rowsInserted (const QModelIndex &parent, int start, int end) | |
rowsRemoved (const QModelIndex &parent, int start, int end) | |
scrollContentsBy (int dx, int dy) | |
scrollTo (const QModelIndex &index, ScrollHint hint=EnsureVisible) | |
selectAll () | |
selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) | |
setColumnHidden (int column, bool hide) | |
setColumnWidth (int column, int width) | |
setExpanded (const QModelIndex &index, bool expanded) | |
setFirstColumnSpanned (int row, const QModelIndex &parent, bool span) | |
setHeader (QHeaderView *header) | |
setRowHidden (int row, const QModelIndex &parent, bool hide) | |
setSelection (const QRect &rect, QItemSelectionModel::SelectionFlags command) | |
showColumn (int column) | |
sizeHintForColumn (int column) | |
sortByColumn (int column, Qt::SortOrder order) | |
verticalOffset () | |
visualRect (const QModelIndex &index) | |
visualRegionForSelection (const QItemSelection &selection) | |
isItemExpanded (const QTreeWidgetItem *item) | |
isItemHidden (const QTreeWidgetItem *item) | |
isItemSelected (const QTreeWidgetItem *item) | |
items (const QMimeData *data) | |
setItemExpanded (const QTreeWidgetItem *item, bool expand) | |
setItemHidden (const QTreeWidgetItem *item, bool hide) | |
setItemSelected (const QTreeWidgetItem *item, bool select) | |
![]() | |
KLFLibDefViewCommon (KLFLibDefaultView *dview) | |
virtual | ~KLFLibDefViewCommon () |
virtual bool | evDragEnter (QDragEnterEvent *de, const QPoint &pos) |
virtual bool | evDragMove (QDragMoveEvent *de, const QPoint &pos) |
virtual bool | evDrop (QDropEvent *de, const QPoint &pos) |
virtual void | commonStartDrag (Qt::DropActions supportedActions) |
QModelIndex | curVisibleIndex (bool firstOrLast) const |
virtual void | modelInitialized () |
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) |
![]() | |
virtual QPoint | eventPos (QObject *object, QDragEnterEvent *event, int horoffset, int veroffset) |
virtual bool | setTheModel (QAbstractItemModel *m) |
Protected Attributes | |
bool | inPaintEvent |
bool | pInEventFilter |
![]() | |
KLFLibModel * | pModel |
KLFLibDefaultView * | pDView |
KLFLibDefaultView::ViewType | pViewType |
QPoint | mousePressedContentsPos |
Definition at line 631 of file klflibview_p.h.
|
inline |
Definition at line 635 of file klflibview_p.h.
|
inlineprotectedvirtual |
Implements KLFLibDefViewCommon.
Definition at line 692 of file klflibview_p.h.
|
inlineprotectedvirtual |
Implements KLFLibDefViewCommon.
Definition at line 691 of file klflibview_p.h.
|
inlineslot |
Definition at line 674 of file klflibview_p.h.
References QTreeView::expand(), QModelIndex::isValid(), klfDbg, and QModelIndex::parent().
Referenced by KLFLibDefaultView::selectEntries().
Definition at line 642 of file klflibview_p.h.
References KLFLibDefViewCommon::evDragEnter(), KLFLibDefViewCommon::evDragMove(), KLFLibDefViewCommon::evDrop(), eventPos(), pInEventFilter, and QEvent::type().
|
inlineprotected |
Definition at line 697 of file klflibview_p.h.
References KLFLibDefViewCommon::eventPos(), QTreeView::horizontalOffset(), and QTreeView::verticalOffset().
Referenced by eventFilter().
|
inlineprotectedvirtual |
Definition at line 706 of file klflibview_p.h.
|
inlineprotectedvirtual |
Definition at line 711 of file klflibview_p.h.
References KLF_DEBUG_TIME_BLOCK, KLF_FUNC_NAME, and QTreeView::rowsInserted().
|
inlineprotectedvirtual |
Implements KLFLibDefViewCommon.
Definition at line 695 of file klflibview_p.h.
References QTreeView::horizontalOffset(), and QTreeView::verticalOffset().
|
inlinevirtualslot |
Definition at line 670 of file klflibview_p.h.
References KLFLibDefViewCommon::pDView, and KLFLibDefaultView::slotSelectAll().
|
inlinevirtual |
Definition at line 661 of file klflibview_p.h.
References KLFLibDefViewCommon::setTheModel().
|
inlineprotected |
Definition at line 701 of file klflibview_p.h.
References KLFLibDefViewCommon::commonStartDrag().
|
inlineprotectedvirtual |
Implements KLFLibDefViewCommon.
Definition at line 694 of file klflibview_p.h.
|
inlineprotectedvirtual |
Implements KLFLibDefViewCommon.
Definition at line 693 of file klflibview_p.h.
|
protected |
Definition at line 705 of file klflibview_p.h.
|
protected |
Definition at line 717 of file klflibview_p.h.
Referenced by eventFilter().