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

QWidget * QAbstractScrollArea::viewport (  )  const [inherited]

Returns the viewport widget.

Use the QScrollArea::widget() function to retrieve the contents of the viewport widget.

See also:
QScrollArea::widget()

Definition at line 532 of file qabstractscrollarea.cpp.

Referenced by QMdiArea::addSubWindow(), QGraphicsView::centerOn(), QAccessibleTextEdit::childAt(), QTreeView::collapse(), QTreeView::columnCountChanged(), QGraphicsView::contextMenuEvent(), QColumnView::createColumn(), QListView::currentChanged(), QTreeView::currentChanged(), QTableView::currentChanged(), PieView::dataChanged(), QGraphicsView::drawItems(), QGraphicsView::ensureVisible(), QAbstractItemView::event(), QGraphicsView::fitInView(), QGraphicsView::invalidateScene(), QTreeView::mouseDoubleClickEvent(), QGraphicsView::mouseDoubleClickEvent(), QGraphicsView::mouseMoveEvent(), QGraphicsView::mousePressEvent(), PieView::mouseReleaseEvent(), QGraphicsView::mouseReleaseEvent(), QTreeView::moveCursor(), PieView::moveCursor(), QTreeView::paintEvent(), QTableView::paintEvent(), PieView::paintEvent(), QPlainTextEdit::paintEvent(), QGraphicsView::paintEvent(), QAccessibleTextEdit::rect(), QGraphicsView::render(), QGraphicsView::resetCachedContent(), QTreeView::rowsInserted(), QGraphicsItem::scroll(), PieView::scrollContentsBy(), QAbstractScrollArea::scrollContentsBy(), QMdiArea::scrollContentsBy(), QGraphicsView::scrollContentsBy(), QColumnView::scrollTo(), PieView::scrollTo(), QListView::selectionChanged(), QTableView::selectionChanged(), QTreeView::selectionChanged(), QTreeWidgetItem::setChildIndicatorPolicy(), QAbstractItemView::setIndexWidget(), QHeaderView::setOffsetToLastSection(), QGraphicsView::setRenderHint(), QTableView::setRootIndex(), QGraphicsView::setScene(), QGraphicsView::setTransform(), QMdiArea::showEvent(), QListView::updateGeometries(), PieView::updateGeometries(), CodeEditor::updateLineNumberArea(), QGraphicsView::updateScene(), QTreeView::viewportEvent(), QMdiArea::viewportEvent(), QGraphicsView::viewportEvent(), and QGraphicsView::wheelEvent().

{
    Q_D(const QAbstractScrollArea);
    return d->viewport;
}


Generated by  Doxygen 1.6.0   Back to index