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

#include <datecluster.h>

Inheritance diagram for DLineEdit:
QWidget

Properties

QDate date
 
XDateEdit::Defaults defaultDate
 
QString fieldName
 

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 &)
 

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)
 

Property Documentation

◆ date

QDate DLineEdit::date
readwrite

◆ defaultDate

XDateEdit::Defaults DLineEdit::defaultDate
readwrite

◆ fieldName

QString DLineEdit::fieldName
readwrite

Constructor & Destructor Documentation

◆ DLineEdit()

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

Member Function Documentation

◆ calendarSiteId()

virtual Q_INVOKABLE int DLineEdit::calendarSiteId ( )
inlinevirtual

◆ clear()

virtual Q_INVOKABLE void DLineEdit::clear ( )
inlinevirtual

◆ date()

virtual QDate DLineEdit::date ( )
inlinevirtual

◆ defaultDate()

virtual XDateEdit::Defaults DLineEdit::defaultDate ( )
inlinevirtual

◆ fieldName()

virtual QString DLineEdit::fieldName ( ) const
inlinevirtual

◆ isNull()

virtual Q_INVOKABLE bool DLineEdit::isNull ( )
inlinevirtual

◆ isValid()

virtual Q_INVOKABLE bool DLineEdit::isValid ( )
inlinevirtual

◆ newDate

void DLineEdit::newDate ( const QDate &  )
signal

◆ setAllowNullDate()

Q_INVOKABLE void DLineEdit::setAllowNullDate ( bool  p)
inline

◆ setCalendarSiteId()

Q_INVOKABLE void DLineEdit::setCalendarSiteId ( int  siteId)
inline

◆ setDataWidgetMap

virtual void DLineEdit::setDataWidgetMap ( XDataWidgetMapper m)
inlinevirtualslot

◆ setDate [1/2]

void DLineEdit::setDate ( const QDate &  p,
bool  b = false 
)
inlineslot

◆ setDate() [2/2]

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.

◆ setDefaultDate

virtual void DLineEdit::setDefaultDate ( XDateEdit::Defaults  p)
inlinevirtualslot

◆ setEnabled

void DLineEdit::setEnabled ( const bool  p)
virtualslot

◆ setFieldName

virtual void DLineEdit::setFieldName ( QString  p)
inlinevirtualslot

◆ setNull

void DLineEdit::setNull ( )
inlineslot

◆ setNullDate()

Q_INVOKABLE void DLineEdit::setNullDate ( const QDate &  p)
inline

◆ setNullString()

Q_INVOKABLE void DLineEdit::setNullString ( const QString &  p)
inline

◆ showCalendar

void DLineEdit::showCalendar ( )
inlineslot

◆ toISOString

QString DLineEdit::toISOString ( )
slot

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

Generated on Mon May 3 2021 xTuple ERP Programmer Reference, Version 4.12.0 doxygen 1.8.17