Obsolete Members for QColor

以下成員源於類 QColor 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(obsolete) QColor dark (int factor = 200) const
(obsolete) void getCmyk (int * c , int * m , int * y , int * k , int * a = nullptr)
(obsolete) void getCmykF (qreal * c , qreal * m , qreal * y , qreal * k , qreal * a = nullptr)
(obsolete) QColor light (int factor = 150) const

成員函數文檔編製

QColor QColor:: dark ( int factor = 200) const

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

Use darker( factor ) 代替。

void QColor:: getCmyk ( int * c , int * m , int * y , int * k , int * a = nullptr)

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

使用 const overload instead.

void QColor:: getCmykF ( qreal * c , qreal * m , qreal * y , qreal * k , qreal * a = nullptr)

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

使用 const overload instead.

QColor QColor:: light ( int factor = 150) const

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

Use lighter( factor ) 代替。