mirror of
https://github.com/KDE/konsole.git
synced 2026-05-03 12:15:33 -04:00
Replace QTabBar with KTabBar in tabbed view container. Partly to follow the KDE guideline of using KWidgetType instead of QWidgetType and to enable easier addition of some user requested features.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=679108
This commit is contained in:
@@ -402,8 +402,15 @@ void TabbedViewContainer::selectTabColor()
|
||||
}
|
||||
|
||||
ViewContainerTabBar::ViewContainerTabBar(QWidget* parent)
|
||||
: QTabBar(parent)
|
||||
: KTabBar(parent)
|
||||
{
|
||||
//TODO Make tab re-ordering possible, but the QStackedWidget
|
||||
// and tab widget will then have different indicies, in which
|
||||
// case either the view widget stack needs to be re-ordered
|
||||
// or mapping between the tab and stack widget indicies needs
|
||||
// to be added
|
||||
//
|
||||
//setTabReorderingEnabled(true);
|
||||
}
|
||||
|
||||
QSize ViewContainerTabBar::tabSizeHint(int index) const
|
||||
|
||||
Reference in New Issue
Block a user