kalarm/lib
timespinbox.h
Go to the documentation of this file.
TimeSpinBox(bool use24hour, QWidget *parent=0)
Constructor for a wrapping time spin box which can be used to enter a time of day.
Definition: timespinbox.cpp:43
int minute() const
void setValid(bool)
Sets the spin box as holding a valid or invalid value.
Definition: timespinbox.cpp:172
bool isValid() const
Returns true if the spin box holds a valid value.
Definition: timespinbox.cpp:237
QPoint pos() const
virtual void setMinimum(int minutes)
Sets the maximum value which can be held in the spin box.
Definition: timespinbox.cpp:194
virtual void stepBy(int increment)
Called whenever the user triggers a step, to adjust the value of the spin box.
Definition: timespinbox.cpp:229
int hour() const
void setMaximum(const QTime &t)
Sets the maximum value which can be held in the spin box.
Definition: timespinbox.h:85
virtual QValidator::State validate(QString &, int &pos) const
Determine whether the current input is valid.
Definition: timespinbox.cpp:266
virtual int valueFromText(const QString &) const
Definition: timespinbox.cpp:106
virtual void setMaximum(int val)
Sets the maximum value of the spin box.
Definition: spinbox2.cpp:214
static QString shiftWhatsThis()
Returns a text describing use of the shift key as an accelerator for the spin buttons, designed for incorporation into WhatsThis texts.
Definition: timespinbox.cpp:75
virtual void setMaximum(int minutes)
Sets the maximum value which can be held in the spin box.
Definition: timespinbox.h:83
QTime maxTime() const
Returns the maximum value which can be held in the spin box.
Definition: timespinbox.h:87
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:35:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:35:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.