Logo Search packages:      
Sourcecode: zanshin version File versions  Download package

Public Types | Signals | Public Member Functions | Protected Slots | Private Member Functions | Private Attributes

KPIM::KDatePickerPopup Class Reference

This menu helps the user to select a date quickly. More...

#include <kdatepickerpopup.h>

List of all members.

Public Types

enum  ItemFlag { NoDate = 1, DatePicker = 2, Words = 4 }

Signals

void dateChanged (const QDate &date)

Public Member Functions

KDatePicker * datePicker () const
int items () const
 KDatePickerPopup (Items items=DatePicker, const QDate &date=QDate::currentDate(), QWidget *parent=0)
void setDate (const QDate &date)

Protected Slots

void slotDateChanged (const QDate &date)
void slotNextMonth ()
void slotNextWeek ()
void slotNoDate ()
void slotToday ()
void slotTomorrow ()

Private Member Functions

void buildMenu ()

Private Attributes

KDatePicker * mDatePicker
Items mItems

Detailed Description

This menu helps the user to select a date quickly.

This menu helps the user to select a date quicly. It offers various ways of selecting, e.g. with a KDatePicker or with words like "Tomorrow".

The available items are:

When supplying multiple items, separate each item with a bitwise OR.

Author:
Bram Schoenmakers <bram_s@softhome.net>

Definition at line 48 of file kdatepickerpopup.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index