|
Fluid
|
Control to select a time. More...
#include <timepicker.h>


Signals | |
| void | prefer24HourChanged () |
| void | selectedTimeChanged () |
Signals inherited from Picker | |
| void | localeChanged () |
| void | orientationChanged () |
| void | backgroundChanged () |
| void | headerChanged () |
| void | selectorChanged () |
| void | footerChanged () |
| void | accepted (const QDate &date) |
| void | rejected () |
Public Member Functions | |
| TimePicker (QQuickItem *parent=nullptr) | |
| bool | prefer24Hour () const |
| void | setPrefer24Hour (bool value) |
| QTime | selectedTime () const |
| void | setSelectedTime (const QTime &time) |
Public Member Functions inherited from Picker | |
| Picker (QQuickItem *parent=nullptr) | |
| QLocale | locale () const |
| void | setLocale (const QLocale &locale) |
| Orientation | orientation () const |
| void | setOrientation (Orientation orientation) |
| void | resetOrientation () |
| QQuickItem * | background () const |
| void | setBackground (QQuickItem *item) |
| QQuickItem * | header () const |
| void | setHeader (QQuickItem *item) |
| QQuickItem * | selector () const |
| void | setSelector (QQuickItem *item) |
| QQuickItem * | footer () const |
| void | setFooter (QQuickItem *item) |
Properties | |
| bool | prefer24Hour |
| QTime | selectedTime |
Properties inherited from Picker | |
| QLocale | locale |
| Orientation | orientation |
| QQuickItem * | background |
| QQuickItem * | header |
| QQuickItem * | selector |
| QQuickItem * | footer |
Additional Inherited Members | |
Public Types inherited from Picker | |
| enum | Orientation { Landscape , Portrait } |
Protected Member Functions inherited from Picker | |
| void | componentComplete () override |
| void | geometryChange (const QRectF &newGeometry, const QRectF &oldGeometry) override |
Control to select a time.
Stand-alone control to select a time.
For more information you can read the Material Design guidelines.
|
explicit |
| bool TimePicker::prefer24Hour | ( | ) | const |
|
signal |
| QTime TimePicker::selectedTime | ( | ) | const |
|
signal |
| void TimePicker::setPrefer24Hour | ( | bool | value | ) |
| void TimePicker::setSelectedTime | ( | const QTime & | time | ) |
|
readwrite |
This property determines the visibility of the AM/PM switch.
|
readwrite |
This property holds the time that has been selected by the user. The default value is the current time.