summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-09-16 22:24:44 (UTC)
committer cniehaus <cniehaus>2002-09-16 22:24:44 (UTC)
commit537aee09b7df89a166debf5ffd14286cbb636898 (patch) (side-by-side diff)
treef6c406908c20e603cb3b36ef3ca169978aa47bcc
parent4ed76b385054144663500e7a145d2644620973f5 (diff)
downloadopie-537aee09b7df89a166debf5ffd14286cbb636898.zip
opie-537aee09b7df89a166debf5ffd14286cbb636898.tar.gz
opie-537aee09b7df89a166debf5ffd14286cbb636898.tar.bz2
ok, finetuning + compilefixed. Thats all for today
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/oxygen/.cvsignore2
-rw-r--r--noncore/apps/oxygen/dataTable.cpp24
-rw-r--r--noncore/apps/oxygen/dataTable.h22
-rw-r--r--noncore/apps/oxygen/datawidgetui.h2
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 @@
calcdlg.h
calcdlg.cpp
-datawidget.h
-datawidget.cpp
moc_*
*.moc
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 @@
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * ( at your option ) any later version. *
+ * *
+ **************************************************************************/
+#include "oxygen.h"
+
+#include "dataTable.h"
+#include <qtable.h>
+
+dataTable::dataTable() : QTable()
+{
+}
+
+void dataTable::paintCell( QPainter *p, int, int, const QRect &cr, bool )
+{
+ if ( currentRow()%2) qDebug("foo" );
+}
+
+
+
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 @@
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * ( at your option ) any later version. *
+ * *
+ **************************************************************************/
+
+#include <qtable.h>
+
+class dataTable : public QTable
+{
+ Q_OBJECT
+
+ public:
+ dataTable();
+
+ protected:
+ virtual void paintCell( QPainter *p, int row, int col, const QRect &cr, bool selected );
+};
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
@@ -1,30 +1,30 @@
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* ( at your option ) any later version. *
* *
**************************************************************************/
-#include "datawidget.h"
#include "dataTable.h"
+#include <qdialog.h>
class QTable;
class QComboBox;
class dataWidgetUI : public QDialog
{
Q_OBJECT
public:
dataWidgetUI();
private:
void createTableLayout();
QTable *DataTable;
QComboBox *dataCombo;
private slots:
void slotShowData(int);
};