#include <coloredtableitem.h>


Public Member Functions | |
| ColoredTableItem (const QColor &col, bool override, const QString &text) | |
Private Attributes | |
| bool | m_Override |
| QColor | m_CellColor |
Definition at line 6 of file coloredtableitem.h.
| ColoredTableItem::ColoredTableItem | ( | const QColor & | col, | |
| bool | override, | |||
| const QString & | text | |||
| ) |
Definition at line 6 of file coloredtableitem.cpp.
00007 : QTableWidgetItem(text), 00008 m_Override(override), 00009 m_CellColor(col) 00010 { 00011 #if QT_VERSION >= 0x040200 00012 setForeground(col); 00013 00014 if (override) { 00015 setBackground(QColor(240,240,240,255)); 00016 } else { 00017 setBackground(Qt::white); 00018 } 00019 #endif 00020 }
bool ColoredTableItem::m_Override [private] |
Definition at line 12 of file coloredtableitem.h.
QColor ColoredTableItem::m_CellColor [private] |
Definition at line 13 of file coloredtableitem.h.
1.5.5