MCPcopy Create free account
hub / github.com/NetHack/NetHack / setCellHeight

Method setCellHeight

outdated/win/Qt3/qt3tableview.cpp:634–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632*/
633
634void 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/*!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected