QTreeWidgetItem Class Reference
#include <qtreewidget.h>
Definition at line 63 of file qtreewidget.h.
|
| QTreeWidgetItem (int type=Type) |
|
| QTreeWidgetItem (const QStringList &strings, int type=Type) |
|
| QTreeWidgetItem (QTreeWidget *view, int type=Type) |
|
| QTreeWidgetItem (QTreeWidget *view, const QStringList &strings, int type=Type) |
|
| QTreeWidgetItem (QTreeWidget *view, QTreeWidgetItem *after, int type=Type) |
|
| QTreeWidgetItem (QTreeWidgetItem *parent, int type=Type) |
|
| QTreeWidgetItem (QTreeWidgetItem *parent, const QStringList &strings, int type=Type) |
|
| QTreeWidgetItem (QTreeWidgetItem *parent, QTreeWidgetItem *after, int type=Type) |
|
| QTreeWidgetItem (const QTreeWidgetItem &other) |
|
virtual | ~QTreeWidgetItem () |
|
virtual QTreeWidgetItem * | clone () const |
|
QTreeWidget * | treeWidget () const |
|
void | setSelected (bool select) |
|
bool | isSelected () const |
|
void | setHidden (bool hide) |
|
bool | isHidden () const |
|
void | setExpanded (bool expand) |
|
bool | isExpanded () const |
|
void | setFirstColumnSpanned (bool span) |
|
bool | isFirstColumnSpanned () const |
|
void | setDisabled (bool disabled) |
|
bool | isDisabled () const |
|
void | setChildIndicatorPolicy (QTreeWidgetItem::ChildIndicatorPolicy policy) |
|
QTreeWidgetItem::ChildIndicatorPolicy | childIndicatorPolicy () const |
|
Qt::ItemFlags | flags () const |
|
void | setFlags (Qt::ItemFlags flags) |
|
QString | text (int column) const |
|
void | setText (int column, const QString &text) |
|
QIcon | icon (int column) const |
|
void | setIcon (int column, const QIcon &icon) |
|
QString | statusTip (int column) const |
|
void | setStatusTip (int column, const QString &statusTip) |
|
QString | toolTip (int column) const |
|
void | setToolTip (int column, const QString &toolTip) |
|
QString | whatsThis (int column) const |
|
void | setWhatsThis (int column, const QString &whatsThis) |
|
QFont | font (int column) const |
|
void | setFont (int column, const QFont &font) |
|
int | textAlignment (int column) const |
|
void | setTextAlignment (int column, int alignment) |
|
QColor | backgroundColor (int column) const |
|
void | setBackgroundColor (int column, const QColor &color) |
|
QBrush | background (int column) const |
|
void | setBackground (int column, const QBrush &brush) |
|
QColor | textColor (int column) const |
|
void | setTextColor (int column, const QColor &color) |
|
QBrush | foreground (int column) const |
|
void | setForeground (int column, const QBrush &brush) |
|
Qt::CheckState | checkState (int column) const |
|
void | setCheckState (int column, Qt::CheckState state) |
|
QSize | sizeHint (int column) const |
|
void | setSizeHint (int column, const QSize &size) |
|
virtual QVariant | data (int column, int role) const |
|
virtual void | setData (int column, int role, const QVariant &value) |
|
virtual bool | operator< (const QTreeWidgetItem &other) const |
|
virtual void | read (QDataStream &in) |
|
virtual void | write (QDataStream &out) const |
|
QTreeWidgetItem & | operator= (const QTreeWidgetItem &other) |
|
QTreeWidgetItem * | parent () const |
|
QTreeWidgetItem * | child (int index) const |
|
int | childCount () const |
|
int | columnCount () const |
|
int | indexOfChild (QTreeWidgetItem *child) const |
|
void | addChild (QTreeWidgetItem *child) |
|
void | insertChild (int index, QTreeWidgetItem *child) |
|
void | removeChild (QTreeWidgetItem *child) |
|
QTreeWidgetItem * | takeChild (int index) |
|
void | addChildren (const QList< QTreeWidgetItem * > &children) |
|
void | insertChildren (int index, const QList< QTreeWidgetItem * > &children) |
|
QList< QTreeWidgetItem * > | takeChildren () |
|
int | type () const |
|
void | sortChildren (int column, Qt::SortOrder order) |
|
Enumerator |
---|
ShowIndicator |
|
DontShowIndicator |
|
DontShowIndicatorWhenChildless |
|
Definition at line 102 of file qtreewidget.h.
void setSelected |
( |
bool |
select | ) |
|
|
inline |
bool isSelected |
( |
| ) |
const |
|
inline |
void setHidden |
( |
bool |
hide | ) |
|
|
inline |
void setExpanded |
( |
bool |
expand | ) |
|
|
inline |
bool isExpanded |
( |
| ) |
const |
|
inline |
void setFirstColumnSpanned |
( |
bool |
span | ) |
|
|
inline |
bool isFirstColumnSpanned |
( |
| ) |
const |
|
inline |
void setDisabled |
( |
bool |
disabled | ) |
|
|
inline |
bool isDisabled |
( |
| ) |
const |
|
inline |
Qt::ItemFlags flags |
( |
| ) |
const |
void setFlags |
( |
Qt::ItemFlags |
flags | ) |
|
Definition at line 109 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 226 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 113 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
T qvariant_cast(const QVariant &)
Definition at line 229 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 117 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 233 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 122 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 238 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 128 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 243 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 133 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
T qvariant_cast(const QVariant &)
Definition at line 247 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
int textAlignment |
( |
int |
column | ) |
const |
|
inline |
Definition at line 137 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
int toInt(bool *ok=0) const
void setTextAlignment |
( |
int |
column, |
|
|
int |
alignment |
|
) |
| |
|
inline |
Definition at line 139 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 142 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
T qvariant_cast(const QVariant &)
Definition at line 144 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 147 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
T qvariant_cast(const QVariant &)
Definition at line 149 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 152 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
T qvariant_cast(const QVariant &)
Definition at line 154 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 157 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
T qvariant_cast(const QVariant &)
Definition at line 159 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 162 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
int toInt(bool *ok=0) const
Definition at line 164 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 167 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
T qvariant_cast(const QVariant &)
Definition at line 169 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
Definition at line 184 of file qtreewidget.h.
187 executePendingSort();
const T & at(int i) const
Definition at line 190 of file qtreewidget.h.
190 {
return children.
count(); }
int count(const T &t) const
int columnCount |
( |
| ) |
const |
|
inline |
Definition at line 191 of file qtreewidget.h.
191 {
return values.count(); }
GLboolean GLenum GLenum GLvoid * values
Definition at line 250 of file qtreewidget.h.
251 { executePendingSort();
return children.
indexOf(achild); }
int indexOf(const T &t, int from=0) const
Definition at line 204 of file qtreewidget.h.
GLenum GLenum GLvoid GLvoid * column
friend class QTreeWidgetPrivate |
|
friend |
friend class QTreeWidgetItemPrivate |
|
friend |
The documentation for this class was generated from the following file: