+
+ if ( id < buttonIcons.count() )
+ {
+ QPixmap pmi (SMESHGUI::resourceMgr()->loadPixmap("SMESH", buttonIcons.at(id)));
+ if ( !pmi.isNull() ) {
+ QLabel* pixLabel = new QLabel( this );
+ pixLabel->setPixmap( pmi );
+ layout->addWidget( pixLabel, id, 1 );
+ }
+ }