#include <ResultListItem.h>
Public Member Functions | |
ResultListItem (QListView *parent, Term *term, const QString &firstLanguage, const QString &testLanguage, const QString &vocabTitle, const QString &location, bool isAltShown=true) | |
~ResultListItem () | |
Term * | getTerm () |
void | setup () |
void | updateUi () |
void | setFont (int column, const QFont &font) |
QFont | font (int column) const |
virtual void | paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align) |
Definition at line 13 of file ResultListItem.h.
ResultListItem::ResultListItem | ( | QListView * | parent, | |
Term * | term, | |||
const QString & | firstLanguage, | |||
const QString & | testLanguage, | |||
const QString & | vocabTitle, | |||
const QString & | location, | |||
bool | isAltShown = true | |||
) |
Definition at line 3 of file ResultListItem.cpp.
ResultListItem::~ResultListItem | ( | ) |
Definition at line 9 of file ResultListItem.cpp.
Term * ResultListItem::getTerm | ( | ) |
Definition at line 47 of file ResultListItem.cpp.
void ResultListItem::setup | ( | ) |
Definition at line 12 of file ResultListItem.cpp.
void ResultListItem::updateUi | ( | ) |
Definition at line 23 of file ResultListItem.cpp.
void ResultListItem::setFont | ( | int | column, | |
const QFont & | font | |||
) |
Definition at line 51 of file ResultListItem.cpp.
QFont ResultListItem::font | ( | int | column | ) | const |
Definition at line 55 of file ResultListItem.cpp.
void ResultListItem::paintCell | ( | QPainter * | p, | |
const QColorGroup & | cg, | |||
int | column, | |||
int | width, | |||
int | align | |||
) | [virtual] |
Definition at line 62 of file ResultListItem.cpp.