Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DatePicker Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/qashmoney/datepicker.h>

Collaboration diagram for DatePicker:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DatePicker (QDate entrydate)
int getDay ()
int getMonth ()
int getYear ()

Public Attributes

QLabel * daylabel
QComboBox * daybox
QLabel * monthlabel
QComboBox * monthbox

Private Slots

void setDay (int)
void setMonth (int)
void setYear (int)

Private Member Functions

void displayDays (QComboBox *daybox)
void displayMonths (QComboBox *monthbox)
void displayYears (QComboBox *yearbox)

Private Attributes

QDate date
QLabel * yearlabel
QComboBox * yearbox
QGridLayout * layout
int day
int month
int year

Constructor & Destructor Documentation

DatePicker::DatePicker QDate  entrydate  ) 
 

Definition at line 3 of file datepicker.cpp.

References date, QDate::day(), day, daybox, daylabel, displayDays(), displayMonths(), displayYears(), layout, QDate::month(), month, monthbox, monthlabel, setDay(), setMonth(), setYear(), QDate::year(), year, yearbox, and yearlabel.


Member Function Documentation

void DatePicker::displayDays QComboBox *  daybox  )  [private]
 

Definition at line 34 of file datepicker.cpp.

References date, QDate::day(), QDate::daysInMonth(), and QString::number().

Referenced by DatePicker().

void DatePicker::displayMonths QComboBox *  monthbox  )  [private]
 

Definition at line 43 of file datepicker.cpp.

References date, QDate::month(), and QString::number().

Referenced by DatePicker().

void DatePicker::displayYears QComboBox *  yearbox  )  [private]
 

Definition at line 51 of file datepicker.cpp.

References date, QString::number(), QDate::year(), and year.

Referenced by DatePicker().

int DatePicker::getDay  ) 
 

Definition at line 82 of file datepicker.cpp.

References day.

Referenced by TransactionDisplay::showCalendar(), NewTransaction::showCalendar(), NewAccount::showCalendar(), and TransferDialog::showCalendar().

int DatePicker::getMonth  ) 
 

Definition at line 85 of file datepicker.cpp.

References month.

Referenced by TransactionDisplay::showCalendar(), NewTransaction::showCalendar(), NewAccount::showCalendar(), BudgetDisplay::showCalendar(), and TransferDialog::showCalendar().

int DatePicker::getYear  ) 
 

Definition at line 88 of file datepicker.cpp.

References year.

Referenced by TransactionDisplay::showCalendar(), NewTransaction::showCalendar(), NewAccount::showCalendar(), BudgetDisplay::showCalendar(), and TransferDialog::showCalendar().

void DatePicker::setDay int   )  [private, slot]
 

Definition at line 67 of file datepicker.cpp.

References day, and daybox.

Referenced by DatePicker().

void DatePicker::setMonth int   )  [private, slot]
 

Definition at line 72 of file datepicker.cpp.

References month, and monthbox.

Referenced by DatePicker().

void DatePicker::setYear int   )  [private, slot]
 

Definition at line 77 of file datepicker.cpp.

References year, and yearbox.

Referenced by DatePicker().


Member Data Documentation

QDate DatePicker::date [private]
 

Definition at line 37 of file datepicker.h.

Referenced by DatePicker(), displayDays(), displayMonths(), and displayYears().

int DatePicker::day [private]
 

Definition at line 44 of file datepicker.h.

Referenced by DatePicker(), getDay(), and setDay().

QComboBox* DatePicker::daybox
 

Definition at line 17 of file datepicker.h.

Referenced by DatePicker(), setDay(), and BudgetDisplay::showCalendar().

QLabel* DatePicker::daylabel
 

Definition at line 13 of file datepicker.h.

Referenced by DatePicker(), and BudgetDisplay::showCalendar().

QGridLayout* DatePicker::layout [private]
 

Definition at line 42 of file datepicker.h.

Referenced by DatePicker().

int DatePicker::month [private]
 

Definition at line 44 of file datepicker.h.

Referenced by DatePicker(), getMonth(), and setMonth().

QComboBox* DatePicker::monthbox
 

Definition at line 20 of file datepicker.h.

Referenced by DatePicker(), setMonth(), and BudgetDisplay::showCalendar().

QLabel* DatePicker::monthlabel
 

Definition at line 19 of file datepicker.h.

Referenced by DatePicker(), and BudgetDisplay::showCalendar().

int DatePicker::year [private]
 

Definition at line 44 of file datepicker.h.

Referenced by DatePicker(), displayYears(), getYear(), and setYear().

QComboBox* DatePicker::yearbox [private]
 

Definition at line 40 of file datepicker.h.

Referenced by DatePicker(), and setYear().

QLabel* DatePicker::yearlabel [private]
 

Definition at line 39 of file datepicker.h.

Referenced by DatePicker().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:30:42 2005 for OPIE by  doxygen 1.4.2