27 #include "WUIQtTabbedWidget.h"
46 return QString::fromStdString(
getTitle() );
94 QWidget* widgetQtwidget = NULL;
103 QString s = QString::fromStdString( label );
104 return WQtGui::execInGUIThread< int >( boost::bind( &QTabWidget::addTab,
m_tabWidget, widgetQtwidget, s ) );
114 QString s = QString::fromStdString( label );
131 QString s = QString::fromStdString( tip );
146 QTabWidget::TabPosition posInQt =
static_cast< QTabWidget::TabPosition
>( position );
157 return WQtGui::execInGUIThread< int >( boost::bind( &QTabWidget::currentIndex,
m_tabWidget ) );
166 return WQtGui::execInGUIThread< int >( boost::bind( &QTabWidget::count,
m_tabWidget ) );
This class contains the main window and the layout of the widgets within the window.
static void execInGUIThread(boost::function< void(void) > functor, WCondition::SPtr notify=WCondition::SPtr())
Call a given function from within the GUI thread.