============================================================================
| 193 | |
| 194 | //============================================================================ |
| 195 | void CAutoHideSideBar::insertTab(int Index, CAutoHideTab* SideTab) |
| 196 | { |
| 197 | SideTab->setSideBar(this); |
| 198 | SideTab->installEventFilter(this); |
| 199 | // Default insertion is append |
| 200 | if (Index < 0) |
| 201 | { |
| 202 | d->TabsLayout->insertWidget(d->TabsLayout->count() - 1, SideTab); |
| 203 | } |
| 204 | else |
| 205 | { |
| 206 | d->TabsLayout->insertWidget(Index, SideTab); |
| 207 | } |
| 208 | show(); |
| 209 | } |
| 210 | |
| 211 | |
| 212 | //============================================================================ |
nothing calls this directly
no test coverage detected