![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
This menu helps the user to select a date quickly. More...
Inheritance diagram for Digikam::DDatePickerPopup:Public Types | |
| enum | ItemFlag { NoDate = 1 , DatePicker = 2 , Words = 4 } |
| typedef QFlags< ItemFlag > | Items |
Signals | |
| void | dateChanged (const QDate &) |
| This signal emits the new date (selected with datepicker or other menu-items). | |
Public Member Functions | |
| DDatePickerPopup (Items items, const QDate &date=QDate::currentDate(), QWidget *const parent=nullptr) | |
| A constructor for the DDatePickerPopup. | |
| DDatePicker * | datePicker () const |
| int | items () const |
| void | setDate (const QDate &date) |
This menu helps the user to select a date quickly. It offers various ways of selecting, e.g. with a DDatePicker or with words like "Tomorrow".
The available items are:
When supplying multiple items, separate each item with a bitwise OR.
|
explicit |
| items | List of all desirable items, separated with a bitwise OR. |
| date | Initial date of datepicker-widget. |
| parent | The object's parent. |
| DDatePicker * Digikam::DDatePickerPopup::datePicker | ( | ) | const |
| int Digikam::DDatePickerPopup::items | ( | ) | const |