00001 // LabPlot : LTableItem.h 00002 00003 #ifndef LTABLEITEM_H 00004 #define LTABLEITEM_H 00005 00006 #include <qtable.h> 00007 00008 class LTableItem : public QTableItem { 00009 // Q_OBJECT 00010 public: 00011 LTableItem( QTable *table , EditType type, const QString & text, QColor c=Qt::red ); 00012 void paint ( QPainter * , const QColorGroup & , const QRect &, bool ); 00013 QColor Color() { return color; } 00014 private: 00015 QColor color; 00016 }; 00017 00018 #endif // LTABLEITEM_H