summaryrefslogtreecommitdiff
path: root/noncore/apps/oxygen
authorcniehaus <cniehaus>2002-09-17 21:57:22 (UTC)
committer cniehaus <cniehaus>2002-09-17 21:57:22 (UTC)
commit01d31aeaa8d513bde8237a07ea0a48ac1b85c3c0 (patch) (side-by-side diff)
tree7a4df143ed5acaedf41eb5b4399117fdaf18bb38 /noncore/apps/oxygen
parentd09947cc7ead59747feb10679ba6ba0a9db20a74 (diff)
downloadopie-01d31aeaa8d513bde8237a07ea0a48ac1b85c3c0.zip
opie-01d31aeaa8d513bde8237a07ea0a48ac1b85c3c0.tar.gz
opie-01d31aeaa8d513bde8237a07ea0a48ac1b85c3c0.tar.bz2
added the future super-nice-and-cool-widget oxyframe and removed some
obsolte #include<>
Diffstat (limited to 'noncore/apps/oxygen') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/oxygen/dataTable.cpp5
-rw-r--r--noncore/apps/oxygen/dataTable.h2
-rw-r--r--noncore/apps/oxygen/oxyframe.cpp16
-rw-r--r--noncore/apps/oxygen/oxyframe.h26
-rw-r--r--noncore/apps/oxygen/oxygen.pro2
-rw-r--r--noncore/apps/oxygen/psewidget.cpp5
-rw-r--r--noncore/apps/oxygen/psewidget.h8
7 files changed, 52 insertions, 12 deletions
diff --git a/noncore/apps/oxygen/dataTable.cpp b/noncore/apps/oxygen/dataTable.cpp
index 6c6b9dc..bb786ea 100644
--- a/noncore/apps/oxygen/dataTable.cpp
+++ b/noncore/apps/oxygen/dataTable.cpp
@@ -8,6 +8,4 @@
**************************************************************************/
-#include "oxygen.h"
#include "dataTable.h"
-#include <qtable.h>
@@ -24,5 +22,2 @@ void OxydataTable::paintCell( QPainter *p, int row, int col, const QRect &cr, b
- int w = cr.width();
- int h = cr.height();
-
QTableItem *itm = item( row, col );
diff --git a/noncore/apps/oxygen/dataTable.h b/noncore/apps/oxygen/dataTable.h
index 5adbcc2..908d241 100644
--- a/noncore/apps/oxygen/dataTable.h
+++ b/noncore/apps/oxygen/dataTable.h
@@ -13,3 +13,2 @@
-
#include <qtable.h>
@@ -21,3 +20,2 @@ class OxydataTable : public QTable
public:
- OxydataTable();
OxydataTable( int numRows, int numCols,
diff --git a/noncore/apps/oxygen/oxyframe.cpp b/noncore/apps/oxygen/oxyframe.cpp
new file mode 100644
index 0000000..060f9ca
--- a/dev/null
+++ b/noncore/apps/oxygen/oxyframe.cpp
@@ -0,0 +1,16 @@
+/***************************************************************************
+ * *
+ * 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 <qpe/config.h>
+#include "oxyframe.h"
+
+OxyFrame::OxyFrame(QWidget *parent, const char *name) : QFrame(parent,name)
+{
+}
diff --git a/noncore/apps/oxygen/oxyframe.h b/noncore/apps/oxygen/oxyframe.h
new file mode 100644
index 0000000..01f888d
--- a/dev/null
+++ b/noncore/apps/oxygen/oxyframe.h
@@ -0,0 +1,26 @@
+
+/***************************************************************************
+ * *
+ * 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. *
+ * *
+ **************************************************************************/
+#ifndef _OXYFRAME_H
+#define _OXYFRAME_H
+
+
+#include <qframe.h>
+
+class OxyFrame : public QFrame
+{
+ Q_OBJECT
+
+ public:
+ OxyFrame( QWidget *parent=0, const char *name=0);
+
+
+};
+
+#endif
diff --git a/noncore/apps/oxygen/oxygen.pro b/noncore/apps/oxygen/oxygen.pro
index c447330..8f9e4ea 100644
--- a/noncore/apps/oxygen/oxygen.pro
+++ b/noncore/apps/oxygen/oxygen.pro
@@ -8,2 +8,3 @@ HEADERS = oxygen.h \
psewidget.h \
+ oxyframe.h \
datawidgetui.h
@@ -17,2 +18,3 @@ SOURCES = main.cpp \
psewidget.cpp \
+ oxyframe.cpp \
datawidgetui.cpp
diff --git a/noncore/apps/oxygen/psewidget.cpp b/noncore/apps/oxygen/psewidget.cpp
index 66450be..f48cebe 100644
--- a/noncore/apps/oxygen/psewidget.cpp
+++ b/noncore/apps/oxygen/psewidget.cpp
@@ -8,6 +8,7 @@
**************************************************************************/
-#include "oxygen.h"
#include <qpe/config.h>
+#include <qlayout.h>
#include "psewidget.h"
+#include "oxyframe.h"
@@ -15,2 +16,4 @@ PSEWidget::PSEWidget() : QWidget()
{
+ maingrid = new QGridLayout( 18 , 10 , -1 , "maingridlayout" );
+ OxyFrame *test = new OxyFrame(this);
}
diff --git a/noncore/apps/oxygen/psewidget.h b/noncore/apps/oxygen/psewidget.h
index ebdec94..a0ab701 100644
--- a/noncore/apps/oxygen/psewidget.h
+++ b/noncore/apps/oxygen/psewidget.h
@@ -14,6 +14,3 @@
-class QTable;
-class QComboBox;
-class QLabel;
-
+class QGridLayout;
@@ -26,2 +23,5 @@ class PSEWidget : public QWidget
+ private:
+ QGridLayout *maingrid;
+
};