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

Method sizeHint

outdated/win/Qt3/qt3_win.cpp:969–978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

967 }
968
969 QSize sizeHint() const
970 {
971 QListView::sizeHint();
972 QSize sz = header()->sizeHint();
973 int h=0;
974 QListViewItem* c=firstChild();
975 while (c) h+=c->height(),c = c->nextSibling();
976 sz += QSize(frameWidth()*2, h+frameWidth()*2);
977 return sz;
978 }
979
980 int selectedItemNumber() const
981 {

Callers

nothing calls this directly

Calls 2

sizeHintMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected