• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

  • kde-4.14
  • applications
  • kate
  • part
  • completion
  • expandingtree
Functions
expandingwidgetmodel.cpp File Reference
#include "expandingwidgetmodel.h"
#include <QTreeView>
#include <QModelIndex>
#include <QBrush>
#include <ktexteditor/codecompletionmodel.h>
#include <kiconloader.h>
#include <ktextedit.h>
#include "kcolorutils.h"
#include "expandingdelegate.h"
#include <qapplication.h>
#include "expandingwidgetmodel.moc"
Include dependency graph for expandingwidgetmodel.cpp:

Go to the source code of this file.

Functions

static QColor doAlternate (QColor color)
 
QModelIndex firstColumn (const QModelIndex &index)
 
QList< QVariant > mergeCustomHighlighting (int leftSize, const QList< QVariant > &left, int rightSize, const QList< QVariant > &right)
 
QList< QVariant > mergeCustomHighlighting (QStringList strings, QList< QVariantList > highlights, int grapBetweenStrings)
 

Function Documentation

static QColor doAlternate ( QColor  color)
static

Definition at line 53 of file expandingwidgetmodel.cpp.

QModelIndex firstColumn ( const QModelIndex &  index)
inline

Definition at line 40 of file expandingwidgetmodel.cpp.

QList<QVariant> mergeCustomHighlighting ( int  leftSize,
const QList< QVariant > &  left,
int  rightSize,
const QList< QVariant > &  right 
)

Definition at line 449 of file expandingwidgetmodel.cpp.

QList<QVariant> mergeCustomHighlighting ( QStringList  strings,
QList< QVariantList >  highlights,
int  gapBetweenStrings = 0 
)

Helper-function to merge custom-highlighting variant-lists.

Parameters
stringsA list of strings that should be merged
highlightsOne variant-list for highlighting, as described in the kde header ktextedtor/codecompletionmodel.h
gapBetweenStringsHow many signs are inserted between 2 strings?

Definition at line 490 of file expandingwidgetmodel.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal