KWidgetsAddons
kdatepickerpopup.h
63 explicit KDatePickerPopup(Modes modes = DatePicker, QDate date = QDate::currentDate(), QWidget *parent = nullptr);
void setDateRange(const QDate &minDate, const QDate &maxDate)
Sets the range of dates that can be accepted.
Definition kdatepickerpopup.cpp:178
KDatePickerPopup(Modes modes=DatePicker, QDate date=QDate::currentDate(), QWidget *parent=nullptr)
Creates a new date picker popup.
Definition kdatepickerpopup.cpp:133
void setDateMap(const QMap< QDate, QString > &dateMap)
Sets the list of dates in the drop-down menu that the user can select from and the text string to dis...
Definition kdatepickerpopup.cpp:188
KDatePicker * datePicker() const
Returns the used KDatePicker object.
Definition kdatepickerpopup.cpp:158
QMap< QDate, QString > dateMap() const
Return the map of dates listed in the drop-down and their displayed string forms.
Definition kdatepickerpopup.cpp:183
@ NoDate
A menu-item with "No Date". Will always return an invalid date.
Definition kdatepickerpopup.h:46
void dateChanged(const QDate &date)
This signal is emitted whenever the user has selected a new date.
QDate currentDate()
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.