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) (ignore 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 @@ -1,22 +1,34 @@ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * ( at your option ) any later version. * * * **************************************************************************/ +#ifndef _DATATABLE_H +#define _DATATABLE_H + + #include <qtable.h> -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 |