KDEUI
ktimecombobox.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 ktimecombobox.h:33
virtual void mousePressEvent(QMouseEvent *event)
Definition ktimecombobox.cpp:521
void setTimeListInterval(int minutes)
Set the interval between times able to be selected from the drop-down.
Definition ktimecombobox.cpp:427
@ ForceTime
Any set or entered time will be forced to one of the drop-down times.
Definition ktimecombobox.h:53
@ WarnOnInvalid
Show a warning box on focus out if the user enters an invalid time.
Definition ktimecombobox.h:54
@ EditTime
Allow the user to manually edit the time in the combo line edit.
Definition ktimecombobox.h:51
void resetMinimumTime()
Reset the minimum time to the default of 00:00:00.000.
Definition ktimecombobox.cpp:365
virtual void focusOutEvent(QFocusEvent *event)
Definition ktimecombobox.cpp:504
void setMaximumTime(const QTime &maxTime, const QString &maxWarnMsg=QString())
Set the maximum allowed time.
Definition ktimecombobox.cpp:375
void resetMaximumTime()
Reset the maximum time to the default of 23:59:59.999.
Definition ktimecombobox.cpp:380
virtual void assignTime(const QTime &time)
Assign the time for the widget.
Definition ktimecombobox.cpp:323
virtual void resizeEvent(QResizeEvent *event)
Definition ktimecombobox.cpp:536
virtual void focusInEvent(QFocusEvent *event)
Definition ktimecombobox.cpp:531
void timeEntered(const QTime &time)
Signal if the time has been manually entered or selected by the user.
virtual void keyPressEvent(QKeyEvent *event)
Definition ktimecombobox.cpp:479
QList< QTime > timeList() const
Return the list of times able to be selected in the drop-down.
Definition ktimecombobox.cpp:446
void setDisplayFormat(KLocale::TimeFormatOptions formatOptions)
Sets the time format to display.
Definition ktimecombobox.cpp:413
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 ktimecombobox.cpp:457
void setMinimumTime(const QTime &minTime, const QString &minWarnMsg=QString())
Set the minimum allowed time.
Definition ktimecombobox.cpp:360
void timeChanged(const QTime &time)
Signal if the time has been changed either manually by the user or programatically.
void timeEdited(const QTime &time)
Signal if the time is being manually edited by the user.
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.