#include <LogMessageColumnDelegate.h>
Public Member Functions | |
LogMessageColumnDelegate (QObject *parent=0) | |
virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Definition at line 23 of file LogMessageColumnDelegate.h.
LogMessageColumnDelegate::LogMessageColumnDelegate | ( | QObject * | parent = 0 |
) |
Default constructor.
Definition at line 21 of file LogMessageColumnDelegate.cpp.
void LogMessageColumnDelegate::paint | ( | QPainter * | painter, | |
const QStyleOptionViewItem & | option, | |||
const QModelIndex & | index | |||
) | const [virtual] |
Overrides the default paint() method so that we can prevent Qt from munging Tor's log messages when using a Right-to-Left layout (e.g. when viewing Vidalia in Farsi).
Definition at line 30 of file LogMessageColumnDelegate.cpp.