List of all members | Public Member Functions | Protected Member Functions | Friends
XTreeWidgetItem Class Reference

#include <xtreewidget.h>

Inheritance diagram for XTreeWidgetItem:
QObject QTreeWidgetItem PeriodListViewItem

Public Member Functions

 XTreeWidgetItem (XTreeWidget *, int, int, QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant())
 
 XTreeWidgetItem (XTreeWidget *, int, QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant())
 
 XTreeWidgetItem (XTreeWidget *, XTreeWidgetItem *, int, int, QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant())
 
 XTreeWidgetItem (XTreeWidget *, XTreeWidgetItem *, int, QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant())
 
 XTreeWidgetItem (XTreeWidgetItem *, int, int, QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant())
 
 XTreeWidgetItem (XTreeWidgetItem *, int, QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant())
 
 XTreeWidgetItem (XTreeWidgetItem *, XTreeWidgetItem *, int, int, QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant())
 
 XTreeWidgetItem (XTreeWidgetItem *, XTreeWidgetItem *, int, QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant(), QVariant=QVariant())
 
Q_INVOKABLE int altId () const
 
Q_INVOKABLE XTreeWidgetItemchild (int idx) const
 
Q_INVOKABLE QVariant data (int colidx, int role) const
 
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)
 
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
 

Friends

class XTreeWidget
 

Constructor & Destructor Documentation

◆ XTreeWidgetItem() [1/8]

XTreeWidgetItem::XTreeWidgetItem ( XTreeWidgetItem itm,
int  pId,
QVariant  v0 = QVariant(),
QVariant  v1 = QVariant(),
QVariant  v2 = QVariant(),
QVariant  v3 = QVariant(),
QVariant  v4 = QVariant(),
QVariant  v5 = QVariant(),
QVariant  v6 = QVariant(),
QVariant  v7 = QVariant(),
QVariant  v8 = QVariant(),
QVariant  v9 = QVariant(),
QVariant  v10 = QVariant() 
)

◆ XTreeWidgetItem() [2/8]

XTreeWidgetItem::XTreeWidgetItem ( XTreeWidgetItem itm,
int  pId,
int  pAltId,
QVariant  v0 = QVariant(),
QVariant  v1 = QVariant(),
QVariant  v2 = QVariant(),
QVariant  v3 = QVariant(),
QVariant  v4 = QVariant(),
QVariant  v5 = QVariant(),
QVariant  v6 = QVariant(),
QVariant  v7 = QVariant(),
QVariant  v8 = QVariant(),
QVariant  v9 = QVariant(),
QVariant  v10 = QVariant() 
)

◆ XTreeWidgetItem() [3/8]

XTreeWidgetItem::XTreeWidgetItem ( XTreeWidget pParent,
int  pId,
QVariant  v0 = QVariant(),
QVariant  v1 = QVariant(),
QVariant  v2 = QVariant(),
QVariant  v3 = QVariant(),
QVariant  v4 = QVariant(),
QVariant  v5 = QVariant(),
QVariant  v6 = QVariant(),
QVariant  v7 = QVariant(),
QVariant  v8 = QVariant(),
QVariant  v9 = QVariant(),
QVariant  v10 = QVariant() 
)

◆ XTreeWidgetItem() [4/8]

XTreeWidgetItem::XTreeWidgetItem ( XTreeWidget pParent,
int  pId,
int  pAltId,
QVariant  v0 = QVariant(),
QVariant  v1 = QVariant(),
QVariant  v2 = QVariant(),
QVariant  v3 = QVariant(),
QVariant  v4 = QVariant(),
QVariant  v5 = QVariant(),
QVariant  v6 = QVariant(),
QVariant  v7 = QVariant(),
QVariant  v8 = QVariant(),
QVariant  v9 = QVariant(),
QVariant  v10 = QVariant() 
)

◆ XTreeWidgetItem() [5/8]

XTreeWidgetItem::XTreeWidgetItem ( XTreeWidget pParent,
XTreeWidgetItem itm,
int  pId,
QVariant  v0 = QVariant(),
QVariant  v1 = QVariant(),
QVariant  v2 = QVariant(),
QVariant  v3 = QVariant(),
QVariant  v4 = QVariant(),
QVariant  v5 = QVariant(),
QVariant  v6 = QVariant(),
QVariant  v7 = QVariant(),
QVariant  v8 = QVariant(),
QVariant  v9 = QVariant(),
QVariant  v10 = QVariant() 
)

◆ XTreeWidgetItem() [6/8]

XTreeWidgetItem::XTreeWidgetItem ( XTreeWidget pParent,
XTreeWidgetItem itm,
int  pId,
int  pAltId,
QVariant  v0 = QVariant(),
QVariant  v1 = QVariant(),
QVariant  v2 = QVariant(),
QVariant  v3 = QVariant(),
QVariant  v4 = QVariant(),
QVariant  v5 = QVariant(),
QVariant  v6 = QVariant(),
QVariant  v7 = QVariant(),
QVariant  v8 = QVariant(),
QVariant  v9 = QVariant(),
QVariant  v10 = QVariant() 
)

◆ XTreeWidgetItem() [7/8]

XTreeWidgetItem::XTreeWidgetItem ( XTreeWidgetItem pParent,
XTreeWidgetItem itm,
int  pId,
QVariant  v0 = QVariant(),
QVariant  v1 = QVariant(),
QVariant  v2 = QVariant(),
QVariant  v3 = QVariant(),
QVariant  v4 = QVariant(),
QVariant  v5 = QVariant(),
QVariant  v6 = QVariant(),
QVariant  v7 = QVariant(),
QVariant  v8 = QVariant(),
QVariant  v9 = QVariant(),
QVariant  v10 = QVariant() 
)

◆ XTreeWidgetItem() [8/8]

XTreeWidgetItem::XTreeWidgetItem ( XTreeWidgetItem pParent,
XTreeWidgetItem itm,
int  pId,
int  pAltId,
QVariant  v0 = QVariant(),
QVariant  v1 = QVariant(),
QVariant  v2 = QVariant(),
QVariant  v3 = QVariant(),
QVariant  v4 = QVariant(),
QVariant  v5 = QVariant(),
QVariant  v6 = QVariant(),
QVariant  v7 = QVariant(),
QVariant  v8 = QVariant(),
QVariant  v9 = QVariant(),
QVariant  v10 = QVariant() 
)

Member Function Documentation

◆ altId()

Q_INVOKABLE int XTreeWidgetItem::altId ( ) const
inline

◆ child()

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

◆ data()

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

◆ id() [1/2]

Q_INVOKABLE int XTreeWidgetItem::id ( ) const
inline

◆ id() [2/2]

int XTreeWidgetItem::id ( const QString  p)
virtual

◆ operator<()

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

◆ operator==()

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

◆ rawValue()

QVariant XTreeWidgetItem::rawValue ( const QString  colname)
virtual

◆ setAltId()

Q_INVOKABLE void XTreeWidgetItem::setAltId ( int  pId)
inline

◆ setData()

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

◆ setDate()

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

◆ setId()

Q_INVOKABLE void XTreeWidgetItem::setId ( int  pId)
inline

◆ setNumber()

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

◆ setNumericRole()

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

◆ setText()

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

◆ setTextColor() [1/2]

void XTreeWidgetItem::setTextColor ( const QColor &  pColor)

◆ setTextColor() [2/2]

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

◆ text() [1/2]

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

◆ text() [2/2]

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

◆ toString()

QString XTreeWidgetItem::toString ( ) const
virtual

◆ totalForItem()

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

Friends And Related Function Documentation

◆ XTreeWidget

friend class XTreeWidget
friend

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

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