60StackWidgetInfo::StackWidgetInfo(
bool _editable,
const QString& _name,QWidget* _widget) :
85 emit log(
LOGERR,tr(
"Name already existing"));
98 QWidget* oldWidget = 0;
108 if ( oldWidget == 0 ) {
109 emit log(
LOGERR,tr(
"Did not find widget to update stackwidget"));
125 QString objectName = _action->text();
136 emit log(
LOGERR,tr(
"Cannot set Widget"));
157 QActionGroup* actionGroup =
new QActionGroup(
stackMenu_ );
158 actionGroup->setExclusive(
true );
165 stackMenu_->addActions(actionGroup->actions());
168 connect( actionGroup, SIGNAL( triggered( QAction * ) ),
this, SLOT(
slotViewMenuAction( QAction * ) ) );
176 menuBar()->removeAction(
stackMenu_->menuAction() );