|
libyui-qt
|
#include <YQTable.h>


Public Member Functions | |
| YQTableListViewItem (YQTable *table, QY2ListView *parent, YTableItem *origItem) | |
| YQTableListViewItem (YQTable *table, YQTableListViewItem *parentItemClone, YTableItem *origItem) | |
| YQTable * | table () const |
| YTableItem * | origItem () const |
| void | updateCell (const YTableCell *cell) |
| void | updateCells () |
| virtual QString | smartSortKey (int column) const override |
Public Member Functions inherited from QY2ListViewItem | |
| QY2ListViewItem (QY2ListView *parentListView, const QString &text=QString()) | |
| QY2ListViewItem (QTreeWidgetItem *parentItem, const QString &text=QString()) | |
| virtual | ~QY2ListViewItem () |
| virtual void | updateStatus () |
| virtual void | updateData () |
| virtual bool | operator< (const QTreeWidgetItem &other) const |
| bool | sortByInsertionSequence () const |
| int | serial () const |
| bool | compare (const QString &text1, const QString &text2) const |
| virtual QString | toolTip (int column) |
Protected Member Functions | |
| void | init () |
| void | setColAlignment () |
Protected Attributes | |
| YQTable * | _table |
| YTableItem * | _origItem |
Protected Attributes inherited from QY2ListViewItem | |
| int | _serial |
| QColor | _textColor |
| QColor | _backgroundColor |
Visual representation of a YTableItem.
| YQTableListViewItem::YQTableListViewItem | ( | YQTable * | table, |
| QY2ListView * | parent, | ||
| YTableItem * | origItem | ||
| ) |
Constructor for toplevel items.
| YQTableListViewItem::YQTableListViewItem | ( | YQTable * | table, |
| YQTableListViewItem * | parentItemClone, | ||
| YTableItem * | origItem | ||
| ) |
Constructor for nested items.
|
protected |
Common initializations for all constructors
|
inline |
Return the corresponding YTableItem.
|
protected |
Set the alignment for each column according to the YTable parent's alignment.
|
overridevirtual |
The text of the table cell or the sort-key if available.
Reimplemented from QY2ListViewItem.
|
inline |
Return the parent table widget.
| void YQTableListViewItem::updateCell | ( | const YTableCell * | cell | ) |
Update this item's display with the content of 'cell'.
| void YQTableListViewItem::updateCells | ( | ) |
Update all columns of this item with the content of the original item.