Almetare  1.15
Alle meine Taschenrechner - Eine C++-Bibliothek zur Entwicklung von Taschenrechnern
fx85v_main_dlg.h
gehe zur Dokumentation dieser Datei
1 //******************************************************************************
2 // Copyright (c) 2002-2004 by Friedemann Seebass, Germany.
3 // Dieses Programm ist freie Software. Siehe GNU GPL Notiz in Datei main.cpp.
4 // This program is free software. See the GNU GPL notice in file main.cpp.
5 // Projekt: Almetare - Alle meine Taschenrechner
6 //******************************************************************************
11 //******************************************************************************
12 // Wann Wer Was
13 // ---------- -------- ---------------------------------------------------------
14 // 22.12.2004 fse neuer Button mDatP
15 // 12.06.2004 fse Deklarationen von showAnyThinkSequence() und
16 // showEquThinkSequence() entfernt
17 // 15.11.2003 fse butType(): Aufruf butTypeBase() mit neuem Parameter
18 // getWFlags()
19 // 18.05.2003 fse butBack() wird jetzt in ClacDlgBase ausgeführt.
20 // 08.10.2001 fse erzeugt
21 //******************************************************************************
22 
23 #ifndef FX85VMAINDLG_H
24 #define FX85VMAINDLG_H
25 
26 #include <qtimer.h>
27 #include "fx85v_main_base_dlg.h"
28 #include "calc_dlg_base.h"
29 #include "calc_fx85v.h"
30 
31 using namespace std;
32 
33 //******************************************************************************
34 
37 
39 {
40  Q_OBJECT
41 
45  QTimer mTimOff;
46  bool mIsModeMode;
47 
48  void rowColToPix(int row, int col, int& x, int& y, int& w, int& h);
49  void setLcd(string str);
50  void getSourceCoords(char c, bool isPointSucc, bool isExp, int& x, int& y, int& w, int& h);
51  void switchOff();
52  void keyPressEvent(QKeyEvent* evP);
53  void keyReleaseEvent(QKeyEvent* evP);
54  void resetAllModes();
55  void setLabelColors();
56  void adjustSimpleSkin();
57  void adjustDebugSkin();
58  void setDisplayFields(bool isDoPerhapsNot = 0);
59  void makeShortCutTab();
60  void butEngBoth(Util::Direction dir);
61 
62 protected:
63  void resizeEvent(QResizeEvent*) { resizeAllWidgets(this); }
64  void enterEvent(QEvent*) { showHint(); }
65 
66 public slots:
67  void timeoutOff();
68 
69 public:
70  Fx85vMainDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0);
71  ~Fx85vMainDlg();
72 
73  void butAc ();
74  void butBack () { resetAllModes(); CalcDlgBase::butBack(); }
75  void butDigit ();
76  void butAbc ();
77  void butExp ();
78  void butAction();
79 // void butDrg ();
80  void butEng ();
81  void butEngBack();
82  void butAnyMode();
83  void butBra ();
84  void butSign ();
85  void butSum ();
86  void butDat ();
87  void butType () { butTypeBase(this, getWFlags()); }
88  void playPress () { playPressBase (); }
89  void playRelease() { playReleaseBase(); }
90 };
91 
92 //******************************************************************************
93 
94 #endif // !FX85VMAINDLG_H
Die Klasse implementiert den Computer des Casio fx-85v.
Definition: calc_fx85v.h:42
Eigene Dialogklasse des fx-85v.
Definition: fx85v_main_dlg.h:38
Klassen fuer den Casio fx-85v (Modul special).
Definition: fx85v_main_base_dlg.h:22
Die Klasse implementiert den Calculator des Casio fx-85v.
Definition: calc_fx85v.h:84
Implementierung der Basisfunktionalitaet des Taschenrechner-Dialogs aller Taschenrechner (Modul base)...
ComputerFx85v * mCompP
Zeiger auf den Computer des Rechners.
Definition: fx85v_main_dlg.h:43
QTimer mTimOff
8-Minuten-Timer fuer automatisches Abschalten
Definition: fx85v_main_dlg.h:45
DisplayFx85v * mDsplP
Zeiger auf das Display des Rechners.
Definition: fx85v_main_dlg.h:44
CalculatorFx85v mCalc
Inkorporierter Konsolenrechner.
Definition: fx85v_main_dlg.h:42
bool mIsModeMode
gibt an, ob Mode-Taste gedrueckt
Definition: fx85v_main_dlg.h:46
In dieser Klasse ist die Basisfunktionalitaet des Taschenrechner-Dialogs aller Taschenrechner impleme...
Definition: calc_dlg_base.h:69
Die Klasse implementiert die Anzeige des Casio fx-85v.
Definition: calc_fx85v.h:63
void butBack()
Entfernt das letzte Zeichen aus der Anzeige.
Definition: calc_dlg_base.cpp:926