MCPcopy Create free account
hub / github.com/YACReader/yacreader / heightForWidth

Method heightForWidth

YACReader/continuous_page_widget.cpp:159–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159int ContinuousPageWidget::heightForWidth(int w) const
160{
161 if (!continuousViewModel || w <= 0) {
162 return 0;
163 }
164 Q_UNUSED(w)
165 return continuousViewModel->totalHeight();
166}
167
168QSize ContinuousPageWidget::sizeHint() const
169{

Callers

nothing calls this directly

Calls 1

totalHeightMethod · 0.80

Tested by

no test coverage detected