KDEUI
kdatecombobox.h
Go to the documentation of this file.
virtual bool eventFilter(QObject *, QEvent *)
Re-implemented for internal reasons.
Definition kcombobox.cpp:183
KComboBox(QWidget *parent=0)
Constructs a read-only or rather select-only combo box with a parent object and a name.
Definition kcombobox.cpp:57
Definition kdatecombobox.h:35
void setMinimumDate(const QDate &minTime, const QString &minWarnMsg=QString())
Set the minimum allowed date.
Definition kdatecombobox.cpp:385
void setCalendar(KCalendarSystem *calendar=0)
Changes the calendar system to use.
Definition kdatecombobox.cpp:348
void dateEdited(const QDate &date)
Signal if the date is being manually edited by the user.
virtual void keyPressEvent(QKeyEvent *event)
Definition kdatecombobox.cpp:467
void setDisplayFormat(KLocale::DateFormat format)
Sets the date format to display.
Definition kdatecombobox.cpp:439
virtual void resizeEvent(QResizeEvent *event)
Definition kdatecombobox.cpp:558
KLocale::CalendarSystem calendarSystem() const
Returns the Calendar System type used by the widget.
Definition kdatecombobox.cpp:326
const KCalendarSystem * calendar() const
Returns a pointer to the Calendar System object used by this widget.
Definition kdatecombobox.cpp:343
@ EditDate
Allow the user to manually edit the date in the combo line edit.
Definition kdatecombobox.h:52
void setDateMap(QMap< QDate, QString > dateMap)
Set the list of dates able to be selected from the drop-down and the string form to display for those...
Definition kdatecombobox.cpp:453
void setMaximumDate(const QDate &maxDate, const QString &maxWarnMsg=QString())
Set the maximum allowed date.
Definition kdatecombobox.cpp:400
void resetDateRange()
Reset the minimum and maximum date to the default values.
Definition kdatecombobox.cpp:429
virtual void focusOutEvent(QFocusEvent *event)
Definition kdatecombobox.cpp:492
virtual void focusInEvent(QFocusEvent *event)
Definition kdatecombobox.cpp:553
void setCalendarSystem(KLocale::CalendarSystem calendarSystem)
Set the Calendar System used for this widget.
Definition kdatecombobox.cpp:331
QMap< QDate, QString > dateMap() const
Return the map of dates listed in the drop-down and their displayed string forms.
Definition kdatecombobox.cpp:448
virtual void assignDate(const QDate &date)
Assign the date for the widget.
Definition kdatecombobox.cpp:321
virtual void mousePressEvent(QMouseEvent *event)
Definition kdatecombobox.cpp:543
void dateChanged(const QDate &date)
Signal if the date has been changed either manually by the user or programatically.
virtual void assignCalendarSystem(KLocale::CalendarSystem calendarSystem)
Assign the calendar system for the widget.
Definition kdatecombobox.cpp:338
void dateEntered(const QDate &date)
Signal if the date has been manually entered or selected by the user.
void setDateRange(const QDate &minDate, const QDate &maxDate, const QString &minWarnMsg=QString(), const QString &maxWarnMsg=QString())
Set the valid date range to be applied by isValid().
Definition kdatecombobox.cpp:410
DateFormat
CalendarSystem
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.