| 578 | */ |
| 579 | |
| 580 | void QtTableView::setCellWidth( int cellWidth ) |
| 581 | { |
| 582 | if ( cellW == cellWidth ) |
| 583 | return; |
| 584 | #if defined(QT_CHECK_RANGE) |
| 585 | if ( cellWidth < 0 || cellWidth > SHRT_MAX ) { |
| 586 | qWarning( "QtTableView::setCellWidth: (%s) Argument out of range (%d)", |
| 587 | name( "unnamed" ), cellWidth ); |
| 588 | return; |
| 589 | } |
| 590 | #endif |
| 591 | cellW = (short)cellWidth; |
| 592 | |
| 593 | updateScrollBars( horSteps | horRange ); |
| 594 | if ( autoUpdate() && isVisible() ) |
| 595 | repaint(); |
| 596 | |
| 597 | } |
| 598 | |
| 599 | /*! |
| 600 | \overload int QtTableView::cellHeight() const |
nothing calls this directly
no outgoing calls
no test coverage detected