11 setAttribute( Qt::WA_DeleteOnClose );
15 QGridLayout*
main =
new QGridLayout(
this );
16 main->setSpacing ( 2 );
17 main->setContentsMargins ( 2, 2, 2, 2 );
21 main->addWidget(
us_textlabel(
"Description" ), row, 0 );
25 QLayoutItem* item = main->itemAtPosition( 0, 0 );
26 item->widget()->setPalette( p );
29 for (
int i = 0; i < solution.
analyteInfo.size(); i++ )
31 bool selected = ( i == 0 );
40 QLabel* mw =
us_textlabel( QString::number( analyte->
mw,
'e', 4 ) );
43 main->addLayout( radioLayout, row, 0 );
44 main->addWidget( mw, row, 1 );
45 main->addWidget( vbar, row++, 2 );
49 connect( pb_ok, SIGNAL( clicked() ), SLOT(
done() ) );
50 main->addWidget( pb_ok, row, 0, 1, 3 );
55 for (
int i = 0; i <
radios.size(); i++ )
57 if (
radios[ i ]->isChecked() )