KDateWidget Class Reference
A pushbutton to display or allow user selection of a date. More...
#include <kdatewidget.h>
Inheritance diagram for KDateWidget:


Signals | |
void | changed (QDate) |
Public Member Functions | |
KDateWidget (QWidget *parent=0, const char *name=0) | |
KDateWidget (QDate date, QWidget *parent=0, const char *name=0) | |
virtual | ~KDateWidget () |
QDate | date () const |
void | setDate (QDate date) |
Protected Slots | |
void | slotDateChanged () |
Protected Member Functions | |
void | init () |
void | init (const QDate &) |
virtual void | virtual_hook (int id, void *data) |
Properties | |
QDate | date |
Detailed Description
A pushbutton to display or allow user selection of a date.This widget can be used to display or allow user selection of a date.
- See also:
- KDatePicker
- Version:
- Id
- kdatewidget.h 353338 2004-10-10 11:37:56Z bhards
Definition at line 36 of file kdatewidget.h.
Constructor & Destructor Documentation
|
Constructs a date selection widget.
Definition at line 54 of file kdatewidget.cpp. |
|
Constructs a date selection widget with the initial date set to
Definition at line 62 of file kdatewidget.cpp. |
|
Destructs the date selection widget.
Definition at line 120 of file kdatewidget.cpp. |
Member Function Documentation
|
Returns the currently selected date.
Referenced by slotDateChanged(). |
|
Changes the selected date to
Definition at line 126 of file kdatewidget.cpp. References KLocale::calendar(), changed(), KCalendarSystem::day(), KCalendarSystem::daysInMonth(), KGlobal::locale(), KCalendarSystem::month(), and KCalendarSystem::year(). Referenced by KDateWidget(), and slotDateChanged(). |
|
Emitted whenever the date of the widget is changed, either with setDate() or via user selection.
Referenced by setDate(). |
The documentation for this class was generated from the following files: