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 | |||
@@ -13,12 +13,13 @@ | |||
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. |
@@ -56,15 +57,25 @@ class OxydataTable : public QTable | |||
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 |