[Kst] branches/work/kst/portto4/kst/src/libkstapp
Nicolas Brisset
nicolas.brisset at eurocopter.com
Wed Aug 25 10:00:08 CEST 2010
SVN commit 1167742 by brisset:
Use Qt's built-in support for moving tabs, introduced in version 4.5.
BUG: 248887
M +3 -0 tabwidget.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/tabwidget.cpp #1167741:1167742
@@ -26,6 +26,9 @@
tabBar()->setContextMenuPolicy(Qt::CustomContextMenu);
connect(tabBar(), SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(contextMenu(const QPoint&)));
_cnt = 0;
+ #if QT_VERSION >= 0x040500
+ tabBar()->setMovable(true);
+ #endif
}
More information about the Kst
mailing list