List of all members | Public Member Functions | Protected Member Functions
PeriodListViewItem Class Reference

#include <calendarTools.h>

Inheritance diagram for PeriodListViewItem:
XTreeWidgetItem QObject QTreeWidgetItem

Public Member Functions

 PeriodListViewItem (PeriodsListView *, XTreeWidgetItem *, int, QDate, QDate, QString, QString)
 
Q_INVOKABLE int altId () const
 
Q_INVOKABLE XTreeWidgetItemchild (int idx) const
 
Q_INVOKABLE QVariant data (int colidx, int role) const
 
Q_INVOKABLE QDate endDate ()
 
Q_INVOKABLE int id () const
 
virtual Q_INVOKABLE int id (const QString)
 
virtual bool operator< (const XTreeWidgetItem &other) const
 
virtual bool operator== (const XTreeWidgetItem &other) const
 
virtual Q_INVOKABLE QVariant rawValue (const QString colname)
 
Q_INVOKABLE void setAltId (int pId)
 
Q_INVOKABLE void setData (int colidx, int role, const QVariant &val)
 
virtual Q_INVOKABLE void setDate (int pColIdx, const QVariant pDate)
 
Q_INVOKABLE void setId (int pId)
 
virtual Q_INVOKABLE void setNumber (int pColIdx, const QVariant pValue, const QString pRole)
 
virtual Q_INVOKABLE bool setNumericRole (int pColIdx, const QString pRole)
 
virtual Q_INVOKABLE void setText (int, const QVariant &)
 
Q_INVOKABLE void setTextColor (const QColor &)
 
Q_INVOKABLE void setTextColor (int column, const QColor &color)
 
Q_INVOKABLE QDate startDate ()
 
virtual Q_INVOKABLE QString text (const QString &) const
 
virtual Q_INVOKABLE QString text (int p) const
 
virtual QString toString () const
 

Protected Member Functions

virtual double totalForItem (const int, const int) const
 

Constructor & Destructor Documentation

◆ PeriodListViewItem()

PeriodListViewItem::PeriodListViewItem ( PeriodsListView parent,
XTreeWidgetItem itm,
int  pId,
QDate  pStartDate,
QDate  pEndDate,
QString  s0,
QString  s1 
)

Member Function Documentation

◆ altId()

Q_INVOKABLE int XTreeWidgetItem::altId ( ) const
inlineinherited

◆ child()

Q_INVOKABLE XTreeWidgetItem* XTreeWidgetItem::child ( int  idx) const
inlineinherited

◆ data()

Q_INVOKABLE QVariant XTreeWidgetItem::data ( int  colidx,
int  role 
) const
inlineinherited

◆ endDate()

Q_INVOKABLE QDate PeriodListViewItem::endDate ( )
inline

◆ id() [1/2]

Q_INVOKABLE int XTreeWidgetItem::id ( ) const
inlineinherited

◆ id() [2/2]

int XTreeWidgetItem::id ( const QString  p)
virtualinherited

◆ operator<()

bool XTreeWidgetItem::operator< ( const XTreeWidgetItem other) const
virtualinherited

◆ operator==()

bool XTreeWidgetItem::operator== ( const XTreeWidgetItem other) const
virtualinherited

◆ rawValue()

QVariant XTreeWidgetItem::rawValue ( const QString  colname)
virtualinherited

◆ setAltId()

Q_INVOKABLE void XTreeWidgetItem::setAltId ( int  pId)
inlineinherited

◆ setData()

Q_INVOKABLE void XTreeWidgetItem::setData ( int  colidx,
int  role,
const QVariant &  val 
)
inlineinherited

◆ setDate()

void XTreeWidgetItem::setDate ( int  pColIdx,
const QVariant  pDate 
)
virtualinherited

◆ setId()

Q_INVOKABLE void XTreeWidgetItem::setId ( int  pId)
inlineinherited

◆ setNumber()

void XTreeWidgetItem::setNumber ( int  pColIdx,
const QVariant  pValue,
const QString  pRole 
)
virtualinherited

◆ setNumericRole()

bool XTreeWidgetItem::setNumericRole ( int  pColIdx,
const QString  pRole 
)
virtualinherited

◆ setText()

void XTreeWidgetItem::setText ( int  pColumn,
const QVariant &  pVariant 
)
virtualinherited

◆ setTextColor() [1/2]

void XTreeWidgetItem::setTextColor ( const QColor &  pColor)
inherited

◆ setTextColor() [2/2]

Q_INVOKABLE void XTreeWidgetItem::setTextColor ( int  column,
const QColor &  color 
)
inlineinherited

◆ startDate()

Q_INVOKABLE QDate PeriodListViewItem::startDate ( )
inline

◆ text() [1/2]

QString XTreeWidgetItem::text ( const QString &  pColumn) const
virtualinherited

◆ text() [2/2]

virtual Q_INVOKABLE QString XTreeWidgetItem::text ( int  p) const
inlinevirtualinherited

◆ toString()

QString XTreeWidgetItem::toString ( ) const
virtualinherited

◆ totalForItem()

double XTreeWidgetItem::totalForItem ( const int  pcol,
const int  pset 
) const
protectedvirtualinherited

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