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

int QRect::right (  )  const [inline]

Returns the x-coordinate of the rectangle's right edge.

Note that for historical reasons this function returns left() + width() - 1; use x() + width() to retrieve the true x-coordinate.

See also:
setRight(), topRight(), bottomRight()

Definition at line 225 of file qrect.h.

Referenced by Q3CanvasText::addToChunks(), Q3CanvasText::changeChunks(), Q3CanvasItem::chunks(), Q3IconViewItem::contains(), QAbstractItemView::doAutoScroll(), QItemDelegate::doLayout(), Q3Canvas::drawBackground(), QTreeView::drawBranches(), Q3Canvas::drawCanvasArea(), QCleanlooksStyle::drawComplexControl(), QPlastiqueStyle::drawComplexControl(), QMotifStyle::drawComplexControl(), Q3TextEdit::drawContents(), Q3ListView::drawContentsOffset(), QPlastiqueStyle::drawControl(), QCleanlooksStyle::drawControl(), QMotifStyle::drawControl(), QWindowsStyle::drawControl(), QWindowsXPStyle::drawControl(), QCommonStyle::drawControl(), QCommonStyle::drawPrimitive(), QWindowsXPStyle::drawPrimitive(), QCleanlooksStyle::drawPrimitive(), QMotifStyle::drawPrimitive(), QPlastiqueStyle::drawPrimitive(), QWindowsStyle::drawPrimitive(), Q3IconView::keyPressEvent(), QMenu::keyPressEvent(), QMatrix::mapRect(), QDateTimeEdit::mousePressEvent(), QListView::moveCursor(), QAccessibleWidget::navigate(), operator<<(), QHeaderView::paintEvent(), QTableView::paintEvent(), QTabBar::paintEvent(), Q3Header::paintEvent(), Q3Header::paintSectionLabel(), QMenu::popup(), Q3CanvasText::removeFromChunks(), QWidget::restoreGeometry(), QListView::scrollTo(), QBoxLayout::setGeometry(), QRegion::setRects(), QTableView::setSelection(), QTreeView::setSelection(), QWidget::setWindowState(), Q3Table::showEvent(), Q3DockWindow::showEvent(), QComboBox::showPopup(), QCommonStyle::sizeFromContents(), QPlastiqueStyle::styleHint(), QCleanlooksStyle::styleHint(), QPlastiqueStyle::subControlRect(), QCleanlooksStyle::subControlRect(), QMotifStyle::subElementRect(), QCommonStyle::subElementRect(), QTest::toString(), QTableView::updateGeometries(), Q3IconView::updateItemContainer(), QStyle::visualPos(), and QStyle::visualRect().

{ return x2; }


Generated by  Doxygen 1.6.0   Back to index