Kate
#include <katecompletiontree.h>
Public Member Functions | |
KateCompletionTree (KateCompletionWidget *parent) | |
void | bottom () |
int | columnTextViewportPosition (int column) const |
KateCompletionModel * | kateModel () const |
bool | nextCompletion () |
bool | pageDown () |
bool | pageUp () |
bool | previousCompletion () |
void | resizeColumns (bool firstShow=false, bool forceResize=false) |
void | scheduleUpdate () |
void | setScrollingEnabled (bool) |
void | top () |
KateCompletionWidget * | widget () const |
Public Member Functions inherited from ExpandingTree | |
ExpandingTree (QWidget *parent) | |
Protected Member Functions | |
virtual void | currentChanged (const QModelIndex ¤t, const QModelIndex &previous) |
virtual void | scrollContentsBy (int dx, int dy) |
virtual QStyleOptionViewItem | viewOptions () const |
Protected Member Functions inherited from ExpandingTree | |
virtual void | drawRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
virtual int | sizeHintForColumn (int column) const |
Detailed Description
Definition at line 32 of file katecompletiontree.h.
Constructor & Destructor Documentation
|
explicit |
- Todo:
- uncomment this once we're sure it isn't called too often, or maybe use a timer.
Definition at line 39 of file katecompletiontree.cpp.
Member Function Documentation
void KateCompletionTree::bottom | ( | ) |
Definition at line 391 of file katecompletiontree.cpp.
int KateCompletionTree::columnTextViewportPosition | ( | int | column | ) | const |
Returns the approximated viewport position of the text in the given column, skipping an eventual icon.
Definition at line 86 of file katecompletiontree.cpp.
|
protectedvirtual |
Definition at line 68 of file katecompletiontree.cpp.
KateCompletionModel * KateCompletionTree::kateModel | ( | ) | const |
Definition at line 292 of file katecompletiontree.cpp.
bool KateCompletionTree::nextCompletion | ( | ) |
Definition at line 297 of file katecompletiontree.cpp.
bool KateCompletionTree::pageDown | ( | ) |
Definition at line 344 of file katecompletiontree.cpp.
bool KateCompletionTree::pageUp | ( | ) |
Definition at line 360 of file katecompletiontree.cpp.
bool KateCompletionTree::previousCompletion | ( | ) |
Definition at line 320 of file katecompletiontree.cpp.
Step 1: Compute the needed column-sizes for the visible content
Step 2: Update column-sizes
Step 3: Update widget-size and -position
Definition at line 114 of file katecompletiontree.cpp.
void KateCompletionTree::scheduleUpdate | ( | ) |
Definition at line 386 of file katecompletiontree.cpp.
|
protectedvirtual |
Not available as a signal in this way.
Definition at line 77 of file katecompletiontree.cpp.
void KateCompletionTree::setScrollingEnabled | ( | bool | enabled | ) |
Definition at line 73 of file katecompletiontree.cpp.
void KateCompletionTree::top | ( | ) |
Definition at line 374 of file katecompletiontree.cpp.
|
protectedvirtual |
Definition at line 283 of file katecompletiontree.cpp.
KateCompletionWidget * KateCompletionTree::widget | ( | ) | const |
Definition at line 103 of file katecompletiontree.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.