summaryrefslogtreecommitdiff
path: root/noncore/apps/oxygen/dataTable.h
Unidiff
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