libyui-qt  2.53.0
YQTableListViewItem Class Reference

Visual representation of a YTableItem. More...

#include <YQTable.h>

Inheritance diagram for YQTableListViewItem:
Collaboration diagram for YQTableListViewItem:

Public Member Functions

 YQTableListViewItem (YQTable *table, QY2ListView *parent, YTableItem *origItem)
 Constructor.
 
YQTabletable () const
 Return the parent table widget.
 
YTableItem * origItem () const
 Return the corresponding YTableItem.
 
void updateCell (const YTableCell *cell)
 Update this item's display with the content of 'cell'.
 
virtual QString smartSortKey (int column) const override
 The text of the table cell or the sort-key if available.
 
- Public Member Functions inherited from QY2ListViewItem
 QY2ListViewItem (QY2ListView *parentListView, const QString &text=QString())
 Constructor for toplevel items.
 
 QY2ListViewItem (QTreeWidgetItem *parentItem, const QString &text=QString())
 Constructor for deeper level items.
 
virtual ~QY2ListViewItem ()
 Destructor.
 
virtual void updateStatus ()
 Update this item's status. More...
 
virtual void updateData ()
 Update this item's data completely. More...
 
virtual bool operator< (const QTreeWidgetItem &other) const
 Comparison function used for sorting the list. More...
 
bool sortByInsertionSequence () const
 Returns 'true' if the sort order should always be the item insertion order, 'false' if the user can change the sort order by clicking on a column header.
 
int serial () const
 Return this item's serial number. More...
 
bool compare (const QString &text1, const QString &text2) const
 Compare two string locate-aware. More...
 
virtual QString toolTip (int column)
 Returns a tool tip text for a specific column of this item. More...
 

Protected Attributes

YQTable_table
 
YTableItem * _origItem
 
- Protected Attributes inherited from QY2ListViewItem
int _serial
 
QColor _textColor
 
QColor _backgroundColor
 

Detailed Description

Visual representation of a YTableItem.

Definition at line 198 of file YQTable.h.


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