Obsolete Members for QTreeWidgetItem
The following members of class QTreeWidgetItem are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
公有函数
(obsolete) QColor | backgroundColor(int column) const |
(obsolete) void | setBackgroundColor(int column, const QColor &color) |
(obsolete) void | setTextColor(int column, const QColor &color) |
(obsolete) QColor | textColor(int column) const |
成员函数
QColor QTreeWidgetItem::backgroundColor(int column) const
This function is deprecated. Use background() instead.
参见 setBackgroundColor().
void QTreeWidgetItem::setBackgroundColor(int column, const QColor &color)
This function is deprecated. Use setBackground() instead.
参见 backgroundColor().
void QTreeWidgetItem::setTextColor(int column, const QColor &color)
This function is deprecated. Use setForeground() instead.
参见 textColor().
QColor QTreeWidgetItem::textColor(int column) const
This function is deprecated. Use foreground() instead.
参见 setTextColor().