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

bool QPixmap::isNull (  )  const

Returns true if this is a null pixmap; otherwise returns false.

A null pixmap has zero width, zero height and no contents. You cannot draw in a null pixmap.

Definition at line 393 of file qpixmap.cpp.

Referenced by QMessageBox::aboutQt(), QIcon::addPixmap(), Q3Canvas::addView(), QPainter::begin(), QRasterPaintEngine::begin(), Q3ImageDrag::decode(), Q3Canvas::drawBackground(), QPlastiqueStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), QPlastiqueStyle::drawControl(), QWindowsStyle::drawControl(), QWindowsXPStyle::drawControl(), QCommonStyle::drawControl(), QItemDelegate::drawDecoration(), QAbstractTextDocumentLayout::drawInlineObject(), QPainter::drawPixmap(), QPlastiqueStyle::drawPrimitive(), QPainter::drawTiledPixmap(), load(), loadFromData(), QTextDocument::loadResource(), QCursor::operator<<(), QBitmap::operator=(), QBrush::operator==(), Q3ListBoxPixmap::paint(), Q3TableItem::paint(), QWizard::paintEvent(), Q3ComboBox::paintEvent(), Q3IconViewItem::paintItem(), QWizardPage::pixmap(), QCursor::QCursor(), QRegion::QRegion(), save(), QAbstractFormBuilder::saveBrush(), scaled(), scaledToHeight(), scaledToWidth(), serialNumber(), QDrag::setDragCursor(), Q3ListViewItem::setPixmap(), QBrush::setTexture(), Q3Canvas::setTiles(), Q3TableItem::sizeHint(), QPlastiqueStyle::standardIconImplementation(), QWindowsStyle::standardIconImplementation(), QCleanlooksStyle::standardIconImplementation(), QCleanlooksStyle::standardPixmap(), QWindowsStyle::standardPixmap(), and QPlastiqueStyle::standardPixmap().

{
    return data->w == 0;
}


Generated by  Doxygen 1.6.0   Back to index