10 QMap< QString, QString >& adv_vals, QWidget*
p ) :
16 setObjectName(
"US_AdvancedFem" );
21 setWindowTitle( tr(
"FeMatch Advanced Controls" ) );
28 QLabel* lb_analysis =
us_banner( tr(
"Advanced Analysis" ) );
29 QLabel* lb_simpoints =
us_label( tr(
"Simulation Points:" ) );
30 QLabel* lb_bldvolume =
us_label( tr(
"Band-loading Volume:" ) );
31 QLabel* lb_parameter =
us_label( tr(
"Parameter:" ) );
38 cb_mesh->addItem(
"Adaptive Space Time Mesh (ASTFEM)" );
39 cb_mesh->addItem(
"Claverie Mesh" );
40 cb_mesh->addItem(
"Moving Hat Mesh" );
41 cb_mesh->addItem(
"File: \"$ULTRASCAN/mesh.dat\"" );
42 cb_mesh->addItem(
"AST Finite Volume Method (ASTFVM)" );
45 cb_grid->addItem(
"Moving Time Grid" );
46 cb_grid->addItem(
"Constant Time Grid" );
53 mainLayout->addWidget( lb_analysis, row++, 0, 1, 6 );
54 mainLayout->addWidget( lb_simpoints, row, 0, 1, 3 );
56 mainLayout->addWidget( lb_bldvolume, row, 0, 1, 3 );
58 mainLayout->addWidget( lb_parameter, row, 0, 1, 3 );
62 mainLayout->addWidget( pb_help, row, 0, 1, 2 );
63 mainLayout->addWidget( pb_cancel, row, 2, 1, 2 );
64 mainLayout->addWidget( pb_accept, row++, 4, 1, 2 );
73 connect( pb_help, SIGNAL( clicked() ),
74 this, SLOT(
help() ) );
75 connect( pb_cancel, SIGNAL( clicked() ),
76 this, SLOT( reject() ) );
77 connect( pb_accept, SIGNAL( clicked() ),
78 this, SLOT(
done() ) );
80 qDebug() <<
"AdvF:Pre-adjust size" << size();
82 qDebug() <<
"AdvF:Post-adjust size" << size();
84 qDebug() <<
"AdvF:Post-resize size" << size();
85 qApp->processEvents();
93 parmap[
"parameter" ] = QString::number(
ct_parameter->value() );
94 parmap[
"meshtype" ] =
cb_mesh->currentText();
95 parmap[
"gridtype" ] =
cb_grid->currentText();