summaryrefslogtreecommitdiff
path: root/noncore/apps/oxygen/dataTable.h
authorcniehaus <cniehaus>2002-09-18 13:54:36 (UTC)
committer cniehaus <cniehaus>2002-09-18 13:54:36 (UTC)
commit6008e7d286293a87fca4ff43729bdfa66d700989 (patch) (unidiff)
treebd0b5067e9914f0aca79540511dceea662a11d62 /noncore/apps/oxygen/dataTable.h
parent15ecc4aa71878039ad40ce270fae06282d8e98c2 (diff)
downloadopie-6008e7d286293a87fca4ff43729bdfa66d700989.zip
opie-6008e7d286293a87fca4ff43729bdfa66d700989.tar.gz
opie-6008e7d286293a87fca4ff43729bdfa66d700989.tar.bz2
This is far better: I use 2 more classes, everything is far more OO
Diffstat (limited to 'noncore/apps/oxygen/dataTable.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/oxygen/dataTable.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/noncore/apps/oxygen/dataTable.h b/noncore/apps/oxygen/dataTable.h
index 908d241..624e8bd 100644
--- a/noncore/apps/oxygen/dataTable.h
+++ b/noncore/apps/oxygen/dataTable.h
@@ -11,8 +11,37 @@
11#ifndef _DATATABLE_H 11#ifndef _DATATABLE_H
12#define _DATATABLE_H 12#define _DATATABLE_H
13 13
14#include <qwidget.h>
14#include <qtable.h> 15#include <qtable.h>
15 16
17class QLabel;
18class OxydataTable;
19
20class OxydataWidget : public QWidget
21{
22 Q_OBJECT
23
24 public:
25 OxydataWidget(QWidget *parent=0);
26
27 QLabel *left, *middle, *right;
28
29 private:
30 OxydataTable *DataTable;
31 void setTable();
32
33 public slots:
34 void setElement( int );
35};
36
37/*
38 * A OxydataTable is derived from QTable. I recoded the paintCell to have
39 * different colors in the backgound. Furthermore this widget never has a
40 * grid, thus I removed that code in paintCell.
41 *
42 * Author: Carsten Niehaus <cniehaus@handhelds.org>
43 */
44
16class OxydataTable : public QTable 45class OxydataTable : public QTable
17{ 46{
18 Q_OBJECT 47 Q_OBJECT