From: sln Date: Fri, 26 Dec 2008 09:45:47 +0000 (+0000) Subject: //b->setToolButtonStyle( btn->toolButtonStyle() ); X-Git-Tag: CTH_141~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09764f6220a152f262bae8c44090dbf194a5b810;p=modules%2Fgui.git //b->setToolButtonStyle( btn->toolButtonStyle() ); b->setToolButtonStyle( Qt::ToolButtonTextBesideIcon ); because of customer request (This is GUITHARE feature. Do not integrate this in main branch) --- diff --git a/src/Qtx/QtxMultiAction.cxx b/src/Qtx/QtxMultiAction.cxx index 88e2b764b..c46689ffb 100644 --- a/src/Qtx/QtxMultiAction.cxx +++ b/src/Qtx/QtxMultiAction.cxx @@ -409,7 +409,8 @@ void QtxMultiAction::updateButton( QToolButton* btn ) b->setStatusTip( (*itr)->statusTip() ); b->setAutoRaise( true ); b->setIconSize( btn->iconSize() ); - b->setToolButtonStyle( btn->toolButtonStyle() ); + //b->setToolButtonStyle( btn->toolButtonStyle() ); + b->setToolButtonStyle( Qt::ToolButtonTextBesideIcon ); b->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ); b->installEventFilter( filter ); vbox->addWidget( b );