Obsolete Members for QStandardItem

以下成员源于类 QStandardItem 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

(obsolete) bool isTristate () const
(obsolete) void setTristate (bool tristate )

成员函数文档编制

bool QStandardItem:: isTristate () const

使用 QStandardItem::isAutoTristate () instead. For a tristate checkbox that the user can change between all three states, use QStandardItem::isUserTristate () 代替。

void QStandardItem:: setTristate ( bool tristate )

使用 QStandardItem::setAutoTristate (bool tristate) instead. For a tristate checkbox that the user can change between all three states, use QStandardItem::setUserTristate (bool tristate) instead.

另请参阅 isTristate ().