Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

KeyPad Class Reference

#include </home/clem/local/src/opie/noncore/tools/euroconv/calckeypad.h>

Collaboration diagram for KeyPad:

Collaboration graph
[legend]
List of all members.

Public Slots

void enterDigits (int)
void operatorPressed (int)
void clearLCD (void)
void aboutDialog (void)
void gotoDec (void)

Public Member Functions

 KeyPad (LCDDisplay *LCD, QWidget *parent=0, const char *name=0)

Private Member Functions

void setAppearance (void)

Private Attributes

LCDDisplaydisplay
double dCurrent
int iLenCurrent
bool bIsDec
double dDecCurrent
int iPreviousOperator
double dPreviousValue
QPushButton * btn0
QPushButton * btn1
QPushButton * btn2
QPushButton * btn3
QPushButton * btn4
QPushButton * btn5
QPushButton * btn6
QPushButton * btn7
QPushButton * btn8
QPushButton * btn9
QButtonGroup * grpbtnDigits
QPushButton * btnDot
QPushButton * btnClear
QPushButton * btnPlus
QPushButton * btnMinus
QPushButton * btnMultiply
QPushButton * btnDivide
QPushButton * btnEqual
QPushButton * btnPercent
QPushButton * btnF1
QPushButton * btnAbout
QButtonGroup * grpbtnOperators

Constructor & Destructor Documentation

KeyPad::KeyPad LCDDisplay LCD,
QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 21 of file calckeypad.cpp.

References aboutDialog(), bIsDec, btn0, btn1, btn2, btn3, btn4, btn5, btn6, btn7, btn8, btn9, btnAbout, btnClear, btnDivide, btnDot, btnEqual, btnF1, btnMinus, btnMultiply, btnPercent, btnPlus, clearLCD(), dCurrent, dDecCurrent, display, dPreviousValue, enterDigits(), gotoDec(), grpbtnDigits, grpbtnOperators, i, iLenCurrent, iPreviousOperator, and operatorPressed().


Member Function Documentation

void KeyPad::aboutDialog void   )  [slot]
 

Definition at line 207 of file calckeypad.cpp.

Referenced by KeyPad().

void KeyPad::clearLCD void   )  [slot]
 

Definition at line 182 of file calckeypad.cpp.

References bIsDec, dCurrent, dDecCurrent, display, dPreviousValue, iLenCurrent, iPreviousOperator, and LCDDisplay::setValue().

Referenced by KeyPad().

void KeyPad::enterDigits int   )  [slot]
 

Definition at line 113 of file calckeypad.cpp.

References bIsDec, dCurrent, dDecCurrent, display, iLenCurrent, and LCDDisplay::setValue().

Referenced by KeyPad().

void KeyPad::gotoDec void   )  [slot]
 

Definition at line 196 of file calckeypad.cpp.

References bIsDec, and dDecCurrent.

Referenced by KeyPad().

void KeyPad::operatorPressed int   )  [slot]
 

Definition at line 139 of file calckeypad.cpp.

References bIsDec, dCurrent, dDecCurrent, display, dPreviousValue, iLenCurrent, iPreviousOperator, and LCDDisplay::setValue().

Referenced by KeyPad().

void KeyPad::setAppearance void   )  [private]
 


Member Data Documentation

bool KeyPad::bIsDec [private]
 

Definition at line 42 of file calckeypad.h.

Referenced by clearLCD(), enterDigits(), gotoDec(), KeyPad(), and operatorPressed().

QPushButton* KeyPad::btn0 [private]
 

Definition at line 47 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btn1 [private]
 

Definition at line 48 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btn2 [private]
 

Definition at line 49 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btn3 [private]
 

Definition at line 50 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btn4 [private]
 

Definition at line 51 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btn5 [private]
 

Definition at line 52 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btn6 [private]
 

Definition at line 53 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btn7 [private]
 

Definition at line 54 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btn8 [private]
 

Definition at line 55 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btn9 [private]
 

Definition at line 56 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btnAbout [private]
 

Definition at line 70 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btnClear [private]
 

Definition at line 61 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btnDivide [private]
 

Definition at line 66 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btnDot [private]
 

Definition at line 59 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btnEqual [private]
 

Definition at line 67 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btnF1 [private]
 

Definition at line 69 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btnMinus [private]
 

Definition at line 64 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btnMultiply [private]
 

Definition at line 65 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btnPercent [private]
 

Definition at line 68 of file calckeypad.h.

Referenced by KeyPad().

QPushButton* KeyPad::btnPlus [private]
 

Definition at line 63 of file calckeypad.h.

Referenced by KeyPad().

double KeyPad::dCurrent [private]
 

Definition at line 40 of file calckeypad.h.

Referenced by clearLCD(), enterDigits(), KeyPad(), and operatorPressed().

double KeyPad::dDecCurrent [private]
 

Definition at line 43 of file calckeypad.h.

Referenced by clearLCD(), enterDigits(), gotoDec(), KeyPad(), and operatorPressed().

LCDDisplay* KeyPad::display [private]
 

Definition at line 39 of file calckeypad.h.

Referenced by clearLCD(), enterDigits(), KeyPad(), and operatorPressed().

double KeyPad::dPreviousValue [private]
 

Definition at line 45 of file calckeypad.h.

Referenced by clearLCD(), KeyPad(), and operatorPressed().

QButtonGroup* KeyPad::grpbtnDigits [private]
 

Definition at line 57 of file calckeypad.h.

Referenced by KeyPad().

QButtonGroup* KeyPad::grpbtnOperators [private]
 

Definition at line 72 of file calckeypad.h.

Referenced by KeyPad().

int KeyPad::iLenCurrent [private]
 

Definition at line 41 of file calckeypad.h.

Referenced by clearLCD(), enterDigits(), KeyPad(), and operatorPressed().

int KeyPad::iPreviousOperator [private]
 

Definition at line 44 of file calckeypad.h.

Referenced by clearLCD(), KeyPad(), and operatorPressed().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:37:44 2005 for OPIE by  doxygen 1.4.2