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

Method coverCornerSquare

outdated/win/Qt3/qt3tableview.cpp:1073–1090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1071*/
1072
1073void QtTableView::coverCornerSquare( bool enable )
1074{
1075 coveringCornerSquare = enable;
1076 if ( !cornerSquare && enable ) {
1077 cornerSquare = new QCornerSquare( this );
1078 Q_CHECK_PTR( cornerSquare );
1079 cornerSquare->setGeometry( maxViewX() + frameWidth() + 1,
1080 maxViewY() + frameWidth() + 1,
1081 VSBEXT,
1082 HSBEXT);
1083 }
1084 if ( autoUpdate() && cornerSquare ) {
1085 if ( enable )
1086 cornerSquare->show();
1087 else
1088 cornerSquare->hide();
1089 }
1090}
1091
1092
1093/*!

Callers

nothing calls this directly

Calls 1

showMethod · 0.45

Tested by

no test coverage detected