Diffstat (limited to 'noncore/apps/opie-sheet/sheet.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-sheet/sheet.h | 14 |
1 files changed, 14 insertions, 0 deletions
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,24 +1,38 @@ | |||
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 | ||
7 | typedef struct typeCellBorders | 21 | typedef struct typeCellBorders |
8 | { | 22 | { |
9 | QPen right, bottom; | 23 | QPen right, bottom; |
10 | }; | 24 | }; |
11 | 25 | ||
12 | typedef struct typeCellData | 26 | typedef struct typeCellData |
13 | { | 27 | { |
14 | int col, row; | 28 | int col, row; |
15 | typeCellBorders borders; | 29 | typeCellBorders borders; |
16 | QBrush background; | 30 | QBrush background; |
17 | Qt::AlignmentFlags alignment; | 31 | Qt::AlignmentFlags alignment; |
18 | QColor fontColor; | 32 | QColor fontColor; |
19 | QFont font; | 33 | QFont font; |
20 | QString data; | 34 | QString data; |
21 | }; | 35 | }; |
22 | 36 | ||
23 | class Sheet: public QTable | 37 | class Sheet: public QTable |
24 | { | 38 | { |