Fix side tab widget ordering

Now is fixed based on the side tab widget
This commit is contained in:
Syarif Fakhri
2022-09-14 17:39:57 +08:00
parent 06bcf2cd48
commit 4d3328e468
5 changed files with 49 additions and 7 deletions

View File

@@ -123,4 +123,18 @@ Qt::Orientation CSideTabBar::orientation() const
{
return d->Orientation;
}
//============================================================================
CDockWidgetSideTab* CSideTabBar::tabAt(int index) const
{
return qobject_cast<CDockWidgetSideTab*>(d->TabsLayout->itemAt(index)->widget());
}
//============================================================================
int CSideTabBar::tabCount() const
{
return d->TabsLayout->count();
}
}