summaryrefslogtreecommitdiff
path: root/noncore/tools/euroconv/calcdisplay.h
Unidiff
Diffstat (limited to 'noncore/tools/euroconv/calcdisplay.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/euroconv/calcdisplay.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/noncore/tools/euroconv/calcdisplay.h b/noncore/tools/euroconv/calcdisplay.h
index d1902cf..a48ab77 100644
--- a/noncore/tools/euroconv/calcdisplay.h
+++ b/noncore/tools/euroconv/calcdisplay.h
@@ -2,76 +2,48 @@
2 * 2 *
3 * File: calcdisplay.h 3 * File: calcdisplay.h
4 * 4 *
5 * Description: Header file for the class LCDDisplay 5 * Description: Header file for the class LCDDisplay
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 *
14 * 14 *
15 ***************************************************************************/ 15 ***************************************************************************/
16#ifndef CALCDISPLAY_H 16#ifndef CALCDISPLAY_H
17#define CALCDISPLAY_H 17#define CALCDISPLAY_H
18 18
19#include <qhbox.h> 19#include <qhbox.h>
20#include <qlcdnumber.h> 20#include <qlcdnumber.h>
21#include <qhgroupbox.h> 21#include <qhgroupbox.h>
22#include <qpushbutton.h> 22#include <qpushbutton.h>
23#include <qcombobox.h> 23#include <qcombobox.h>
24 24
25 25
26/* XPM */
27static char *swap_xpm[] = {
28/* width height num_colors chars_per_pixel */
29" 13 18 2 1",
30/* colors */
31". c None",
32"# c #000000",
33/* pixels */
34"..#######....",
35"..#####......",
36"..######.....",
37"..#...###....",
38"........##...",
39".........##..",
40"..........##.",
41"...........##",
42"...........##",
43"...........##",
44"...........##",
45"..........##.",
46".........##..",
47"........##...",
48"..#...###....",
49"..######.....",
50"..#####......",
51"..#######....",
52};
53
54 26
55class LCDDisplay : public QHBox{ 27class LCDDisplay : public QHBox{
56 28
57Q_OBJECT 29Q_OBJECT
58public: 30public:
59 LCDDisplay( QWidget *parent=0, const char *name=0 ); 31 LCDDisplay( QWidget *parent=0, const char *name=0 );
60 32
61public slots: 33public slots:
62 void setValue(double); 34 void setValue(double);
63 void swapLCD(void); 35 void swapLCD(void);
64 void cbbxChange(void); 36 void cbbxChange(void);
65 37
66//signals: 38//signals:
67// void valueChanged( int ); 39// void valueChanged( int );
68private: 40private:
69 int grpbxStyle; 41 int grpbxStyle;
70 42
71 QHGroupBox *grpbxTop; 43 QHGroupBox *grpbxTop;
72 QComboBox *cbbxTop; 44 QComboBox *cbbxTop;
73 QLCDNumber *lcdTop; 45 QLCDNumber *lcdTop;
74 46
75 QHGroupBox *grpbxBottom; 47 QHGroupBox *grpbxBottom;
76 QComboBox *cbbxBottom; 48 QComboBox *cbbxBottom;
77 QLCDNumber *lcdBottom; 49 QLCDNumber *lcdBottom;