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

QList< QGraphicsItem * > QGraphicsView::items (  )  const [inherited]

Returns a list of all the items in the associated scene.

See also:
QGraphicsScene::items()

Definition at line 1734 of file qgraphicsview.cpp.

Referenced by QGraphicsView::itemAt(), QGraphicsView::items(), QGraphicsItem::setCursor(), MainWindow::setupListItems(), updateImage(), and MainWindow::updateSelection().

{
    Q_D(const QGraphicsView);
    if (!d->scene)
        return QList<QGraphicsItem *>();
    return d->scene->items();
}


Generated by  Doxygen 1.6.0   Back to index