author | cniehaus <cniehaus> | 2002-09-16 22:24:44 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-09-16 22:24:44 (UTC) |
commit | 537aee09b7df89a166debf5ffd14286cbb636898 (patch) (unidiff) | |
tree | f6c406908c20e603cb3b36ef3ca169978aa47bcc | |
parent | 4ed76b385054144663500e7a145d2644620973f5 (diff) | |
download | opie-537aee09b7df89a166debf5ffd14286cbb636898.zip opie-537aee09b7df89a166debf5ffd14286cbb636898.tar.gz opie-537aee09b7df89a166debf5ffd14286cbb636898.tar.bz2 |
ok, finetuning + compilefixed. Thats all for today
-rw-r--r-- | noncore/apps/oxygen/.cvsignore | 2 | ||||
-rw-r--r-- | noncore/apps/oxygen/dataTable.cpp | 24 | ||||
-rw-r--r-- | noncore/apps/oxygen/dataTable.h | 22 | ||||
-rw-r--r-- | noncore/apps/oxygen/datawidgetui.h | 2 |
4 files changed, 47 insertions, 3 deletions
diff --git a/noncore/apps/oxygen/.cvsignore b/noncore/apps/oxygen/.cvsignore index 194054e..af13397 100644 --- a/noncore/apps/oxygen/.cvsignore +++ b/noncore/apps/oxygen/.cvsignore | |||
@@ -1,7 +1,5 @@ | |||
1 | calcdlg.h | 1 | calcdlg.h |
2 | calcdlg.cpp | 2 | calcdlg.cpp |
3 | datawidget.h | ||
4 | datawidget.cpp | ||
5 | moc_* | 3 | moc_* |
6 | *.moc | 4 | *.moc |
7 | Makefile* | 5 | Makefile* |
diff --git a/noncore/apps/oxygen/dataTable.cpp b/noncore/apps/oxygen/dataTable.cpp new file mode 100644 index 0000000..80c0311 --- a/dev/null +++ b/noncore/apps/oxygen/dataTable.cpp | |||
@@ -0,0 +1,24 @@ | |||
1 | /*************************************************************************** | ||
2 | * * | ||
3 | * This program is free software; you can redistribute it and/or modify * | ||
4 | * it under the terms of the GNU General Public License as published by * | ||
5 | * the Free Software Foundation; either version 2 of the License, or * | ||
6 | * ( at your option ) any later version. * | ||
7 | * * | ||
8 | **************************************************************************/ | ||
9 | #include "oxygen.h" | ||
10 | |||
11 | #include "dataTable.h" | ||
12 | #include <qtable.h> | ||
13 | |||
14 | dataTable::dataTable() : QTable() | ||
15 | { | ||
16 | } | ||
17 | |||
18 | void dataTable::paintCell( QPainter *p, int, int, const QRect &cr, bool ) | ||
19 | { | ||
20 | if ( currentRow()%2) qDebug("foo" ); | ||
21 | } | ||
22 | |||
23 | |||
24 | |||
diff --git a/noncore/apps/oxygen/dataTable.h b/noncore/apps/oxygen/dataTable.h new file mode 100644 index 0000000..7fd9517 --- a/dev/null +++ b/noncore/apps/oxygen/dataTable.h | |||
@@ -0,0 +1,22 @@ | |||
1 | |||
2 | /*************************************************************************** | ||
3 | * * | ||
4 | * This program is free software; you can redistribute it and/or modify * | ||
5 | * it under the terms of the GNU General Public License as published by * | ||
6 | * the Free Software Foundation; either version 2 of the License, or * | ||
7 | * ( at your option ) any later version. * | ||
8 | * * | ||
9 | **************************************************************************/ | ||
10 | |||
11 | #include <qtable.h> | ||
12 | |||
13 | class dataTable : public QTable | ||
14 | { | ||
15 | Q_OBJECT | ||
16 | |||
17 | public: | ||
18 | dataTable(); | ||
19 | |||
20 | protected: | ||
21 | virtual void paintCell( QPainter *p, int row, int col, const QRect &cr, bool selected ); | ||
22 | }; | ||
diff --git a/noncore/apps/oxygen/datawidgetui.h b/noncore/apps/oxygen/datawidgetui.h index a158545..0911f03 100644 --- a/noncore/apps/oxygen/datawidgetui.h +++ b/noncore/apps/oxygen/datawidgetui.h | |||
@@ -2,18 +2,18 @@ | |||
2 | /*************************************************************************** | 2 | /*************************************************************************** |
3 | * * | 3 | * * |
4 | * This program is free software; you can redistribute it and/or modify * | 4 | * This program is free software; you can redistribute it and/or modify * |
5 | * it under the terms of the GNU General Public License as published by * | 5 | * it under the terms of the GNU General Public License as published by * |
6 | * the Free Software Foundation; either version 2 of the License, or * | 6 | * the Free Software Foundation; either version 2 of the License, or * |
7 | * ( at your option ) any later version. * | 7 | * ( at your option ) any later version. * |
8 | * * | 8 | * * |
9 | **************************************************************************/ | 9 | **************************************************************************/ |
10 | #include "datawidget.h" | ||
11 | #include "dataTable.h" | 10 | #include "dataTable.h" |
11 | #include <qdialog.h> | ||
12 | 12 | ||
13 | class QTable; | 13 | class QTable; |
14 | class QComboBox; | 14 | class QComboBox; |
15 | 15 | ||
16 | class dataWidgetUI : public QDialog | 16 | class dataWidgetUI : public QDialog |
17 | { | 17 | { |
18 | Q_OBJECT | 18 | Q_OBJECT |
19 | 19 | ||