kalarm/lib
timeperiod.cpp
Go to the documentation of this file.
41 QString TimePeriod::i18n_hours_mins() { return i18nc("@item:inlistbox Time units", "hours/minutes"); }
174 void TimePeriod::setPeriod(const Duration& perod, bool dateOnly, TimePeriod::Units defaultUnits)
287 Units newMaxUnitShown = (mMaxDays >= 7) ? Weeks : (mMaxDays || mDateOnlyOffset) ? Days : HoursMinutes;
419 void TimePeriod::setWhatsThises(const QString& units, const QString& dayWeek, const QString& hourMin)
void setSelectOnStep(bool select)
Sets whether the editor text is to be selected whenever spin buttons are clicked. ...
Definition: timeperiod.cpp:112
Definition: timeperiod.h:65
void setPeriod(const KCal::Duration &period, bool dateOnly, Units defaultUnits)
Initialises the time period value.
Definition: timeperiod.cpp:174
void valueChanged(const KCal::Duration &period)
This signal is emitted whenever the value held in the widget changes.
Definition: timeperiod.h:65
void setSelectOnStep(bool sel)
Sets whether the spin box value text should be selected when its value is stepped.
Definition: spinbox.h:67
bool isNull() const
void setCurrentWidget(QWidget *widget)
virtual void setReadOnly(bool readOnly)
Sets whether the spin box can be changed by the user.
Definition: spinbox2.cpp:109
void setFocus()
void setRange(int minValue, int maxValue)
Sets the minimum and maximum values of the spin box.
Definition: spinbox.h:79
void setFocusProxy(QWidget *w)
void setWhatsThises(const QString &units, const QString &dayWeek, const QString &hourMin=QString())
Sets separate WhatsThis texts for the count spin boxes and the units combo box.
Definition: timeperiod.cpp:419
virtual void setReadOnly(bool readOnly)
Sets whether the combo box is read-only for the user.
Definition: combobox.cpp:32
void setFixedSize(const QSize &s)
void setRange(int minValue, int maxValue)
Sets the minimum and maximum values of the spin box.
Definition: spinbox2.h:140
virtual void setReadOnly(bool readOnly)
Sets whether the widget is read-only for the user.
Definition: timeperiod.cpp:97
void setSelectOnStep(bool sel)
Sets whether the spin box value text should be selected when its value is stepped.
Definition: spinbox2.h:79
void setWhatsThis(const QString &)
virtual QSize sizeHint() const
QSize expandedTo(const QSize &otherSize) const
value
void setDateOnly(bool dateOnly)
Enables or disables minutes and hours/minutes units in the combo box.
Definition: timeperiod.h:112
Definition: timeperiod.h:65
void setMaximum(int hourmin, int days)
Sets the maximum values for the minutes and hours/minutes, and days/weeks spin boxes.
Definition: timeperiod.cpp:130
Definition: timeperiod.h:65
int addWidget(QWidget *widget)
virtual void setReadOnly(bool readOnly)
Sets whether the spin box can be changed by the user.
Definition: spinbox.cpp:76
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.