author | cniehaus <cniehaus> | 2002-09-17 11:26:33 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-09-17 11:26:33 (UTC) |
commit | bb15715567b88dd01f074092c1c4c3b7e0702693 (patch) (side-by-side diff) | |
tree | 01bbe60177230f5e9b5b482c4e436e454b5c933e /noncore/apps/oxygen/dataTable.h | |
parent | 92b88813ad8d6352fbf74964fc56dfc1a2aada8c (diff) | |
download | opie-bb15715567b88dd01f074092c1c4c3b7e0702693.zip opie-bb15715567b88dd01f074092c1c4c3b7e0702693.tar.gz opie-bb15715567b88dd01f074092c1c4c3b7e0702693.tar.bz2 |
first attempt of a reimplementation of paintCell
Diffstat (limited to 'noncore/apps/oxygen/dataTable.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/dataTable.h | 16 |
1 files changed, 14 insertions, 2 deletions
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 @@ -10,5 +10,9 @@ +#ifndef _DATATABLE_H +#define _DATATABLE_H + + #include <qtable.h> -class dataTable : public QTable +class OxydataTable : public QTable { @@ -17,6 +21,14 @@ class dataTable : public QTable 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 |