KWidgetsAddons
kdatepickerpopup.cpp
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.
void dateEntered(const QDate &date)
This signal is emitted when enter is pressed and a VALID date has been entered before into the line e...
void dateSelected(const QDate &date)
This signal is emitted each time a day has been selected by clicking on the table (hitting a day in t...
char * toString(const EngineQuery &query)
QWidget * parentWidget() const const
QVariant data() const const
void setData(const QVariant &data)
void setText(const QString &text)
void triggered(bool checked)
QDate addDays(qint64 ndays) const const
QDate addMonths(int nmonths) const const
QDate addYears(int nyears) const const
QDate currentDate()
bool isValid(int year, int month, int day)
const_iterator constBegin() const const
const_iterator constEnd() const const
bool isEmpty() const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
QString tr(const char *sourceText, const char *disambiguation, int n)
QDate toDate() const const
void hide()
void setParent(QWidget *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.