X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_OrderedListWidget.cxx;h=1308378ffa1ccc2285c6abcf5ec53dfc4105d663;hb=e84c3bdbce884a7e150fff690f0c1a3e0b12ed90;hp=671102d0d141b165bb680101bf3192a1b8aa2d19;hpb=f52e5973a9c5d2a9cb98d77e585eba71ac606c5b;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_OrderedListWidget.cxx b/src/HYDROGUI/HYDROGUI_OrderedListWidget.cxx index 671102d0..1308378f 100644 --- a/src/HYDROGUI/HYDROGUI_OrderedListWidget.cxx +++ b/src/HYDROGUI/HYDROGUI_OrderedListWidget.cxx @@ -29,7 +29,7 @@ #include #include -#include +#include #include #include @@ -66,18 +66,22 @@ HYDROGUI_OrderedListWidget::HYDROGUI_OrderedListWidget( QWidget* theParent ) // Buttons top, up, down, bottom SUIT_ResourceMgr* aResMgr = SUIT_Session::session()->resourceMgr(); - myTop = new QToolButton; + myTop = new QPushButton( this ); myTop->setIcon( aResMgr->loadPixmap( "HYDRO", tr( "ARROW_TOP_ICO" ) ) ); myTop->setIconSize( QSize( 32, 32 ) ); - myUp = new QToolButton; + myTop->setToolTip( tr( "TOP_TLT" ) ); + myUp = new QPushButton( this ); myUp->setIcon( aResMgr->loadPixmap( "HYDRO", tr( "ARROW_UP_ICO" ) ) ); myUp->setIconSize( myTop->iconSize() ); - myDown = new QToolButton; + myUp->setToolTip( tr( "UP_TLT" ) ); + myDown = new QPushButton( this ); myDown->setIcon( aResMgr->loadPixmap( "HYDRO", tr( "ARROW_DOWN_ICO" ) ) ); myDown->setIconSize( myTop->iconSize() ); - myBottom = new QToolButton; + myDown->setToolTip( tr( "DOWN_TLT" ) ); + myBottom = new QPushButton( this ); myBottom->setIcon( aResMgr->loadPixmap( "HYDRO", tr( "ARROW_BOTTOM_ICO" ) ) ); myBottom->setIconSize( myTop->iconSize() ); + myBottom->setToolTip( tr( "BOTTOM_TLT" ) ); // Layout // buttons