libyui-qt
2.43.3
|
#include <QY2ListView.h>
Public Member Functions | |
QY2CheckListItem (QY2ListView *parentListView, const QString &text) | |
QY2CheckListItem (QTreeWidgetItem *parentItem, const QString &text) | |
virtual | ~QY2CheckListItem () |
virtual void | updateStatus () |
virtual void | updateData () |
int | serial () const |
void | setTextColor (const QColor &col) |
void | setBackgroundColor (const QColor &col) |
virtual QString | toolTip (int column) |
![]() | |
QY2ListViewItem (QY2ListView *parentListView, const QString &text=QString::null) | |
QY2ListViewItem (QTreeWidgetItem *parentItem, const QString &text=QString::null) | |
virtual | ~QY2ListViewItem () |
virtual bool | operator< (const QTreeWidgetItem &other) const |
int | serial () const |
Protected Attributes | |
int | _serial |
![]() | |
int | _serial |
QColor | _textColor |
QColor | _backgroundColor |
Enhanced QCheckListItem
Definition at line 322 of file QY2ListView.h.
QY2CheckListItem::QY2CheckListItem | ( | QY2ListView * | parentListView, |
const QString & | text | ||
) |
Constructor for toplevel items.
Definition at line 446 of file QY2ListView.cc.
QY2CheckListItem::QY2CheckListItem | ( | QTreeWidgetItem * | parentItem, |
const QString & | text | ||
) |
Constructor for deeper level items.
Definition at line 456 of file QY2ListView.cc.
|
virtual |
Destructor
Definition at line 470 of file QY2ListView.cc.
|
inline |
Return this item's serial number. Useful for comparison functions that order by insertion sequence.
Definition at line 364 of file QY2ListView.h.
|
inline |
Set the text background color for all columns. For more specific purposes reimiplement paintCell().
Definition at line 377 of file QY2ListView.h.
|
inline |
Set the text foreground color for all columns. For more specific purposes reimiplement paintCell().
Definition at line 370 of file QY2ListView.h.
|
inlinevirtual |
Returns a tool tip text for a specific column of this item. 'column' is -1 if the mouse pointer is in the tree indentation area.
This default implementation does nothing.
Reimplemented from QY2ListViewItem.
Definition at line 386 of file QY2ListView.h.
|
inlinevirtual |
Update this item's data completely. Triggered by QY2ListView::updateAllItemData(). Derived classes should overwrite this. This default implementation does nothing.
Reimplemented from QY2ListViewItem.
Definition at line 358 of file QY2ListView.h.
|
inlinevirtual |
Update this item's status. Triggered by QY2ListView::updateAllItemStates(). Derived classes should overwrite this. This default implementation does nothing.
Reimplemented from QY2ListViewItem.
Definition at line 350 of file QY2ListView.h.