add orientation prop to SideTabBar.
This commit is contained in:
@@ -102,6 +102,7 @@ void CSideTabBar::removeSideTab(CDockWidgetSideTab* SideTab)
|
||||
d->TabsLayout->removeWidget(SideTab);
|
||||
}
|
||||
|
||||
|
||||
//============================================================================
|
||||
void CSideTabBar::paintEvent(QPaintEvent* event)
|
||||
{
|
||||
@@ -110,4 +111,11 @@ void CSideTabBar::paintEvent(QPaintEvent* event)
|
||||
QPainter painter(this);
|
||||
style()->drawPrimitive(QStyle::PE_Widget, &option, &painter, this);
|
||||
}
|
||||
|
||||
|
||||
//============================================================================
|
||||
Qt::Orientation CSideTabBar::orientation() const
|
||||
{
|
||||
return d->Orientation;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user