From 2d77abb5ff37abf61e04657431d7e0e1f5138d94 Mon Sep 17 00:00:00 2001 From: eric Date: Fri, 21 Feb 2003 10:39:29 +0000 Subject: - Improve look 'n feel. - fix a bug in '=' operation. --- (limited to 'noncore/tools/euroconv/calcdisplay.h') diff --git a/noncore/tools/euroconv/calcdisplay.h b/noncore/tools/euroconv/calcdisplay.h index 17ce8f4..d1902cf 100644 --- a/noncore/tools/euroconv/calcdisplay.h +++ b/noncore/tools/euroconv/calcdisplay.h @@ -18,10 +18,40 @@ #include #include -#include +#include #include #include + +/* XPM */ +static char *swap_xpm[] = { +/* width height num_colors chars_per_pixel */ +" 13 18 2 1", +/* colors */ +". c None", +"# c #000000", +/* pixels */ +"..#######....", +"..#####......", +"..######.....", +"..#...###....", +"........##...", +".........##..", +"..........##.", +"...........##", +"...........##", +"...........##", +"...........##", +"..........##.", +".........##..", +"........##...", +"..#...###....", +"..######.....", +"..#####......", +"..#######....", +}; + + class LCDDisplay : public QHBox{ Q_OBJECT @@ -36,11 +66,13 @@ public slots: //signals: // void valueChanged( int ); private: - QVGroupBox *grpbxTop; + int grpbxStyle; + + QHGroupBox *grpbxTop; QComboBox *cbbxTop; QLCDNumber *lcdTop; - QVGroupBox *grpbxBottom; + QHGroupBox *grpbxBottom; QComboBox *cbbxBottom; QLCDNumber *lcdBottom; -- cgit v0.9.0.2