以下成員源於類 QListWidgetItem 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
QColor
|
backgroundColor () const |
(obsolete)
virtual void
|
setBackgroundColor (const QColor & color ) |
(obsolete)
void
|
setTextColor (const QColor & color ) |
(obsolete)
QColor
|
textColor () const |
This function is deprecated. Use background () 代替。
另請參閱 setBackgroundColor ().
[虛擬]
void
QListWidgetItem::
setBackgroundColor
(const
QColor
&
color
)
This function is deprecated. Use setBackground () 代替。
另請參閱 backgroundColor ().
This function is deprecated. Use setForeground () 代替。
另請參閱 textColor ().
Returns the color used to display the list item's text.
This function is deprecated. Use foreground () 代替。
另請參閱 setTextColor ().