Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

const QBrush & QPainter::background (  )  const [inherited]

Returns the current background brush.

See also:
setBackground(), {QPainter::Settings}{Settings}

Definition at line 1766 of file qpainter.cpp.

Referenced by QMotifStyle::drawComplexControl(), QMotifStyle::drawControl(), QWindowsStyle::drawControl(), QStyle::drawItemText(), QMotifStyle::drawPrimitive(), QCDEStyle::drawPrimitive(), and QWindowsStyle::drawPrimitive().

{
    Q_D(const QPainter);
    return d->state->bgBrush;
}


Generated by  Doxygen 1.6.0   Back to index