Diffstat (limited to 'noncore/apps/oxygen/dataTable.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/dataTable.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/noncore/apps/oxygen/dataTable.h b/noncore/apps/oxygen/dataTable.h index ccc4300..00063d4 100644 --- a/noncore/apps/oxygen/dataTable.h +++ b/noncore/apps/oxygen/dataTable.h | |||
@@ -7,24 +7,25 @@ | |||
7 | * ( at your option ) any later version. * | 7 | * ( at your option ) any later version. * |
8 | * * | 8 | * * |
9 | **************************************************************************/ | 9 | **************************************************************************/ |
10 | 10 | ||
11 | #ifndef _DATATABLE_H | 11 | #ifndef _DATATABLE_H |
12 | #define _DATATABLE_H | 12 | #define _DATATABLE_H |
13 | 13 | ||
14 | #include <qwidget.h> | 14 | #include <qwidget.h> |
15 | #include <qtable.h> | 15 | #include <qtable.h> |
16 | 16 | ||
17 | class QLabel; | 17 | class QLabel; |
18 | class OxydataTable; | 18 | class OxydataTable; |
19 | class QTableItem; | ||
19 | 20 | ||
20 | /* | 21 | /* |
21 | * A OxydataWidget shows all known data of an element. It can | 22 | * A OxydataWidget shows all known data of an element. It can |
22 | * be used for both the PSE and the pure Data-Dialog. It is | 23 | * be used for both the PSE and the pure Data-Dialog. It is |
23 | * a simple QHBox with 2 QStrings in it plus a OxydataTable | 24 | * a simple QHBox with 2 QStrings in it plus a OxydataTable |
24 | * which contains the rest of the data. | 25 | * which contains the rest of the data. |
25 | * | 26 | * |
26 | * Author: Carsten Niehaus <cniehaus@handhelds.org> | 27 | * Author: Carsten Niehaus <cniehaus@handhelds.org> |
27 | */ | 28 | */ |
28 | 29 | ||
29 | class OxydataWidget : public QWidget | 30 | class OxydataWidget : public QWidget |
30 | { | 31 | { |
@@ -50,21 +51,31 @@ class OxydataWidget : public QWidget | |||
50 | * | 51 | * |
51 | * Author: Carsten Niehaus <cniehaus@handhelds.org> | 52 | * Author: Carsten Niehaus <cniehaus@handhelds.org> |
52 | */ | 53 | */ |
53 | 54 | ||
54 | class OxydataTable : public QTable | 55 | class OxydataTable : public QTable |
55 | { | 56 | { |
56 | Q_OBJECT | 57 | Q_OBJECT |
57 | 58 | ||
58 | public: | 59 | public: |
59 | OxydataTable( int numRows, int numCols, | 60 | OxydataTable( int numRows, int numCols, |
60 | QWidget *parent = 0, const char *name = 0 ); | 61 | QWidget *parent = 0, const char *name = 0 ); |
61 | 62 | ||
63 | virtual int alignment() const; | ||
64 | // virtual QTableItem *item( int row, int col ) const; | ||
65 | |||
62 | protected: | 66 | protected: |
63 | /* | 67 | /* |
64 | * This method is reimplemented form QTable. It implements the colourisation | 68 | * This method is reimplemented form QTable. It implements the colourisation |
65 | * of every second row. | 69 | * of every second row. |
66 | */ | 70 | */ |
67 | virtual void paintCell( QPainter *p, int row, int col, const QRect &cr, bool selected ); | 71 | virtual void paintCell( QPainter *p, int row, int col, const QRect &cr, bool selected ); |
68 | }; | 72 | }; |
69 | 73 | ||
74 | //X class OxydataQTI : QTableItem | ||
75 | //X { | ||
76 | //X Q_OBJECT | ||
77 | //X | ||
78 | //X public: | ||
79 | //X OxydataQTI( | ||
80 | |||
70 | #endif | 81 | #endif |