From bb15715567b88dd01f074092c1c4c3b7e0702693 Mon Sep 17 00:00:00 2001 From: cniehaus Date: Tue, 17 Sep 2002 11:26:33 +0000 Subject: first attempt of a reimplementation of paintCell --- (limited to 'noncore/apps/oxygen/dataTable.h') diff --git a/noncore/apps/oxygen/dataTable.h b/noncore/apps/oxygen/dataTable.h index 7fd9517..5adbcc2 100644 --- a/noncore/apps/oxygen/dataTable.h +++ b/noncore/apps/oxygen/dataTable.h @@ -8,15 +8,27 @@ * * **************************************************************************/ +#ifndef _DATATABLE_H +#define _DATATABLE_H + + #include -class dataTable : public QTable +class OxydataTable : public QTable { Q_OBJECT public: - dataTable(); + OxydataTable(); + OxydataTable( int numRows, int numCols, + QWidget *parent = 0, const char *name = 0 ); protected: + /* + * This method is reimplemented form QTable. It implements the colourisation + * of every second row. + */ virtual void paintCell( QPainter *p, int row, int col, const QRect &cr, bool selected ); }; + +#endif -- cgit v0.9.0.2