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

int QRect::width (  ) const [inline]

Returns the width of the rectangle.

See also:
setWidth(), height(), size()

Definition at line 303 of file qrect.h.

Referenced by QMdi::MinOverlapPlacer::accumulatedOverlap(), QLayout::alignmentRect(), QWorkspace::arrangeIcons(), QPainter::begin(), QPicturePaintEngine::begin(), QGraphicsItem::boundingRegion(), Q3IconViewItem::calcRect(), Q3IconViewItem::cancelRenameItem(), Q3Table::cellGeometry(), Q3CanvasItem::chunks(), QSplitterHandle::closestLegalPosition(), Q3IconView::contentsDropEvent(), QWidget::contentsRect(), QImage::copy(), QAbstractItemView::dragMoveEvent(), Q3IconView::dragObject(), Q3Canvas::drawBackground(), QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QWindowsVistaStyle::drawComplexControl(), QStyleSheetStyle::drawComplexControl(), QCommonStyle::drawComplexControl(), QWindowsStyle::drawComplexControl(), QWindowsCEStyle::drawComplexControl(), QCleanlooksStyle::drawComplexControl(), QPlastiqueStyle::drawComplexControl(), QMotifStyle::drawComplexControl(), QGtkStyle::drawComplexControl(), ArthurStyle::drawComplexControl(), QWindowsXPStyle::drawComplexControl(), QWindowsMobileStyle::drawComplexControl(), Q3IconView::drawContents(), QSplashScreen::drawContents(), KALedMeter::drawContents(), Q3ListView::drawContentsOffset(), QWindowsVistaStyle::drawControl(), QPlastiqueStyle::drawControl(), QGtkStyle::drawControl(), QCleanlooksStyle::drawControl(), QWindowsCEStyle::drawControl(), QMotifStyle::drawControl(), QWindowsStyle::drawControl(), QWindowsMobileStyle::drawControl(), QWindowsXPStyle::drawControl(), QStyleSheetStyle::drawControl(), QCommonStyle::drawControl(), RenderArea::drawCoordinates(), QItemDelegate::drawDisplay(), QPainter::drawEllipse(), QX11PaintEngine::drawEllipse(), Q3SVGPaintEngine::drawEllipse(), QGraphicsScenePrivate::drawItemHelper(), QRasterPaintEngine::drawPoints(), QWindowsVistaStyle::drawPrimitive(), QWindowsMobileStyle::drawPrimitive(), QCommonStyle::drawPrimitive(), CustomStyle::drawPrimitive(), QWindowsXPStyle::drawPrimitive(), QCleanlooksStyle::drawPrimitive(), QMotifStyle::drawPrimitive(), QGtkStyle::drawPrimitive(), QWindowsCEStyle::drawPrimitive(), QCDEStyle::drawPrimitive(), QPlastiqueStyle::drawPrimitive(), ArthurStyle::drawPrimitive(), QWindowsStyle::drawPrimitive(), QPaintEngineEx::drawRects(), QPaintEngine::drawRects(), QX11PaintEngine::drawRects(), QRasterPaintEngine::drawRects(), QOpenGLPaintEngine::drawRects(), QPainter::drawRects(), QTreeView::drawRow(), QPainter::drawText(), QPicturePaintEngine::end(), QDirect3DPaintEngine::end(), Q3GridView::ensureCellVisible(), QScrollArea::ensureWidgetVisible(), QTabWidgetEventFilter::eventFilter(), QMdi::MinOverlapPlacer::findMaxOverlappers(), QWindowsXPStylePrivate::fixAlphaChannel(), QX11WindowSurface::flush(), QRasterWindowSurface::flush(), QD3DWindowSurface::flush(), QX11WindowSurface::grabWidget(), QWindowSurface::grabWidget(), QPixmap::grabWidget(), Q3ListView::handleSizeChange(), QWindowsXPStylePrivate::hasAlphaChannel(), QWindowsXPStylePrivate::hasAnyData(), Q3FileDialog::init(), QTabBar::initStyleOption(), Q3IconView::insertInGrid(), QListView::internalDrop(), QWidgetPrivate::invalidateBuffer_resizeHelper(), Q3AccessibleTextEdit::itemRect(), QStyle::itemTextRect(), LinearView::itemViewportRect(), QMdiSubWindow::keyPressEvent(), Q3IconView::keyPressEvent(), Q3DockAreaLayout::layoutItems(), QMatrix::mapRect(), QTransform::mapRect(), QTransform::mapToPolygon(), QMatrix::mapToPolygon(), QPdfBaseEngine::metric(), QPicture::metric(), QCalendarWidget::minimumSizeHint(), QTabBar::mouseMoveEvent(), qdesigner_internal::WidgetHandle::mouseMoveEvent(), QScrollBar::mousePressEvent(), QSizeGrip::mousePressEvent(), QTabBar::mouseReleaseEvent(), Q3IconViewItem::move(), QListView::moveCursor(), Q3DockArea::moveDockWindow(), QAccessibleWidget::navigate(), Q3MainWindow::operator<<(), qdesigner_internal::SheetDelegate::paint(), QScriptDebuggerLocalsItemDelegate::paint(), Q3TableItem::paint(), Q3CheckTableItem::paint(), QColumnViewDelegate::paint(), Q3ComboTableItem::paint(), PixelDelegate::paint(), Q3Table::paintCell(), QLineEdit::paintEvent(), QWorkspaceTitleBar::paintEvent(), QWhatsThat::paintEvent(), UrlLineEdit::paintEvent(), QPagePreview::paintEvent(), QtColorButton::paintEvent(), QLabel::paintEvent(), QWellArray::paintEvent(), QColorLuminancePicker::paintEvent(), SqueezeLabel::paintEvent(), SearchLineEdit::paintEvent(), QPixelTool::paintEvent(), QMdiSubWindow::paintEvent(), QPlainTextEdit::paintEvent(), BlueTitleBar::paintEvent(), Q3Header::paintEvent(), Q3DataTable::paintField(), Q3CheckListItem::paintFocus(), Q3Table::paintFocus(), Q3IconViewItem::paintItem(), Q3Header::paintSection(), QHeaderView::paintSection(), Q3Header::paintSectionLabel(), Q3IconViewItem::pixmapRect(), Q3ComboBox::popup(), QWebFrame::print(), QPainter::qDrawPlainRect(), QPainter::qDrawShadePanel(), QPainter::qDrawShadeRect(), QPainter::qDrawWinButton(), QPolygon::QPolygon(), Dialog::reactToSIP(), Q3AccessibleHeader::rect(), QAccessibleItemRow::rect(), QAccessibleMdiSubWindow::rect(), QAccessibleTabBar::rect(), QAccessibleDoubleSpinBox::rect(), QAccessibleAbstractSpinBox::rect(), QAccessibleMenu::rect(), QAccessibleDial::rect(), QAccessibleSlider::rect(), QAccessibleMenuBar::rect(), QAccessibleComboBox::rect(), Q3AccessibleTitleBar::rect(), QAccessibleScrollBar::rect(), Q3IconViewItem::rename(), Q3IconViewItem::renameItem(), QGraphicsView::render(), QWidget::repaint(), Q3DataTable::repaintCell(), Q3ScrollView::repaintContents(), QScriptEdit::resizeEvent(), QWorkspaceChild::resizeEvent(), NorwegianWoodStyle::roundRectPath(), QRasterWindowSurface::scroll(), QX11WindowSurface::scroll(), QD3DWindowSurface::scroll(), Q3Canvas::setChanged(), QPainter::setClipRegion(), QtRectPropertyManager::setConstraint(), QFormLayout::setGeometry(), QDockWidgetLayout::setGeometry(), QRasterWindowSurface::setGeometry(), QBoxLayout::setGeometry(), QWidgetItem::setGeometry(), BorderLayout::setGeometry(), QToolBarLayout::setGeometry(), QMainWindowLayout::setGeometry(), Q3TextTableCell::setGeometry(), Q3IconViewItem::setPicture(), Q3IconViewItem::setPixmap(), QSplitter::setRubberBand(), QListView::setSelection(), Q3IconViewItem::setText(), Q3Canvas::setUnchanged(), QPageSetupWidget::setupPrinter(), QtRectPropertyManager::setValue(), QPainter::setViewport(), QPainter::setWindow(), QWidget::setWindowState(), QWidgetPrivate::show_sys(), Q3IconViewItem::size(), size(), QLabelPrivate::sizeForWidth(), QStyleSheetStyle::sizeFromContents(), QGtkStyle::sizeFromContents(), Q3TableItem::sizeHint(), Q3ListViewItem::startRename(), QStyleSheetStyle::subControlRect(), QWindowsMobileStyle::subControlRect(), QWindowsXPStyle::subControlRect(), QPlastiqueStyle::subControlRect(), QMotifStyle::subControlRect(), QCommonStyle::subControlRect(), QGtkStyle::subControlRect(), QWindowsVistaStyle::subControlRect(), QCleanlooksStyle::subControlRect(), QWindowsCEStyle::subElementRect(), QStyleSheetStyle::subElementRect(), QWindowsVistaStyle::subElementRect(), QMotifStyle::subElementRect(), QCommonStyle::subElementRect(), QWindowsXPStylePrivate::swapAlphaChannel(), QWidgetBackingStore::sync(), Q3IconView::takeItem(), Q3IconViewItem::textRect(), QTest::toString(), QImage::transformed(), QX11PixmapData::transformed(), QXIMInputContext::update(), Q3Table::updateCell(), Q3ScrollView::updateContents(), QStyledItemDelegate::updateEditorGeometry(), QTableView::updateGeometries(), BlueTitleBar::updateMask(), QtRectPropertyManager::valueText(), Q3ScrollView::viewportPaintEvent(), Q3ListBox::viewportPaintEvent(), Q3ListView::viewportResizeEvent(), QStyle::visualRect(), PieView::visualRect(), and Q3IconViewItem::width().

{ return  x2 - x1 + 1; }

Generated by  Doxygen 1.6.0   Back to index