XDateEdit Class Reference

#include <datecluster.h>

List of all members.

Public Types

enum  Defaults { Empty, Current, None }

Properties

QDate currentDefault
QDate date
Defaults defaultDate
QString fieldName

Public Member Functions

 XDateEdit (QWidget *parent=0, const char *=0)
virtual ~XDateEdit ()
virtual void clear ()
virtual QDate currentDefault ()
virtual QDate date ()
virtual Defaults defaultDate ()
virtual QString fieldName () const
virtual bool isNull ()
virtual bool isValid ()
void setAllowNullDate (bool pAllowNull)
void setNullDate (const QDate &pNullDate)
void setNullString (const QString &pNullString)

Public Slots

void parseDate ()
virtual void setDataWidgetMap (XDataWidgetMapper *m)
void setDate (const QDate &, bool=false)
void setDefaultDate (Defaults p)
virtual void setFieldName (QString p)
void setNull ()
void showCalendar ()

Signals

void newDate (const QDate &)

Member Enumeration Documentation

Enumerator:
Empty 
Current 
None 

Constructor & Destructor Documentation

XDateEdit::XDateEdit ( QWidget parent = 0,
const char *  name = 0 
)
XDateEdit::~XDateEdit (  )  [virtual]

Member Function Documentation

void XDateEdit::clear (  )  [virtual]

Reimplemented from QLineEdit.

virtual QDate XDateEdit::currentDefault (  )  [virtual]
virtual QDate XDateEdit::date (  )  [virtual]
virtual Defaults XDateEdit::defaultDate (  )  [inline, virtual]
virtual QString XDateEdit::fieldName (  )  const [inline, virtual]

Reimplemented from XLineEdit.

bool XDateEdit::isNull (  )  [virtual]
bool XDateEdit::isValid (  )  [virtual]

Reimplemented from XLineEdit.

void XDateEdit::newDate ( const QDate  )  [signal]
void XDateEdit::parseDate (  )  [slot]
void XDateEdit::setAllowNullDate ( bool  pAllowNull  )  [inline]
void XDateEdit::setDataWidgetMap ( XDataWidgetMapper m  )  [virtual, slot]

Reimplemented from XLineEdit.

void XDateEdit::setDate ( const QDate pDate,
bool  pAnnounce = false 
) [slot]
void XDateEdit::setDefaultDate ( Defaults  p  )  [inline, slot]
virtual void XDateEdit::setFieldName ( QString  p  )  [inline, virtual, slot]

Reimplemented from XLineEdit.

void XDateEdit::setNull (  )  [slot]
void XDateEdit::setNullDate ( const QDate pNullDate  )  [inline]
void XDateEdit::setNullString ( const QString pNullString  )  [inline]
void XDateEdit::showCalendar (  )  [slot]

Property Documentation

QDate XDateEdit::currentDefault [read]
QDate XDateEdit::date [read, write]
Defaults XDateEdit::defaultDate [read, write]
QString XDateEdit::fieldName [read, write]

Reimplemented from XLineEdit.


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

Generated on Tue Apr 20 12:03:57 2010 xTuple ERP Programmer Reference, Version 3.5.0 doxygen 1.6.1