KDEUI
kdatetimeedit.h
Go to the documentation of this file.
Definition kdatetimeedit.h:34
KDateTime minimumDateTime() const
Return the current minimum date and time.
Definition kdatetimeedit.cpp:457
virtual bool eventFilter(QObject *object, QEvent *event)
Definition kdatetimeedit.cpp:584
void resetMinimumDateTime()
Reset the minimum date and time to the default.
Definition kdatetimeedit.cpp:462
void setTimeSpec(const KDateTime::Spec &spec)
Set the current time spec.
Definition kdatetimeedit.cpp:435
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 kdatetimeedit.cpp:529
void setCalendar(KCalendarSystem *calendar=0)
Changes the calendar system to use.
Definition kdatetimeedit.cpp:414
KLocale::CalendarSystem calendarSystem() const
Returns the Calendar System type used by the widget.
Definition kdatetimeedit.cpp:300
void assignCalendarSystem(KLocale::CalendarSystem calendarSystem)
Assign the calendar system for the widget.
Definition kdatetimeedit.cpp:408
virtual void resizeEvent(QResizeEvent *event)
Definition kdatetimeedit.cpp:600
void dateEdited(const QDate &date)
Signal if the date is being manually edited by the user.
void dateTimeChanged(const KDateTime &dateTime)
Signal if the date or time has been changed either manually by the user or programatically.
void setTimeZones(const KTimeZones::ZoneMap &zones)
Set the time zones able to be selected.
Definition kdatetimeedit.cpp:571
bool isNullTime() const
Return if the current user input time is null.
Definition kdatetimeedit.cpp:347
void dateTimeEdited(const KDateTime &dateTime)
Signal if the date or time is being manually edited by the user.
virtual void assignDateTime(const KDateTime &dateTime)
Assign the date, time and time spec for the widget.
Definition kdatetimeedit.cpp:375
void resetDateTimeRange()
Reset the minimum and maximum date and time to the default.
Definition kdatetimeedit.cpp:501
void setMinimumDateTime(const KDateTime &minDateTime, const QString &minWarnMsg=QString())
Set the minimum allowed date.
Definition kdatetimeedit.cpp:452
@ WarnOnInvalid
Show a warning on focus out if the date or time is invalid.
Definition kdatetimeedit.h:66
void dateChanged(const QDate &date)
Signal if the date has been changed either manually by the user or programatically.
KDateTime maximumDateTime() const
Return the current maximum date and time.
Definition kdatetimeedit.cpp:472
void timeEdited(const QTime &time)
Signal if the time is being manually edited by the user.
const KCalendarSystem * calendar() const
Returns a pointer to the Calendar System object used by this widget.
void calendarChanged(KLocale::CalendarSystem calendarSystem)
Signal if the Calendar System has been changed either manually by the user or programatically.
void timeSpecEntered(const KDateTime::Spec &spec)
Signal if the time spec has been changed manually by the user.
void setMaximumDateTime(const KDateTime &maxDateTime, const QString &maxWarnMsg=QString())
Set the maximum allowed date.
Definition kdatetimeedit.cpp:467
virtual void assignTime(const QTime &time)
Assign the time for the widget.
Definition kdatetimeedit.cpp:429
QList< QTime > timeList() const
Return the list of times able to be selected in the drop-down.
Definition kdatetimeedit.cpp:566
void timeSpecChanged(const KDateTime::Spec &spec)
Signal if the time spec has been changed either manually by the user or programatically.
KDateTime::Spec timeSpec() const
Return the currently selected time spec.
Definition kdatetimeedit.cpp:315
void setDateDisplayFormat(KLocale::DateFormat format)
Sets the date format to display.
Definition kdatetimeedit.cpp:519
void resetMaximumDateTime()
Reset the minimum date and time to the default.
Definition kdatetimeedit.cpp:477
void calendarEntered(KLocale::CalendarSystem calendarSystem)
Signal if the Calendar System has been manually entered by the user.
KLocale::TimeFormatOptions timeDisplayFormat() const
Return the currently set time format.
Definition kdatetimeedit.cpp:544
void setCalendarSystem(KLocale::CalendarSystem calendarSystem)
Set the Calendar System used for this widget.
Definition kdatetimeedit.cpp:397
void setCalendarSystemsList(QList< KLocale::CalendarSystem > calendars)
Set the list of Calendar Systems to display.
Definition kdatetimeedit.cpp:506
void setTimeList(QList< QTime > timeList, const QString &minWarnMsg=QString(), const QString &maxWarnMsg=QString())
Set the list of times able to be selected from the drop-down.
Definition kdatetimeedit.cpp:559
void timeChanged(const QTime &time)
Signal if the time has been changed either manually by the user or programatically.
void setDateTime(const KDateTime &dateTime)
Set the currently selected date, time and time spec.
Definition kdatetimeedit.cpp:365
void setDateTimeRange(const KDateTime &minDateTime, const KDateTime &maxDateTime, const QString &minWarnMsg=QString(), const QString &maxWarnMsg=QString())
Set the minimum and maximum date and time range.
Definition kdatetimeedit.cpp:482
void timeEntered(const QTime &time)
Signal if the time has been manually entered by the user.
void dateTimeEntered(const KDateTime &dateTime)
Signal if the date or time has been manually entered by the user.
virtual void focusOutEvent(QFocusEvent *event)
Definition kdatetimeedit.cpp:594
virtual void assignDate(const QDate &date)
Assign the date for the widget.
Definition kdatetimeedit.cpp:391
void setTimeDisplayFormat(KLocale::TimeFormatOptions formatOptions)
Sets the time format to display.
Definition kdatetimeedit.cpp:539
KLocale::DateFormat dateDisplayFormat() const
Return the currently set date display format.
Definition kdatetimeedit.cpp:524
KTimeZones::ZoneMap timeZones() const
Return the list of time zones able to be selected.
Definition kdatetimeedit.cpp:579
QMap< QDate, QString > dateMap() const
Return the map of dates listed in the drop-down and their displayed string forms.
Definition kdatetimeedit.cpp:534
virtual void focusInEvent(QFocusEvent *event)
Definition kdatetimeedit.cpp:589
void setTimeListInterval(int minutes)
Set the interval between times able to be selected from the drop-down.
Definition kdatetimeedit.cpp:549
QList< KLocale::CalendarSystem > calendarSystemsList() const
Returns the list of Calendar Systems displayed.
Definition kdatetimeedit.cpp:514
KDateTime dateTime() const
Return the currently selected date, time and time spec.
Definition kdatetimeedit.cpp:295
bool isValidDate() const
Return if the current user input date is valid.
Definition kdatetimeedit.cpp:332
void assignTimeSpec(const KDateTime::Spec &spec)
Assign the time spec for the widget.
Definition kdatetimeedit.cpp:446
void dateEntered(const QDate &date)
Signal if the date has been manually entered by the user.
bool isNullDate() const
Return if the current user input date is null.
Definition kdatetimeedit.cpp:337
bool isValidTime() const
Return if the current user input time is valid.
Definition kdatetimeedit.cpp:342
DateFormat
CalendarSystem
QMap< QString, KTimeZone > ZoneMap
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 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 Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.