[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes
KLFLibDefTreeView Class Reference

#include <klflibview_p.h>

Inheritance diagram for KLFLibDefTreeView:
Inheritance graph
[legend]
Collaboration diagram for KLFLibDefTreeView:
Collaboration graph
[legend]

List of all members.

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)
- Public Member Functions inherited from QTreeView
 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 &current, 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 &region)
 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)
 rowsRemoved (const QModelIndex &parent, int start, int end)
 scrollContentsBy (int dx, int dy)
 scrollTo (const QModelIndex &index, ScrollHint hint=EnsureVisible)
 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)
- Public Member Functions inherited from KLFLibDefViewCommon
 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)
QAbstractItemViewthisView ()
const QAbstractItemViewthisConstView () 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 Member Functions inherited from KLFLibDefViewCommon
virtual QPoint eventPos (QObject *object, QDragEnterEvent *event, int horoffset, int veroffset)
virtual bool setTheModel (QAbstractItemModel *m)

Protected Attributes

bool inPaintEvent
bool pInEventFilter
- Protected Attributes inherited from KLFLibDefViewCommon
KLFLibModelpModel
KLFLibDefaultViewpDView
KLFLibDefaultView::ViewType pViewType
QPoint mousePressedContentsPos

Detailed Description

Definition at line 631 of file klflibview_p.h.


Constructor & Destructor Documentation

KLFLibDefTreeView::KLFLibDefTreeView ( KLFLibDefaultView parent)
inline

Definition at line 635 of file klflibview_p.h.


Member Function Documentation

void KLFLibDefTreeView::commonInternalDrag ( Qt::DropActions  )
inlineprotectedvirtual

Implements KLFLibDefViewCommon.

Definition at line 692 of file klflibview_p.h.

QModelIndexList KLFLibDefTreeView::commonSelectedIndexes ( ) const
inlineprotectedvirtual

Implements KLFLibDefViewCommon.

Definition at line 691 of file klflibview_p.h.

void KLFLibDefTreeView::ensureExpandedTo ( const QModelIndexList &  mil)
inlineslot
virtual bool KLFLibDefTreeView::eventFilter ( QObject object,
QEvent event 
)
inlinevirtual
QPoint KLFLibDefTreeView::eventPos ( QObject object,
QDragEnterEvent event 
)
inlineprotected

Definition at line 697 of file klflibview_p.h.

References QTreeView::horizontalOffset(), and QTreeView::verticalOffset().

Referenced by eventFilter().

virtual void KLFLibDefTreeView::paintEvent ( QPaintEvent event)
inlineprotectedvirtual

Definition at line 706 of file klflibview_p.h.

virtual void KLFLibDefTreeView::rowsInserted ( const QModelIndex parent,
int  start,
int  end 
)
inlineprotectedvirtual

Reimplemented from QTreeView.

Definition at line 711 of file klflibview_p.h.

References KLF_DEBUG_TIME_BLOCK, and KLF_FUNC_NAME.

QPoint KLFLibDefTreeView::scrollOffset ( ) const
inlineprotectedvirtual

Implements KLFLibDefViewCommon.

Definition at line 695 of file klflibview_p.h.

References QTreeView::horizontalOffset(), and QTreeView::verticalOffset().

virtual void KLFLibDefTreeView::selectAll ( )
inlinevirtualslot

Reimplemented from QTreeView.

Definition at line 670 of file klflibview_p.h.

References KLFLibDefViewCommon::pDView, and KLFLibDefaultView::slotSelectAll().

virtual void KLFLibDefTreeView::setModel ( QAbstractItemModel model)
inlinevirtual

Definition at line 661 of file klflibview_p.h.

References KLFLibDefViewCommon::setTheModel().

void KLFLibDefTreeView::startDrag ( Qt::DropActions  supportedActions)
inlineprotected

Definition at line 701 of file klflibview_p.h.

References KLFLibDefViewCommon::commonStartDrag().

const QAbstractItemView* KLFLibDefTreeView::thisConstView ( ) const
inlineprotectedvirtual

Implements KLFLibDefViewCommon.

Definition at line 694 of file klflibview_p.h.

QAbstractItemView* KLFLibDefTreeView::thisView ( )
inlineprotectedvirtual

Implements KLFLibDefViewCommon.

Definition at line 693 of file klflibview_p.h.


Member Data Documentation

bool KLFLibDefTreeView::inPaintEvent
protected

Definition at line 705 of file klflibview_p.h.

bool KLFLibDefTreeView::pInEventFilter
protected

Definition at line 717 of file klflibview_p.h.

Referenced by eventFilter().


The documentation for this class was generated from the following file:

Generated by doxygen 1.8.1