| 141 | width += tabSizeHint(index).width(); |
| 142 | } |
| 143 | return {width, minimumSizeHint().height()}; |
| 144 | } |
| 145 | |
| 146 | QSize ElaTabBar::minimumSizeHint() const |
| 147 | { |
| 148 | Q_D(const ElaTabBar); |
| 149 | return {0, getTabSize().height() + d->_scrollBar->height()}; |
| 150 | } |
| 151 | |
| 152 | QSize ElaTabBar::tabSizeHint(int index) const |
| 153 | { |
| 154 | return getIsTabWidthAdaptive() ? QTabBar::tabSizeHint(index) : getTabSize(); |
| 155 | } |
nothing calls this directly
no outgoing calls
no test coverage detected