| 16 | } |
| 17 | |
| 18 | int VerticalTabBar::addTab(const QString &text) |
| 19 | { |
| 20 | m_tabs.append({text}); |
| 21 | if (m_currentIndex < 0) |
| 22 | setCurrentIndex(0); |
| 23 | update(); |
| 24 | return m_tabs.size() - 1; |
| 25 | } |
| 26 | |
| 27 | void VerticalTabBar::removeTab(int index) |
| 28 | { |
no test coverage detected