#include </home/clem/local/src/opie/libopie2/opieui/otimepicker.h>
Inheritance diagram for Opie::Ui::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 58 of file otimepicker.h.
|
||||||||||||||||
|
|
|
|
Method to set the hour Definition at line 201 of file otimepicker.cpp. References QValueList< T >::begin(), QValueList< T >::end(), OTimePicker::hourLst, QTime::minute(), QTime::setHMS(), QString::sprintf(), and OTimePicker::tm. |
|
|
Method to set the minutes
Definition at line 182 of file otimepicker.cpp. References QValueList< T >::begin(), QValueList< T >::end(), QTime::hour(), OTimePicker::minuteLst, QTime::setHMS(), QString::sprintf(), and OTimePicker::tm. |
|
||||||||||||
|
Method to set the time. No signal gets emitted during this method call Definition at line 169 of file otimepicker.cpp. References OTimePicker::setHour(), and OTimePicker::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 159 of file otimepicker.cpp. References OTimePicker::setTime(). |
|
|
Definition at line 110 of file otimepicker.cpp. References QValueList< T >::begin(), QValueList< T >::end(), OTimePicker::hourLst, QTime::minute(), QTime::setHMS(), Opie::Ui::OClickableLabel::setOn(), OTimePicker::timeChanged(), and OTimePicker::tm. |
|
|
Definition at line 132 of file otimepicker.cpp. References QValueList< T >::begin(), QValueList< T >::end(), QTime::hour(), OTimePicker::minuteLst, QTime::setHMS(), Opie::Ui::OClickableLabel::setOn(), OTimePicker::timeChanged(), and OTimePicker::tm. |
|
|
This method return the current time
Definition at line 105 of file otimepicker.cpp. References OTimePicker::tm. |
|
|
gets emitted when the time got changed by the user |
|
|
Definition at line 78 of file otimepicker.h. |
|
|
Definition at line 75 of file otimepicker.h. |
|
|
Definition at line 76 of file otimepicker.h. |
|
|
Definition at line 77 of file otimepicker.h. |
1.4.2