From b50692ba650418aa06cbd2662b4ff698c7d3f961 Mon Sep 17 00:00:00 2001 From: groucho Date: Sat, 15 Feb 2003 11:45:26 +0000 Subject: Forgot to add the sources :-} --- (limited to 'noncore/tools/euroconv/calcdisplay.h') diff --git a/noncore/tools/euroconv/calcdisplay.h b/noncore/tools/euroconv/calcdisplay.h new file mode 100644 index 0000000..17ce8f4 --- a/dev/null +++ b/noncore/tools/euroconv/calcdisplay.h @@ -0,0 +1,57 @@ +/**************************************************************************** + * + * File: calcdisplay.h + * + * Description: Header file for the class LCDDisplay + * + * + * Authors: Eric Santonacci + * + * Requirements: Qt + * + * $Id$ + * + * + ***************************************************************************/ +#ifndef CALCDISPLAY_H +#define CALCDISPLAY_H + +#include +#include +#include +#include +#include + +class LCDDisplay : public QHBox{ + +Q_OBJECT +public: + LCDDisplay( QWidget *parent=0, const char *name=0 ); + +public slots: + void setValue(double); + void swapLCD(void); + void cbbxChange(void); + +//signals: +// void valueChanged( int ); +private: + QVGroupBox *grpbxTop; + QComboBox *cbbxTop; + QLCDNumber *lcdTop; + + QVGroupBox *grpbxBottom; + QComboBox *cbbxBottom; + QLCDNumber *lcdBottom; + + QPushButton *btnSwap; + + int iCurrentLCD; // 0=top, 1=bottom + + double Euro2x(int iIndex, double dValue); + double x2Euro(int iIndex, double dValue); + + +}; + +#endif // CALCDISPLAY_H -- cgit v0.9.0.2