summaryrefslogtreecommitdiff
path: root/noncore/tools/clock/setAlarm.h
blob: 7d63237ef46b7835f09b38213f8a95b73ebfb6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
 /***************************************************************************
//                            setAlarm.h  -  description
//                               -------------------
//       Created: Wed Mar 13 19:47:24 2002
//      copyright            : (C) 2002 by ljp
//      email                : ljp@llornkcor.com
// 
***************************************************************************
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/

#ifndef SET_ALARM_H
#define SET_ALARM_H

#include <qvariant.h>
#include <qdialog.h>

class QVBoxLayout; 
class QHBoxLayout; 
class QGridLayout; 
class QLCDNumber;
class QLabel;
class QRadioButton;
class QSlider;
class QButtonGroup;

class Set_Alarm : public QDialog
{ 
    Q_OBJECT

public:
    Set_Alarm( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~Set_Alarm();

    QLabel *TextLabel1, *TextLabel2, *TextLabel3;
    QSlider *Hour_Slider, *Minute_Slider, *SnoozeSlider;
    QLCDNumber *Hour_LCDNumber, *Minute_LCDNumber, *Snooze_LCDNumber;

    QRadioButton* Am_RadioButton;

    QRadioButton* Pm_RadioButton;
    QButtonGroup *ButtonGroup1;
protected slots:
    void slotChangeHour(int);
    void slotChangeMinute(int);
    void slotChangeSnooze(int);
    void amButtonToggled(bool);
    void pmButtonToggled(bool);
    void cleanUp();    
protected:
    QGridLayout* Set_AlarmLayout;
};

#endif // SET_ALARM_H