• 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
expandingdelegate.cpp File Reference
#include "expandingdelegate.h"
#include <QtGui/QTextLine>
#include <QtGui/QPainter>
#include <QtGui/QBrush>
#include <QKeyEvent>
#include <QTreeView>
#include <QApplication>
#include <kdebug.h>
#include "expandingwidgetmodel.h"
#include "expandingdelegate.moc"
Include dependency graph for expandingdelegate.cpp:

Go to the source code of this file.

Functions

static void dampColors (QColor &col)
 
static QColor getUsedBackgroundColor (const QStyleOptionViewItem &option, const QModelIndex &index)
 
static double readabilityContrast (QColor foreground, QColor background)
 

Function Documentation

static void dampColors ( QColor &  col)
static

Definition at line 58 of file expandingdelegate.cpp.

static QColor getUsedBackgroundColor ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
)
static

Definition at line 41 of file expandingdelegate.cpp.

static double readabilityContrast ( QColor  foreground,
QColor  background 
)
static

Definition at line 67 of file expandingdelegate.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