summaryrefslogtreecommitdiff
path: root/noncore/tools/euroconv/calcdisplay.h
Side-by-side diff
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;