libyui-qt  2.52.4
YQWizard::TreeItem Class Reference

Helper class for wizard tree item. More...

#include <YQWizard.h>

Inheritance diagram for YQWizard::TreeItem:
Collaboration diagram for YQWizard::TreeItem:

Public Member Functions

 TreeItem (QY2ListView *parent, const QString &text, const QString &id)
 
 TreeItem (YQWizard::TreeItem *parent, const QString &text, const QString &id)
 
virtual QString text (int index) const
 
QString text () const
 
QString id () const
 
- 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 smartSortKey (int column) const
 The text of the table cell or the sort-key if available.
 
virtual QString toolTip (int column)
 Returns a tool tip text for a specific column of this item. More...
 

Additional Inherited Members

- Protected Attributes inherited from QY2ListViewItem
int _serial
 
QColor _textColor
 
QColor _backgroundColor
 

Detailed Description

Helper class for wizard tree item.

Definition at line 717 of file YQWizard.h.


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