以下成員源於類 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 ().