NAME

Qt::Gui::QTreeWidget

PUBLIC METHODS

QTreeWidget(QWidget * parent)
QTreeWidget(QWidget * parent = 0)
~QTreeWidget()
void addTopLevelItem(QTreeWidgetItem * item)
void addTopLevelItems(const QList<QTreeWidgetItem *> & items)
void clear()
void closePersistentEditor(QTreeWidgetItem * item, int column)
void closePersistentEditor(QTreeWidgetItem * item, int column = 0)
void collapseItem(const QTreeWidgetItem * item)
int columnCount()
int currentColumn()
QTreeWidgetItem * currentItem()
void editItem(QTreeWidgetItem * item, int column)
void editItem(QTreeWidgetItem * item, int column = 0)
void expandItem(const QTreeWidgetItem * item)
QList<QTreeWidgetItem *> findItems(const QString & text, QFlags<Qt::MatchFlag> flags, int column)
QList<QTreeWidgetItem *> findItems(const QString & text, QFlags<Qt::MatchFlag> flags, int column = 0)
QTreeWidgetItem * headerItem()
int indexOfTopLevelItem(QTreeWidgetItem * item)
int indexOfTopLevelItem(QTreeWidgetItem * item)
void insertTopLevelItem(int index, QTreeWidgetItem * item)
void insertTopLevelItems(int index, const QList<QTreeWidgetItem *> & items)
QTreeWidgetItem * invisibleRootItem()
bool isFirstItemColumnSpanned(const QTreeWidgetItem * item)
bool isItemExpanded(const QTreeWidgetItem * item)
bool isItemHidden(const QTreeWidgetItem * item)
bool isItemSelected(const QTreeWidgetItem * item)
bool isSortingEnabled()
QTreeWidgetItem * itemAbove(const QTreeWidgetItem * item)
QTreeWidgetItem * itemAt(const QPoint & p)
QTreeWidgetItem * itemAt(int x, int y)
QTreeWidgetItem * itemBelow(const QTreeWidgetItem * item)
QWidget * itemWidget(QTreeWidgetItem * item, int column)
void openPersistentEditor(QTreeWidgetItem * item, int column)
void openPersistentEditor(QTreeWidgetItem * item, int column = 0)
void removeItemWidget(QTreeWidgetItem * item, int column)
void scrollToItem(const QTreeWidgetItem * item, QAbstractItemView::ScrollHint hint)
void scrollToItem(const QTreeWidgetItem * item, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible)
QList<QTreeWidgetItem *> selectedItems()
void setColumnCount(int columns)
void setCurrentItem(QTreeWidgetItem * item)
void setCurrentItem(QTreeWidgetItem * item, int column)
void setCurrentItem(QTreeWidgetItem * item, int column, QFlags<QItemSelectionModel::SelectionFlag> command)
void setFirstItemColumnSpanned(const QTreeWidgetItem * item, bool span)
void setHeaderItem(QTreeWidgetItem * item)
void setHeaderLabel(const QString & label)
void setHeaderLabels(const QStringList & labels)
void setItemExpanded(const QTreeWidgetItem * item, bool expand)
void setItemHidden(const QTreeWidgetItem * item, bool hide)
void setItemSelected(const QTreeWidgetItem * item, bool select)
void setItemWidget(QTreeWidgetItem * item, int column, QWidget * widget)
void setSelectionModel(QItemSelectionModel * selectionModel)
void setSortingEnabled(bool enable)
int sortColumn()
void sortItems(int column, Qt::SortOrder order)
QTreeWidgetItem * takeTopLevelItem(int index)
QTreeWidgetItem * topLevelItem(int index)
int topLevelItemCount()
QRect visualItemRect(const QTreeWidgetItem * item)

ENUM VALUES

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html