OTimePickerDialog Class Reference
A small dialog to pick a time. More...
#include <otimepicker.h>
Collaboration diagram for OTimePickerDialog:

Public Slots | |
| void | setTime (const QTime &time) |
| Set the time to time. | |
| void | setHour (const QString &hour) |
| This method takes the current minute and tries to set hour to hour. | |
| void | setMinute (const QString &minute) |
| Method to set a new minute. | |
Public Member Functions | |
| OTimePickerDialog (QWidget *parent=0, const char *name=NULL, WFlags fl=0) | |
| This is a modal Dialog. | |
| QTime | time () const |
Detailed Description
A small dialog to pick a time.
- Version:
- 1.0
- Author:
- Stefan Eilers
Definition at line 64 of file otimepicker.h.
Constructor & Destructor Documentation
|
||||||||||||||||
|
This is a modal Dialog.
Definition at line 175 of file otimepicker.cpp. References QObject::connect(), setHour(), setMinute(), and setTime(). |
Member Function Documentation
|
|
Definition at line 191 of file otimepicker.cpp. |
|
|
Set the time to time.
Definition at line 200 of file otimepicker.cpp. Referenced by OTimePickerDialog(), setHour(), and setMinute(). |
|
|
This method takes the current minute and tries to set hour to hour. This succeeds if the resulting date is valid
Definition at line 225 of file otimepicker.cpp. References QTime::isValid(), QTime::minute(), QTime::setHMS(), setTime(), and QString::toInt(). Referenced by OTimePickerDialog(). |
|
|
Method to set a new minute. It tries to convert the string to int and if the resulting date is valid a new date is set.
Definition at line 239 of file otimepicker.cpp. References QTime::hour(), QTime::isValid(), QTime::setHMS(), setTime(), and QString::toInt(). Referenced by OTimePickerDialog(). |
The documentation for this class was generated from the following files:
