| 632 | */ |
| 633 | |
| 634 | void QtTableView::setCellHeight( int cellHeight ) |
| 635 | { |
| 636 | if ( cellH == cellHeight ) |
| 637 | return; |
| 638 | #if defined(QT_CHECK_RANGE) |
| 639 | if ( cellHeight < 0 || cellHeight > SHRT_MAX ) { |
| 640 | qWarning( "QtTableView::setCellHeight: (%s) Argument out of range (%d)", |
| 641 | name( "unnamed" ), cellHeight ); |
| 642 | return; |
| 643 | } |
| 644 | #endif |
| 645 | cellH = (short)cellHeight; |
| 646 | if ( autoUpdate() && isVisible() ) |
| 647 | repaint(); |
| 648 | updateScrollBars( verSteps | verRange ); |
| 649 | } |
| 650 | |
| 651 | |
| 652 | /*! |
nothing calls this directly
no outgoing calls
no test coverage detected