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

calculator.h

Go to the documentation of this file.
00001 #ifndef CALCULATOR_H
00002 #define CALCULATOR_H
00003 
00004 #include <qdialog.h>
00005 #include <qlayout.h>
00006 #include <qlineedit.h>
00007 
00008 class Calculator : public QDialog
00009 {
00010   Q_OBJECT
00011 
00012   public:
00013 
00014     Calculator ( QWidget* parent );
00015 
00016     QLineEdit* display;
00017 
00018   private slots:
00019 
00020     void displayOne ();
00021     void displayTwo ();
00022     void displayThree ();
00023     void displayFour ();
00024     void displayFive ();
00025     void displaySix ();
00026     void displaySeven ();
00027     void displayEight ();
00028     void displayNine ();
00029     void displayZero ();
00030     void displayPoint ();
00031     void back ();
00032 
00033   private:
00034 
00035     QGridLayout *layout;
00036 
00037 };
00038 
00039 #endif
00040 
00041 
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 

Generated on Sat Nov 5 16:18:11 2005 for OPIE by  doxygen 1.4.2