| 91 | d->_mainLayout->removeWidget(d->_bottomCustomWidget); |
| 92 | } |
| 93 | d->_mainLayout->insertWidget(3, customWidget); |
| 94 | d->_bottomCustomWidget = customWidget; |
| 95 | } |
| 96 | |
| 97 | QWidget* ElaScrollPage::getBottomCustomWidget() const |
| 98 | { |
| 99 | Q_D(const ElaScrollPage); |
| 100 | return d->_bottomCustomWidget; |
| 101 | } |
| 102 | |
| 103 | void ElaScrollPage::addCentralWidget(QWidget* centralWidget, bool isWidgetResizeable, bool isVerticalGrabGesture, qreal mousePressEventDelay) |
| 104 | { |
| 105 | Q_D(ElaScrollPage); |
| 106 | if (!centralWidget) |
| 107 | { |
| 108 | return; |
| 109 | } |
| 110 | if (centralWidget->windowTitle().isEmpty()) |
nothing calls this directly
no test coverage detected