#include </home/clem/local/src/opie/noncore/unsupported/libopie/otimepicker.h>
Collaboration diagram for OTimePicker:

Public Slots | |
| void | setHour (int h) |
| void | setMinute (int m) |
| void | setTime (const QTime &) |
| void | setTime (int h, int m) |
Signals | |
| void | timeChanged (const QTime &) |
Public Member Functions | |
| OTimePicker (QWidget *parent=0, const char *name=0, WFlags fl=0) | |
| QTime | time () const |
Private Slots | |
| void | slotHour (bool b) |
| void | slotMinute (bool b) |
Private Attributes | |
| QValueList< OClickableLabel * > | hourLst |
| QValueList< OClickableLabel * > | minuteLst |
| QTime | tm |
| Private * | d |
A class to pick time. It uses clickable labels internally to allow a quick selection of a time. A time can be selected by two clicks of a user
Definition at line 23 of file otimepicker.h.
|
||||||||||||||||
|
Constructs the widget Definition at line 14 of file otimepicker.cpp. References QValueList< T >::append(), hourLst, i, l, minuteLst, row, s, OClickableLabel::setToggleButton(), slotHour(), slotMinute(), and QString::sprintf(). |
|
|
Method to set the hour Definition at line 151 of file otimepicker.cpp. References QValueList< T >::begin(), QValueList< T >::end(), hourLst, QTime::minute(), QTime::setHMS(), QString::sprintf(), and tm. Referenced by setTime(), and Opie::Ui::OTimePicker::setTime(). |
|
|
Method to set the minutes
Definition at line 134 of file otimepicker.cpp. References QValueList< T >::begin(), QValueList< T >::end(), QTime::hour(), minuteLst, QTime::setHMS(), QString::sprintf(), and tm. Referenced by setTime(), and Opie::Ui::OTimePicker::setTime(). |
|
||||||||||||
|
Method to set the time. No signal gets emitted during this method call Definition at line 122 of file otimepicker.cpp. References setHour(), and setMinute(). |
|
|
Method to set the time. No signal gets emitted during this method call Minutes must be within 5 minutes step starting at 0 ( 0,5,10,15,20... )
Definition at line 113 of file otimepicker.cpp. Referenced by Opie::Ui::OTimePicker::setTime(). |
|
|
Definition at line 74 of file otimepicker.cpp. References QValueList< T >::begin(), QValueList< T >::end(), hourLst, QTime::minute(), QTime::setHMS(), OClickableLabel::setOn(), timeChanged(), and tm. Referenced by OTimePicker(). |
|
|
Definition at line 91 of file otimepicker.cpp. References QValueList< T >::begin(), QValueList< T >::end(), QTime::hour(), minuteLst, QTime::setHMS(), OClickableLabel::setOn(), timeChanged(), and tm. Referenced by OTimePicker(). |
|
|
This method return the current time
Definition at line 70 of file otimepicker.cpp. References tm. |
|
|
gets emitted when the time got changed by the user Referenced by slotHour(), Opie::Ui::OTimePicker::slotHour(), slotMinute(), and Opie::Ui::OTimePicker::slotMinute(). |
|
|
Definition at line 43 of file otimepicker.h. |
|
|
Definition at line 40 of file otimepicker.h. Referenced by OTimePicker(), setHour(), Opie::Ui::OTimePicker::setHour(), slotHour(), and Opie::Ui::OTimePicker::slotHour(). |
|
|
Definition at line 41 of file otimepicker.h. Referenced by OTimePicker(), setMinute(), Opie::Ui::OTimePicker::setMinute(), slotMinute(), and Opie::Ui::OTimePicker::slotMinute(). |
|
|
Definition at line 42 of file otimepicker.h. Referenced by setHour(), Opie::Ui::OTimePicker::setHour(), setMinute(), Opie::Ui::OTimePicker::setMinute(), slotHour(), Opie::Ui::OTimePicker::slotHour(), slotMinute(), Opie::Ui::OTimePicker::slotMinute(), time(), and Opie::Ui::OTimePicker::time(). |
1.4.2