Kate
kateargumenthinttree.cpp
Go to the documentation of this file.
36 KateArgumentHintTree::KateArgumentHintTree( KateCompletionWidget* parent ) : ExpandingTree(0), m_parent(parent) { //Do not use the completion-widget as widget-parent, because the argument-hint-tree will be rendered separately
69 void KateArgumentHintTree::dataChanged ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) {
74 void KateArgumentHintTree::currentChanged ( const QModelIndex & current, const QModelIndex & previous ) {
166 setHorizontalScrollBarPolicy( enableScrollBars ? Qt::ScrollBarAlwaysOn : Qt::ScrollBarAlwaysOff );
void moveBottom(int y)
void setBottom(int y)
const QRect screenGeometry(int screen) const
virtual void paintEvent(QPaintEvent *event)
void setAlternatingRowColors(bool enable)
virtual void rowsInserted(const QModelIndex &parent, int start, int end)
Definition: kateargumenthinttree.cpp:80
Definition: kateargumenthintmodel.h:30
void setCurrentIndex(const QModelIndex &index)
virtual QModelIndex moveCursor(CursorAction cursorAction, QFlags< Qt::KeyboardModifier > modifiers)
int right() const
virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous)
void setFocusPolicy(Qt::FocusPolicy policy)
virtual void paintEvent(QPaintEvent *event)
Definition: kateargumenthinttree.cpp:64
Definition: expandingtree.h:28
void setUniformRowHeights(bool uniform)
int height() const
void setAnimated(bool enable)
void setVerticalScrollMode(ScrollMode mode)
void setFrameStyle(int style)
void setLineWidth(int)
void moveLeft(int x)
void setGeometry(int x, int y, int w, int h)
void moveTo(int x, int y)
int width() const
virtual int sizeHintForColumn(int column) const
bool isValid() const
void setColumnWidth(int column, int width)
This is the code completion's main widget, and also contains the core interface logic.
Definition: katecompletionwidget.h:55
virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
Definition: kateargumenthinttree.cpp:69
KateArgumentHintTree(KateCompletionWidget *parent)
Definition: kateargumenthinttree.cpp:36
int top() const
virtual int rowCount(const QModelIndex &parent) const
Definition: kateargumenthintmodel.cpp:226
void setUpdatesEnabled(bool enable)
int left() const
virtual void rowsInserted(const QModelIndex &parent, int start, int end)
void setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy)
void setWidth(int width)
void setItemDelegate(QAbstractItemDelegate *delegate)
int row() const
bool previousCompletion()
Definition: kateargumenthinttree.cpp:218
void deleteLater()
void setAllColumnsShowFocus(bool enable)
void hide()
QModelIndex parent() const
QSize sizeHintForIndex(const QModelIndex &index) const
void setIndentation(int i)
virtual void scrollTo(const QModelIndex &index, ScrollHint hint)
QModelIndex child(int row, int column) const
KateArgumentHintModel * argumentHintModel() const
Definition: katecompletionwidget.cpp:248
void setWindowFlags(QFlags< Qt::WindowType > type)
virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous)
Definition: kateargumenthinttree.cpp:74
int width() const
const QAbstractItemModel * model() const
int frameWidth() const
QDesktopWidget * desktop()
QModelIndex sibling(int row, int column) const
void setHeight(int height)
virtual bool indexIsItem(const QModelIndex &index) const
Should return true if the given row should be painted like a contained item(as opposed to label-rows ...
Definition: kateargumenthintmodel.cpp:253
virtual int columnCount(const QModelIndex &parent) const =0
int height() const
int bottom() const
QScrollBar * horizontalScrollBar() const
QHeaderView * header() const
void moveRight(int x)
QModelIndex currentIndex() const
void setRootIsDecorated(bool show)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
void destroyed(QObject *obj)
int count() const
height
Cares about expanding/un-expanding items in a tree-view together with ExpandingDelegate.
Definition: expandingwidgetmodel.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.