Kate
KateCompletionTree Class Reference
#include <katecompletiontree.h>
Public Member Functions | |
| void | bottom () |
| int | columnTextViewportPosition (int column) const |
| KateCompletionTree (KateCompletionWidget *parent) | |
| KateCompletionModel * | kateModel () const |
| bool | nextCompletion () |
| bool | pageDown () |
| bool | pageUp () |
| bool | previousCompletion () |
| void | resizeColumns (bool fromResizeEvent=false, bool firstShow=false, bool forceResize=false) |
| void | scheduleUpdate () |
| void | setScrollingEnabled (bool) |
| void | top () |
| KateCompletionWidget * | widget () const |
Protected Member Functions | |
| virtual void | currentChanged (const QModelIndex ¤t, const QModelIndex &previous) |
| virtual void | scrollContentsBy (int dx, int dy) |
| virtual QStyleOptionViewItem | viewOptions () const |
Detailed Description
Definition at line 30 of file katecompletiontree.h.
Constructor & Destructor Documentation
| KateCompletionTree::KateCompletionTree | ( | KateCompletionWidget * | parent | ) | [explicit] |
- Todo:
- uncomment this once we're sure it isn't called too often, or maybe use a timer.
Definition at line 37 of file katecompletiontree.cpp.
Member Function Documentation
| void KateCompletionTree::bottom | ( | ) |
Definition at line 389 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 84 of file katecompletiontree.cpp.
| void KateCompletionTree::currentChanged | ( | const QModelIndex & | current, | |
| const QModelIndex & | previous | |||
| ) | [protected, virtual] |
Definition at line 66 of file katecompletiontree.cpp.
| KateCompletionModel * KateCompletionTree::kateModel | ( | ) | const |
Definition at line 290 of file katecompletiontree.cpp.
| bool KateCompletionTree::nextCompletion | ( | ) |
Definition at line 295 of file katecompletiontree.cpp.
| bool KateCompletionTree::pageDown | ( | ) |
Definition at line 342 of file katecompletiontree.cpp.
| bool KateCompletionTree::pageUp | ( | ) |
Definition at line 358 of file katecompletiontree.cpp.
| bool KateCompletionTree::previousCompletion | ( | ) |
Definition at line 318 of file katecompletiontree.cpp.
| void KateCompletionTree::resizeColumns | ( | bool | fromResizeEvent = false, |
|
| bool | firstShow = false, |
|||
| bool | forceResize = false | |||
| ) |
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 112 of file katecompletiontree.cpp.
| void KateCompletionTree::scheduleUpdate | ( | ) |
Definition at line 384 of file katecompletiontree.cpp.
| void KateCompletionTree::scrollContentsBy | ( | int | dx, | |
| int | dy | |||
| ) | [protected, virtual] |
Not available as a signal in this way.
Definition at line 75 of file katecompletiontree.cpp.
| void KateCompletionTree::setScrollingEnabled | ( | bool | enabled | ) |
Definition at line 71 of file katecompletiontree.cpp.
| void KateCompletionTree::top | ( | ) |
Definition at line 372 of file katecompletiontree.cpp.
| QStyleOptionViewItem KateCompletionTree::viewOptions | ( | ) | const [protected, virtual] |
Definition at line 281 of file katecompletiontree.cpp.
| KateCompletionWidget * KateCompletionTree::widget | ( | ) | const |
Definition at line 101 of file katecompletiontree.cpp.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference