以下成员源于类 QPalette 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(弃用)
|
QPalette (const QColor & windowText , const QColor & window , const QColor & light , const QColor & dark , const QColor & mid , const QColor & text , const QColor & base ) |
[deprecated]
QPalette::
QPalette
(const
QColor
&
windowText
, const
QColor
&
window
, const
QColor
&
light
, const
QColor
&
dark
, const
QColor
&
mid
, const
QColor
&
text
, const
QColor
&
base
)
This function is deprecated. We strongly advise against using it in new code.
Constructs a palette with the specified windowText , window , light , dark , mid , text ,和 base colors. The button color will be set to the window color.