• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Kate

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"

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 56 of file expandingdelegate.cpp.

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

Definition at line 39 of file expandingdelegate.cpp.

static double readabilityContrast ( QColor  foreground,
QColor  background 
) [static]

Definition at line 65 of file expandingdelegate.cpp.

Kate

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal