List of all members | Properties | Public Member Functions | Public Slots | Signals
DLineEdit Class Reference

#include <datecluster.h>

Properties

QDate date
 
XDateEdit::Defaults defaultDate
 
QString fieldName
 

Public Member Functions

 DLineEdit (QWidget *parent=0, const char *=0)
 
virtual Q_INVOKABLE int calendarSiteId ()
 
virtual Q_INVOKABLE void clear ()
 
virtual QDate date ()
 
virtual XDateEdit::Defaults defaultDate ()
 
virtual QString fieldName () const
 
virtual Q_INVOKABLE bool isNull ()
 
virtual Q_INVOKABLE bool isValid ()
 
Q_INVOKABLE void setAllowNullDate (bool p)
 
Q_INVOKABLE void setCalendarSiteId (int siteId)
 
Q_INVOKABLE void setDate (const QVariant &p, bool b=false)
 
Q_INVOKABLE void setNullDate (const QDate &p)
 
Q_INVOKABLE void setNullString (const QString &p)
 

Public Slots

virtual void setDataWidgetMap (XDataWidgetMapper *m)
 
void setDate (const QDate &p, bool b=false)
 
virtual void setDefaultDate (XDateEdit::Defaults p)
 
virtual void setEnabled (const bool)
 
virtual void setFieldName (QString p)
 
void setNull ()
 
void showCalendar ()
 
QString toISOString ()
 

Signals

void newDate (const QDate &)
 

Constructor & Destructor Documentation

DLineEdit::DLineEdit ( QWidget parent = 0,
const char *  name = 0 
)

Member Function Documentation

virtual Q_INVOKABLE int DLineEdit::calendarSiteId ( )
inlinevirtual
virtual Q_INVOKABLE void DLineEdit::clear ( )
inlinevirtual
virtual QDate DLineEdit::date ( )
inlinevirtual
virtual XDateEdit::Defaults DLineEdit::defaultDate ( )
inlinevirtual
virtual QString DLineEdit::fieldName ( ) const
inlinevirtual
virtual Q_INVOKABLE bool DLineEdit::isNull ( )
inlinevirtual
virtual Q_INVOKABLE bool DLineEdit::isValid ( )
inlinevirtual
void DLineEdit::newDate ( const QDate &  )
signal
Q_INVOKABLE void DLineEdit::setAllowNullDate ( bool  p)
inline
Q_INVOKABLE void DLineEdit::setCalendarSiteId ( int  siteId)
inline
virtual void DLineEdit::setDataWidgetMap ( XDataWidgetMapper m)
inlinevirtualslot
void DLineEdit::setDate ( const QVariant &  p,
bool  b = false 
)

Sets the date on the cluster to p where b flags whether to emit the newDate signal. Specifically designed to work in a scripted environment where java script dates are passed as a QVariant.

void DLineEdit::setDate ( const QDate &  p,
bool  b = false 
)
inlineslot
virtual void DLineEdit::setDefaultDate ( XDateEdit::Defaults  p)
inlinevirtualslot
void DLineEdit::setEnabled ( const bool  p)
virtualslot
virtual void DLineEdit::setFieldName ( QString  p)
inlinevirtualslot
void DLineEdit::setNull ( )
inlineslot
Q_INVOKABLE void DLineEdit::setNullDate ( const QDate &  p)
inline
Q_INVOKABLE void DLineEdit::setNullString ( const QString &  p)
inline
void DLineEdit::showCalendar ( )
inlineslot
QString DLineEdit::toISOString ( )
slot

Property Documentation

QDate DLineEdit::date
readwrite
XDateEdit::Defaults DLineEdit::defaultDate
readwrite
QString DLineEdit::fieldName
readwrite

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

Generated on Fri Oct 7 2016 14:23:28 xTuple ERP Programmer Reference, Version 4.2.0 doxygen 1.8.10