[Qt-interest] Where's QWidget::setBackgroundMode() ?

Bo Thorsen bo at fioniasoftware.dk
Mon Mar 14 08:11:14 CET 2011


Den 11-03-2011 04:32, Kermit skrev:
> Dear all, in Qt 4.7 Assistant, the QStyle's document says:
>
> void QStyle::polish ( QWidget * widget ) [virtual]
> Initializes the appearance of the given widget.
> This function is called for every widget at some point after it has been
> fully created but just before it is shown for the very first time.
> Note that the default implementation does nothing. Reasonable actions in
> this function might be to call the QWidget::setBackgroundMode() function
> for the widget.  [... ...]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>
>
> But I can't find QWidget::setBackgroundMode() in QWidget or its parents.
> Is that a bug for assistant here? Or I haven't found it?

Documentation bug.

Bo Thorsen,
Fionia Software.

-- 

Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk



More information about the Qt-interest-old mailing list