Mercurial > hg > svgui
diff widgets/PropertyStack.cpp @ 241:fe4fd011ef5d
...
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2007 12:17:56 +0000 |
parents | 101f71a97df4 |
children | 50c0a548d23e |
line wrap: on
line diff
--- a/widgets/PropertyStack.cpp Mon Apr 23 12:15:13 2007 +0000 +++ b/widgets/PropertyStack.cpp Mon Apr 23 12:17:56 2007 +0000 @@ -41,8 +41,8 @@ setTabBar(bar); // setElideMode(Qt::ElideRight); - setUsesScrollButtons(true); - setIconSize(QSize(16, 16)); + tabBar()->setUsesScrollButtons(true); + tabBar()->setIconSize(QSize(16, 16)); repopulate(); @@ -108,8 +108,8 @@ addTab(box, name); } else { addTab(box, icon, QString("&%1").arg(i + 1)); - setTabToolTip(count() - 1, name); - setTabIcon(count() - 1, icon); + tabBar()->setTabToolTip(count() - 1, name); + tabBar()->setTabIcon(count() - 1, icon); } m_boxes.push_back(box);