libyui-qt
2.53.0
|
Visual representation of a YTableItem. More...
#include <YQTable.h>
Public Member Functions | |
YQTableListViewItem (YQTable *table, QY2ListView *parent, YTableItem *origItem) | |
Constructor. | |
YQTable * | table () 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. | |
![]() | |
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 |
![]() | |
int | _serial |
QColor | _textColor |
QColor | _backgroundColor |