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"
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 56 of file expandingdelegate.cpp.
static QColor getUsedBackgroundColor | ( | const QStyleOptionViewItem & | option, | |
const QModelIndex & | index | |||
) | [static] |
Definition at line 39 of file expandingdelegate.cpp.
Definition at line 65 of file expandingdelegate.cpp.