author | llornkcor <llornkcor> | 2002-03-15 04:29:42 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-15 04:29:42 (UTC) |
commit | a0d6c8fdac4e8644c31d1b2e2a321131be4b57c2 (patch) (unidiff) | |
tree | 319d9a01475596ccefa9765cc324485a4ce7e5aa /noncore/tools/clock/setAlarm.h | |
parent | 320291b5006c75e3e42ba1cbbac9639a54309553 (diff) | |
download | opie-a0d6c8fdac4e8644c31d1b2e2a321131be4b57c2.zip opie-a0d6c8fdac4e8644c31d1b2e2a321131be4b57c2.tar.gz opie-a0d6c8fdac4e8644c31d1b2e2a321131be4b57c2.tar.bz2 |
added simple 24 hr alarm features
Diffstat (limited to 'noncore/tools/clock/setAlarm.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/clock/setAlarm.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/noncore/tools/clock/setAlarm.h b/noncore/tools/clock/setAlarm.h new file mode 100644 index 0000000..7d63237 --- a/dev/null +++ b/noncore/tools/clock/setAlarm.h | |||
@@ -0,0 +1,57 @@ | |||
1 | /*************************************************************************** | ||
2 | // setAlarm.h - description | ||
3 | // ------------------- | ||
4 | // Created: Wed Mar 13 19:47:24 2002 | ||
5 | // copyright : (C) 2002 by ljp | ||
6 | // email : ljp@llornkcor.com | ||
7 | // | ||
8 | *************************************************************************** | ||
9 | * This program is free software; you can redistribute it and/or modify * | ||
10 | * it under the terms of the GNU General Public License as published by * | ||
11 | * the Free Software Foundation; either version 2 of the License, or * | ||
12 | * (at your option) any later version. * | ||
13 | ***************************************************************************/ | ||
14 | |||
15 | #ifndef SET_ALARM_H | ||
16 | #define SET_ALARM_H | ||
17 | |||
18 | #include <qvariant.h> | ||
19 | #include <qdialog.h> | ||
20 | |||
21 | class QVBoxLayout; | ||
22 | class QHBoxLayout; | ||
23 | class QGridLayout; | ||
24 | class QLCDNumber; | ||
25 | class QLabel; | ||
26 | class QRadioButton; | ||
27 | class QSlider; | ||
28 | class QButtonGroup; | ||
29 | |||
30 | class Set_Alarm : public QDialog | ||
31 | { | ||
32 | Q_OBJECT | ||
33 | |||
34 | public: | ||
35 | Set_Alarm( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | ||
36 | ~Set_Alarm(); | ||
37 | |||
38 | QLabel *TextLabel1, *TextLabel2, *TextLabel3; | ||
39 | QSlider *Hour_Slider, *Minute_Slider, *SnoozeSlider; | ||
40 | QLCDNumber *Hour_LCDNumber, *Minute_LCDNumber, *Snooze_LCDNumber; | ||
41 | |||
42 | QRadioButton* Am_RadioButton; | ||
43 | |||
44 | QRadioButton* Pm_RadioButton; | ||
45 | QButtonGroup *ButtonGroup1; | ||
46 | protected slots: | ||
47 | void slotChangeHour(int); | ||
48 | void slotChangeMinute(int); | ||
49 | void slotChangeSnooze(int); | ||
50 | void amButtonToggled(bool); | ||
51 | void pmButtonToggled(bool); | ||
52 | void cleanUp(); | ||
53 | protected: | ||
54 | QGridLayout* Set_AlarmLayout; | ||
55 | }; | ||
56 | |||
57 | #endif // SET_ALARM_H | ||