summaryrefslogtreecommitdiff
path: root/noncore/apps
Unidiff
Diffstat (limited to 'noncore/apps') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-sheet/cellformat.cpp14
-rw-r--r--noncore/apps/opie-sheet/cellformat.h14
-rw-r--r--noncore/apps/opie-sheet/finddlg.cpp14
-rw-r--r--noncore/apps/opie-sheet/finddlg.h14
-rw-r--r--noncore/apps/opie-sheet/main.cpp14
-rw-r--r--noncore/apps/opie-sheet/mainwindow.cpp14
-rw-r--r--noncore/apps/opie-sheet/mainwindow.h14
-rw-r--r--noncore/apps/opie-sheet/numberdlg.cpp14
-rw-r--r--noncore/apps/opie-sheet/numberdlg.h14
-rw-r--r--noncore/apps/opie-sheet/sheet.cpp14
-rw-r--r--noncore/apps/opie-sheet/sheet.h14
-rw-r--r--noncore/apps/opie-sheet/sortdlg.cpp14
-rw-r--r--noncore/apps/opie-sheet/sortdlg.h14
-rw-r--r--noncore/apps/opie-sheet/textdlg.cpp14
-rw-r--r--noncore/apps/opie-sheet/textdlg.h14
15 files changed, 210 insertions, 0 deletions
diff --git a/noncore/apps/opie-sheet/cellformat.cpp b/noncore/apps/opie-sheet/cellformat.cpp
index 6a2ff72..597502c 100644
--- a/noncore/apps/opie-sheet/cellformat.cpp
+++ b/noncore/apps/opie-sheet/cellformat.cpp
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#include "cellformat.h" 15#include "cellformat.h"
2 16
3#include <qlistbox.h> 17#include <qlistbox.h>
4#include <qlabel.h> 18#include <qlabel.h>
5 19
6#define COMBO_WIDTHS 155 20#define COMBO_WIDTHS 155
7#define COMBO_HEIGHTS 21 21#define COMBO_HEIGHTS 21
8 22
9#define COLOR_COUNT 17 23#define COLOR_COUNT 17
10#define STYLE_COUNT 14 24#define STYLE_COUNT 14
11#define HALIGN_COUNT 3 25#define HALIGN_COUNT 3
12#define VALIGN_COUNT 3 26#define VALIGN_COUNT 3
diff --git a/noncore/apps/opie-sheet/cellformat.h b/noncore/apps/opie-sheet/cellformat.h
index b552153..b569b7f 100644
--- a/noncore/apps/opie-sheet/cellformat.h
+++ b/noncore/apps/opie-sheet/cellformat.h
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#ifndef CELLFORMAT_H 15#ifndef CELLFORMAT_H
2#define CELLFORMAT_H 16#define CELLFORMAT_H
3 17
4#include <qpe/fontdatabase.h> 18#include <qpe/fontdatabase.h>
5#include <qdialog.h> 19#include <qdialog.h>
6#include <qtabwidget.h> 20#include <qtabwidget.h>
7#include <qlayout.h> 21#include <qlayout.h>
8#include <qcombobox.h> 22#include <qcombobox.h>
9#include <qcheckbox.h> 23#include <qcheckbox.h>
10#include <qpushbutton.h> 24#include <qpushbutton.h>
11 25
12#include "sheet.h" 26#include "sheet.h"
diff --git a/noncore/apps/opie-sheet/finddlg.cpp b/noncore/apps/opie-sheet/finddlg.cpp
index cfe2f82..d1237ca 100644
--- a/noncore/apps/opie-sheet/finddlg.cpp
+++ b/noncore/apps/opie-sheet/finddlg.cpp
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#include <qlabel.h> 15#include <qlabel.h>
2#include <qradiobutton.h> 16#include <qradiobutton.h>
3#include "finddlg.h" 17#include "finddlg.h"
4 18
5FindDialog::FindDialog(QWidget *parent=0) 19FindDialog::FindDialog(QWidget *parent=0)
6 :QDialog(parent, 0, TRUE) 20 :QDialog(parent, 0, TRUE)
7{ 21{
8 // Main widget 22 // Main widget
9 tabs=new QTabWidget(this); 23 tabs=new QTabWidget(this);
10 widgetFind=new QWidget(tabs); 24 widgetFind=new QWidget(tabs);
11 widgetOptions=new QWidget(tabs); 25 widgetOptions=new QWidget(tabs);
12 tabs->addTab(widgetFind, tr("&Find && Replace")); 26 tabs->addTab(widgetFind, tr("&Find && Replace"));
diff --git a/noncore/apps/opie-sheet/finddlg.h b/noncore/apps/opie-sheet/finddlg.h
index 02c9cdd..1af2da5 100644
--- a/noncore/apps/opie-sheet/finddlg.h
+++ b/noncore/apps/opie-sheet/finddlg.h
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#ifndef FINDDLG_H 15#ifndef FINDDLG_H
2#define FINDDLG_H 16#define FINDDLG_H
3 17
4#include <qdialog.h> 18#include <qdialog.h>
5#include <qtabwidget.h> 19#include <qtabwidget.h>
6#include <qlayout.h> 20#include <qlayout.h>
7#include <qlineedit.h> 21#include <qlineedit.h>
8#include <qcheckbox.h> 22#include <qcheckbox.h>
9#include <qpushbutton.h> 23#include <qpushbutton.h>
10#include <qvbuttongroup.h> 24#include <qvbuttongroup.h>
11#include "sheet.h" 25#include "sheet.h"
12 26
diff --git a/noncore/apps/opie-sheet/main.cpp b/noncore/apps/opie-sheet/main.cpp
index 236a579..e42b4a5 100644
--- a/noncore/apps/opie-sheet/main.cpp
+++ b/noncore/apps/opie-sheet/main.cpp
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#include <qpe/qpeapplication.h> 15#include <qpe/qpeapplication.h>
2 16
3#include "mainwindow.h" 17#include "mainwindow.h"
4 18
5int main(int argc, char **argv) 19int main(int argc, char **argv)
6{ 20{
7 QPEApplication application(argc, argv); 21 QPEApplication application(argc, argv);
8 22
9 MainWindow windowMain; 23 MainWindow windowMain;
10 windowMain.setHelpFile(application.qpeDir()+"/help/html/"+QString(argv[0])+".html"); 24 windowMain.setHelpFile(application.qpeDir()+"/help/html/"+QString(argv[0])+".html");
11 application.showMainDocumentWidget(&windowMain); 25 application.showMainDocumentWidget(&windowMain);
12 26
diff --git a/noncore/apps/opie-sheet/mainwindow.cpp b/noncore/apps/opie-sheet/mainwindow.cpp
index a7441b1..9d69b8a 100644
--- a/noncore/apps/opie-sheet/mainwindow.cpp
+++ b/noncore/apps/opie-sheet/mainwindow.cpp
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#include "mainwindow.h" 15#include "mainwindow.h"
2 16
3#include <qpe/filemanager.h> 17#include <qpe/filemanager.h>
4#include <qpe/qcopenvelope_qws.h> 18#include <qpe/qcopenvelope_qws.h>
5#include <qmessagebox.h> 19#include <qmessagebox.h>
6#include <qfile.h> 20#include <qfile.h>
7#include <qradiobutton.h> 21#include <qradiobutton.h>
8#include "cellformat.h" 22#include "cellformat.h"
9#include "numberdlg.h" 23#include "numberdlg.h"
10#include "textdlg.h" 24#include "textdlg.h"
11#include "sortdlg.h" 25#include "sortdlg.h"
12#include "finddlg.h" 26#include "finddlg.h"
diff --git a/noncore/apps/opie-sheet/mainwindow.h b/noncore/apps/opie-sheet/mainwindow.h
index ac90504..554e6f6 100644
--- a/noncore/apps/opie-sheet/mainwindow.h
+++ b/noncore/apps/opie-sheet/mainwindow.h
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#ifndef MAINWINDOW_H 15#ifndef MAINWINDOW_H
2#define MAINWINDOW_H 16#define MAINWINDOW_H
3 17
4#include <qpe/applnk.h> 18#include <qpe/applnk.h>
5#include <qpe/fileselector.h> 19#include <qpe/fileselector.h>
6#include <qpe/qpemenubar.h> 20#include <qpe/qpemenubar.h>
7#include <qpe/qpetoolbar.h> 21#include <qpe/qpetoolbar.h>
8#include <qmainwindow.h> 22#include <qmainwindow.h>
9#include <qaction.h> 23#include <qaction.h>
10#include <qlineedit.h> 24#include <qlineedit.h>
11#include <qbutton.h> 25#include <qbutton.h>
12#include <qcombobox.h> 26#include <qcombobox.h>
diff --git a/noncore/apps/opie-sheet/numberdlg.cpp b/noncore/apps/opie-sheet/numberdlg.cpp
index de84378..e8de639 100644
--- a/noncore/apps/opie-sheet/numberdlg.cpp
+++ b/noncore/apps/opie-sheet/numberdlg.cpp
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#include "numberdlg.h" 15#include "numberdlg.h"
2 16
3NumberDialog::NumberDialog(QWidget *parent=0) 17NumberDialog::NumberDialog(QWidget *parent=0)
4 :QDialog(parent, 0, TRUE) 18 :QDialog(parent, 0, TRUE)
5{ 19{
6 edit=new QSpinBox(this); 20 edit=new QSpinBox(this);
7 edit->setGeometry(120, 10, 70, 25); 21 edit->setGeometry(120, 10, 70, 25);
8 22
9 label=new QLabel(this); 23 label=new QLabel(this);
10 label->setGeometry(10, 10, 100, 25); 24 label->setGeometry(10, 10, 100, 25);
11 label->setBuddy(edit); 25 label->setBuddy(edit);
12 26
diff --git a/noncore/apps/opie-sheet/numberdlg.h b/noncore/apps/opie-sheet/numberdlg.h
index 46af1d0..81e3326 100644
--- a/noncore/apps/opie-sheet/numberdlg.h
+++ b/noncore/apps/opie-sheet/numberdlg.h
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#ifndef NUMBERDLG_H 15#ifndef NUMBERDLG_H
2#define NUMBERDLG_H 16#define NUMBERDLG_H
3 17
4#include <qdialog.h> 18#include <qdialog.h>
5#include <qlabel.h> 19#include <qlabel.h>
6#include <qspinbox.h> 20#include <qspinbox.h>
7 21
8class NumberDialog: public QDialog 22class NumberDialog: public QDialog
9{ 23{
10 Q_OBJECT 24 Q_OBJECT
11 25
12 // QT objects 26 // QT objects
diff --git a/noncore/apps/opie-sheet/sheet.cpp b/noncore/apps/opie-sheet/sheet.cpp
index 9526937..1d7ec6f 100644
--- a/noncore/apps/opie-sheet/sheet.cpp
+++ b/noncore/apps/opie-sheet/sheet.cpp
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#include "sheet.h" 15#include "sheet.h"
2 16
3#include <qmainwindow.h> 17#include <qmainwindow.h>
4#include <qmessagebox.h> 18#include <qmessagebox.h>
5#include <math.h> 19#include <math.h>
6 20
7#define DEFAULT_COL_WIDTH 50 21#define DEFAULT_COL_WIDTH 50
8 22
9Sheet::Sheet(int numRows, int numCols, QWidget *parent) 23Sheet::Sheet(int numRows, int numCols, QWidget *parent)
10 :QTable(numRows, numCols, parent) 24 :QTable(numRows, numCols, parent)
11{ 25{
12 defaultBorders.right=defaultBorders.bottom=QPen(Qt::gray, 1, Qt::SolidLine); 26 defaultBorders.right=defaultBorders.bottom=QPen(Qt::gray, 1, Qt::SolidLine);
diff --git a/noncore/apps/opie-sheet/sheet.h b/noncore/apps/opie-sheet/sheet.h
index 02899a0..f78a684 100644
--- a/noncore/apps/opie-sheet/sheet.h
+++ b/noncore/apps/opie-sheet/sheet.h
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#ifndef SHEET_H 15#ifndef SHEET_H
2#define SHEET_H 16#define SHEET_H
3 17
4#include <qtable.h> 18#include <qtable.h>
5#include <qstack.h> 19#include <qstack.h>
6 20
7typedef struct typeCellBorders 21typedef struct typeCellBorders
8{ 22{
9 QPen right, bottom; 23 QPen right, bottom;
10}; 24};
11 25
12typedef struct typeCellData 26typedef struct typeCellData
diff --git a/noncore/apps/opie-sheet/sortdlg.cpp b/noncore/apps/opie-sheet/sortdlg.cpp
index f46562e..4f18fd3 100644
--- a/noncore/apps/opie-sheet/sortdlg.cpp
+++ b/noncore/apps/opie-sheet/sortdlg.cpp
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#include <qlabel.h> 15#include <qlabel.h>
2#include <qradiobutton.h> 16#include <qradiobutton.h>
3#include <qmessagebox.h> 17#include <qmessagebox.h>
4#include "sortdlg.h" 18#include "sortdlg.h"
5 19
6SortDialog::SortDialog(QWidget *parent=0) 20SortDialog::SortDialog(QWidget *parent=0)
7 :QDialog(parent, 0, TRUE) 21 :QDialog(parent, 0, TRUE)
8{ 22{
9 // Main widget 23 // Main widget
10 tabs=new QTabWidget(this); 24 tabs=new QTabWidget(this);
11 widgetSort=new QWidget(tabs); 25 widgetSort=new QWidget(tabs);
12 widgetOptions=new QWidget(tabs); 26 widgetOptions=new QWidget(tabs);
diff --git a/noncore/apps/opie-sheet/sortdlg.h b/noncore/apps/opie-sheet/sortdlg.h
index 2c99f02..b3699a9 100644
--- a/noncore/apps/opie-sheet/sortdlg.h
+++ b/noncore/apps/opie-sheet/sortdlg.h
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#ifndef SORTDLG_H 15#ifndef SORTDLG_H
2#define SORTDLG_H 16#define SORTDLG_H
3 17
4#include <qdialog.h> 18#include <qdialog.h>
5#include <qtabwidget.h> 19#include <qtabwidget.h>
6#include <qlayout.h> 20#include <qlayout.h>
7#include <qcombobox.h> 21#include <qcombobox.h>
8#include <qcheckbox.h> 22#include <qcheckbox.h>
9#include <qpushbutton.h> 23#include <qpushbutton.h>
10#include <qvbuttongroup.h> 24#include <qvbuttongroup.h>
11#include "sheet.h" 25#include "sheet.h"
12 26
diff --git a/noncore/apps/opie-sheet/textdlg.cpp b/noncore/apps/opie-sheet/textdlg.cpp
index 8245fe4..0810eb2 100644
--- a/noncore/apps/opie-sheet/textdlg.cpp
+++ b/noncore/apps/opie-sheet/textdlg.cpp
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#include "textdlg.h" 15#include "textdlg.h"
2 16
3TextDialog::TextDialog(QWidget *parent=0) 17TextDialog::TextDialog(QWidget *parent=0)
4 :QDialog(parent, 0, TRUE) 18 :QDialog(parent, 0, TRUE)
5{ 19{
6 edit=new QLineEdit(this); 20 edit=new QLineEdit(this);
7 edit->setGeometry(90, 10, 100, 25); 21 edit->setGeometry(90, 10, 100, 25);
8 22
9 label=new QLabel(this); 23 label=new QLabel(this);
10 label->setGeometry(10, 10, 70, 25); 24 label->setGeometry(10, 10, 70, 25);
11 label->setBuddy(edit); 25 label->setBuddy(edit);
12 26
diff --git a/noncore/apps/opie-sheet/textdlg.h b/noncore/apps/opie-sheet/textdlg.h
index f948228..78ef580 100644
--- a/noncore/apps/opie-sheet/textdlg.h
+++ b/noncore/apps/opie-sheet/textdlg.h
@@ -1,12 +1,26 @@
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
10/*
11 * Opie Sheet (formerly Sheet/Qt)
12 * by Serdar Ozler <sozler@sitebest.com>
13 */
14
1#ifndef TEXTDLG_H 15#ifndef TEXTDLG_H
2#define TEXTDLG_H 16#define TEXTDLG_H
3 17
4#include <qdialog.h> 18#include <qdialog.h>
5#include <qlabel.h> 19#include <qlabel.h>
6#include <qlineedit.h> 20#include <qlineedit.h>
7 21
8class TextDialog: public QDialog 22class TextDialog: public QDialog
9{ 23{
10 Q_OBJECT 24 Q_OBJECT
11 25
12 // QT objects 26 // QT objects