author | thufir <thufir> | 2002-07-04 17:21:16 (UTC) |
---|---|---|
committer | thufir <thufir> | 2002-07-04 17:21:16 (UTC) |
commit | 3fc06dce797f62393bab41f4ea520bdbeb31eb9f (patch) (side-by-side diff) | |
tree | dfd314d2c9a2241f3dce5649592808ff1ee4aea0 /noncore/apps/opie-sheet/sheet.cpp | |
parent | baf06586f452ea77f773df038aba5635f57d96b8 (diff) | |
download | opie-3fc06dce797f62393bab41f4ea520bdbeb31eb9f.zip opie-3fc06dce797f62393bab41f4ea520bdbeb31eb9f.tar.gz opie-3fc06dce797f62393bab41f4ea520bdbeb31eb9f.tar.bz2 |
added license headers to opie-sheet
Diffstat (limited to 'noncore/apps/opie-sheet/sheet.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-sheet/sheet.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
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,24 +1,38 @@ +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* + * Opie Sheet (formerly Sheet/Qt) + * by Serdar Ozler <sozler@sitebest.com> + */ + #include "sheet.h" #include <qmainwindow.h> #include <qmessagebox.h> #include <math.h> #define DEFAULT_COL_WIDTH 50 Sheet::Sheet(int numRows, int numCols, QWidget *parent) :QTable(numRows, numCols, parent) { defaultBorders.right=defaultBorders.bottom=QPen(Qt::gray, 1, Qt::SolidLine); defaultCellData.data=""; defaultCellData.background=QBrush(Qt::white, Qt::SolidPattern); defaultCellData.alignment=(Qt::AlignmentFlags)(Qt::AlignLeft | Qt::AlignTop); defaultCellData.fontColor=Qt::black; defaultCellData.font=font(); defaultCellData.borders=defaultBorders; selectionNo=-1; setSelectionMode(QTable::Single); sheetData.setAutoDelete(TRUE); clipboardData.setAutoDelete(TRUE); |