List of all members | Properties | Public Slots | Signals | Public Member Functions | Protected Attributes
DateCluster Class Reference

#include <datecluster.h>

Inheritance diagram for DateCluster:
QWidget

Properties

QDate endDate
 
QDate startDate
 

Public Slots

void setEndVisible (bool p)
 
void setStartVisible (bool p)
 

Signals

void updated ()
 

Public Member Functions

 DateCluster (QWidget *, const char *=0)
 
Q_INVOKABLE bool allValid ()
 
Q_INVOKABLE void appendValue (ParameterList &)
 
void bindValue (XSqlQuery &)
 
QDate endDate ()
 
Q_INVOKABLE bool endVisible () const
 
Q_INVOKABLE void setEndCaption (const QString &)
 
void setEndDate (const QDate &pDate)
 
Q_INVOKABLE void setEndDate (const QVariant &pDate)
 
Q_INVOKABLE void setEndNull (const QString &, const QDate &, bool)
 
Q_INVOKABLE void setStartCaption (const QString &)
 
void setStartDate (const QDate &pDate)
 
Q_INVOKABLE void setStartDate (const QVariant &pDate)
 
Q_INVOKABLE void setStartNull (const QString &, const QDate &, bool)
 
QDate startDate ()
 
Q_INVOKABLE bool startVisible () const
 

Protected Attributes

DLineEdit_endDate
 
DLineEdit_startDate
 

Property Documentation

◆ endDate

QDate DateCluster::endDate
readwrite

◆ startDate

QDate DateCluster::startDate
readwrite

Constructor & Destructor Documentation

◆ DateCluster()

DateCluster::DateCluster ( QWidget pParent,
const char *  pName = 0 
)

Member Function Documentation

◆ allValid()

Q_INVOKABLE bool DateCluster::allValid ( )
inline

◆ appendValue()

void DateCluster::appendValue ( ParameterList &  pParams)

◆ bindValue()

void DateCluster::bindValue ( XSqlQuery &  pQuery)

◆ endDate()

QDate DateCluster::endDate ( )
inline

◆ endVisible()

Q_INVOKABLE bool DateCluster::endVisible ( ) const
inline

◆ setEndCaption()

void DateCluster::setEndCaption ( const QString &  pString)

◆ setEndDate() [1/2]

void DateCluster::setEndDate ( const QDate &  pDate)
inline

◆ setEndDate() [2/2]

void DateCluster::setEndDate ( const QVariant &  pDate)

Sets the end date on the cluster to pDate. Specifically designed to work in a scripted environment where java script dates are passed as a QVariant.

◆ setEndNull()

void DateCluster::setEndNull ( const QString &  pString,
const QDate &  pDate,
bool  pSetNull 
)

◆ setEndVisible

void DateCluster::setEndVisible ( bool  p)
slot

◆ setStartCaption()

void DateCluster::setStartCaption ( const QString &  pString)

◆ setStartDate() [1/2]

void DateCluster::setStartDate ( const QDate &  pDate)
inline

◆ setStartDate() [2/2]

void DateCluster::setStartDate ( const QVariant &  pDate)

Sets the start date on the cluster to pDate. Specifically designed to work in a scripted environment where java script dates are passed as a QVariant.

◆ setStartNull()

void DateCluster::setStartNull ( const QString &  pString,
const QDate &  pDate,
bool  pSetNull 
)

◆ setStartVisible

void DateCluster::setStartVisible ( bool  p)
slot

◆ startDate()

QDate DateCluster::startDate ( )
inline

◆ startVisible()

Q_INVOKABLE bool DateCluster::startVisible ( ) const
inline

◆ updated

void DateCluster::updated ( )
signal

Member Data Documentation

◆ _endDate

DLineEdit* DateCluster::_endDate
protected

◆ _startDate

DLineEdit* DateCluster::_startDate
protected

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17