以下成员源于类 QTreeWidget 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
bool
|
isItemExpanded (const QTreeWidgetItem * item ) const |
(obsolete)
bool
|
isItemHidden (const QTreeWidgetItem * item ) const |
(obsolete)
bool
|
isItemSelected (const QTreeWidgetItem * item ) const |
(obsolete)
void
|
setItemExpanded (const QTreeWidgetItem * item , bool expand ) |
(obsolete)
void
|
setItemHidden (const QTreeWidgetItem * item , bool hide ) |
(obsolete)
void
|
setItemSelected (const QTreeWidgetItem * item , bool select ) |
(obsolete)
QList<QTreeWidgetItem *>
|
项 (const QMimeData * data ) const |
返回
true
若给定
item
is open; otherwise returns
false
.
This function is deprecated. Use QTreeWidgetItem::isExpanded () 代替。
另请参阅 itemExpanded ().
返回
true
若
item
is explicitly hidden, otherwise returns
false
.
This function is deprecated. Use QTreeWidgetItem::isHidden () 代替。
返回
true
若
item
is selected; otherwise returns
false
.
This function is deprecated. Use QTreeWidgetItem::isSelected () 代替。
另请参阅 itemSelectionChanged ().
[protected]
QList
<
QTreeWidgetItem
*> QTreeWidget::
项
(const
QMimeData
*
data
) const
Returns an empty list
另请参阅 mimeData ().
Sets the item referred to by item to either closed or opened, depending on the value of expand .
This function is deprecated. Use QTreeWidgetItem::setExpanded () 代替。
另请参阅 expandItem (), collapseItem (),和 itemExpanded ().
Hides the given item if hide 为 true;否则展示项。
This function is deprecated. Use QTreeWidgetItem::setHidden () 代替。
另请参阅 isItemHidden () 和 itemChanged ().
若 select 为 True,给定 item is selected; otherwise it is deselected.
This function is deprecated. Use QTreeWidgetItem::setSelected () 代替。
另请参阅 isItemSelected () 和 itemSelectionChanged ().