summaryrefslogtreecommitdiff
path: root/noncore/tools/euroconv/calcdisplay.h
authoreric <eric>2003-02-21 10:39:29 (UTC)
committer eric <eric>2003-02-21 10:39:29 (UTC)
commit2d77abb5ff37abf61e04657431d7e0e1f5138d94 (patch) (side-by-side diff)
treec78d34380cb9e1722f41c56cda0bbbea394e2a1a /noncore/tools/euroconv/calcdisplay.h
parentd25a16d1fd34374e4d2815dec4d11b25b2049432 (diff)
downloadopie-2d77abb5ff37abf61e04657431d7e0e1f5138d94.zip
opie-2d77abb5ff37abf61e04657431d7e0e1f5138d94.tar.gz
opie-2d77abb5ff37abf61e04657431d7e0e1f5138d94.tar.bz2
- Improve look 'n feel.
- fix a bug in '=' operation.
Diffstat (limited to 'noncore/tools/euroconv/calcdisplay.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/euroconv/calcdisplay.h38
1 files changed, 35 insertions, 3 deletions
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 <qhbox.h>
#include <qlcdnumber.h>
-#include <qvgroupbox.h>
+#include <qhgroupbox.h>
#include <qpushbutton.h>
#include <qcombobox.h>
+
+/* 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;