Kate
expandingwidgetmodel.cpp File Reference
#include "expandingwidgetmodel.h"
#include <QTreeView>
#include <QModelIndex>
#include <QBrush>
#include <ktexteditor/codecompletionmodel.h>
#include <kiconloader.h>
#include <ktextedit.h>
#include "expandingdelegate.h"
#include "expandingwidgetmodel.moc"
Include dependency graph for expandingwidgetmodel.cpp:

Go to the source code of this file.
Functions | |
QModelIndex | firstColumn (const QModelIndex &index) |
QList< QVariant > | mergeCustomHighlighting (QStringList strings, QList< QVariantList > highlights, int grapBetweenStrings) |
QList< QVariant > | mergeCustomHighlighting (int leftSize, const QList< QVariant > &left, int rightSize, const QList< QVariant > &right) |
Function Documentation
QModelIndex firstColumn | ( | const QModelIndex & | index | ) | [inline] |
Definition at line 36 of file expandingwidgetmodel.cpp.
QList<QVariant> mergeCustomHighlighting | ( | QStringList | strings, | |
QList< QVariantList > | highlights, | |||
int | gapBetweenStrings = 0 | |||
) |
Helper-function to merge custom-highlighting variant-lists.
- Parameters:
-
stings A list of strings that should be merged highlights One variant-list for highlighting, as described in the kde header ktextedtor/codecompletionmodel.h gapBetweenStrings How many signs are inserted between 2 strings?
Definition at line 471 of file expandingwidgetmodel.cpp.
QList<QVariant> mergeCustomHighlighting | ( | int | leftSize, | |
const QList< QVariant > & | left, | |||
int | rightSize, | |||
const QList< QVariant > & | right | |||
) |
Definition at line 430 of file expandingwidgetmodel.cpp.