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

void QWidget::clearMask (  )  [inherited]

Removes any mask set by setMask().

See also:
setMask()

Definition at line 2591 of file qwidget_x11.cpp.

References QWidget::internalWinId(), and QWidget::testAttribute().

Referenced by QApplication::widgetAt().

{
    Q_D(QWidget);
    if (QWExtra *extra = d->extraData())
        extra->mask = QRegion();
    if (!testAttribute(Qt::WA_WState_Created))
        return;
    if (internalWinId())
        XShapeCombineMask(X11->display, internalWinId(), ShapeBounding, 0, 0,
                          XNone, ShapeSet);
}


Generated by  Doxygen 1.6.0   Back to index