| 108 | } |
| 109 | |
| 110 | QSize 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 | // #################################################################################################### |
| 119 | SlidingPanelBottom::SlidingPanelBottom(const QRect& screenRect, WorksheetView* view, bool fixed, QWidget* parent) |
no test coverage detected