Doc: Remove expired link and add see also entry for style sheets
Remove link to qt.nokia.com and add see also link to Qt Style Sheets that contain the necessary information. Change-Id: I05f6f760f3f9735f99385bdb39507b0878ec220c Fixes: QTBUG-70805 Reviewed-by: Martin Smith <martin.smith@qt.io>
This commit is contained in:
parent
e63dba14fb
commit
9a8175a131
@ -4497,16 +4497,14 @@ void QWidget::setForegroundRole(QPalette::ColorRole role)
|
||||
and these styles typically do not follow the palette. Because of this,
|
||||
assigning roles to a widget's palette is not guaranteed to change the
|
||||
appearance of the widget. Instead, you may choose to apply a \l
|
||||
styleSheet. You can refer to our Knowledge Base article
|
||||
\l{http://qt.nokia.com/developer/knowledgebase/22}{here} for more
|
||||
information.
|
||||
styleSheet.
|
||||
|
||||
\warning Do not use this function in conjunction with \l{Qt Style Sheets}.
|
||||
When using style sheets, the palette of a widget can be customized using
|
||||
the "color", "background-color", "selection-color",
|
||||
"selection-background-color" and "alternate-background-color".
|
||||
|
||||
\sa QApplication::palette(), QWidget::font()
|
||||
\sa QApplication::palette(), QWidget::font(), \l {Qt Style Sheets}
|
||||
*/
|
||||
const QPalette &QWidget::palette() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user