Diffstat (limited to 'noncore/tools/euroconv/calcdisplay.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/euroconv/calcdisplay.cpp | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/noncore/tools/euroconv/calcdisplay.cpp b/noncore/tools/euroconv/calcdisplay.cpp index e5a49e6..8f3de22 100644 --- a/noncore/tools/euroconv/calcdisplay.cpp +++ b/noncore/tools/euroconv/calcdisplay.cpp | |||
@@ -1,13 +1,13 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | * | 2 | * |
3 | * File: calcdisplay.cpp | 3 | * File: calcdisplay.cpp |
4 | * | 4 | * |
5 | * Description: | 5 | * Description: |
6 | * | 6 | * |
7 | * | 7 | * |
8 | * Authors: Eric Santonacci <Eric.Santonacci@talc.fr> | 8 | * Authors: Eric Santonacci <Eric.Santonacci@talc.fr> |
9 | * | 9 | * |
10 | * Requirements: Qt | 10 | * Requirements: Qt |
11 | * | 11 | * |
12 | * $Id$ | 12 | * $Id$ |
13 | * | 13 | * |
@@ -17,12 +17,40 @@ | |||
17 | #include <qvbox.h> | 17 | #include <qvbox.h> |
18 | #include <qpixmap.h> | 18 | #include <qpixmap.h> |
19 | 19 | ||
20 | #include "currency.h" | 20 | #include "currency.h" |
21 | #include "calcdisplay.h" | 21 | #include "calcdisplay.h" |
22 | 22 | ||
23 | /* XPM */ | ||
24 | static char *swap_xpm[] = { | ||
25 | /* width height num_colors chars_per_pixel */ | ||
26 | " 13 18 2 1", | ||
27 | /* colors */ | ||
28 | ". c None", | ||
29 | "# c #000000", | ||
30 | /* pixels */ | ||
31 | "..#######....", | ||
32 | "..#####......", | ||
33 | "..######.....", | ||
34 | "..#...###....", | ||
35 | "........##...", | ||
36 | ".........##..", | ||
37 | "..........##.", | ||
38 | "...........##", | ||
39 | "...........##", | ||
40 | "...........##", | ||
41 | "...........##", | ||
42 | "..........##.", | ||
43 | ".........##..", | ||
44 | "........##...", | ||
45 | "..#...###....", | ||
46 | "..######.....", | ||
47 | "..#####......", | ||
48 | "..#######....", | ||
49 | }; | ||
50 | |||
23 | 51 | ||
24 | LCDDisplay::LCDDisplay( QWidget *parent, const char *name ) | 52 | LCDDisplay::LCDDisplay( QWidget *parent, const char *name ) |
25 | : QHBox( parent, name ){ | 53 | : QHBox( parent, name ){ |
26 | 54 | ||
27 | 55 | ||
28 | 56 | ||