MCPcopy Create free account
hub / github.com/KDE/labplot / sizeHint

Method sizeHint

src/frontend/worksheet/SlidingPanel.cpp:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110QSize SlidingPanelTop::sizeHint() const {
111 QSize sh;
112 sh.setWidth(m_screenRect.width());
113 sh.setHeight(m_worksheetName->sizeHint().height() + layout()->contentsMargins().top() + layout()->contentsMargins().bottom());
114
115 return sh;
116}
117
118// ####################################################################################################
119SlidingPanelBottom::SlidingPanelBottom(const QRect& screenRect, WorksheetView* view, bool fixed, QWidget* parent)

Callers 15

loadMenuMethod · 0.45
saveMenuMethod · 0.45
showPanelMethod · 0.45
setupGeneralMethod · 0.45
showConstantsMethod · 0.45
showFunctionsMethod · 0.45
showOptionsMethod · 0.45
setupGeneralMethod · 0.45
showConstantsMethod · 0.45
showFunctionsMethod · 0.45
showConstantsMethod · 0.45
showFunctionsMethod · 0.45

Calls 4

setHeightMethod · 0.80
heightMethod · 0.80
setWidthMethod · 0.45
widthMethod · 0.45

Tested by

no test coverage detected