@@ -1098,8 +1098,6 @@ def special_check_up(self, param_in, value_in):
10981098 self .detec_fix .setChecked (False )
10991099
11001100
1101- ################################################################################### New SsxIndexSimplerParamTab
1102-
11031101class SsxIndexSimplerParamTab (SimpleParamTab ):
11041102 """
11051103 This widget is the tool for tunning the simpler and most common parameters
@@ -1165,9 +1163,6 @@ def reset_pars(self):
11651163 self .build_pars ()
11661164
11671165
1168- ################################################################################### New SsxIndexSimplerParamTab
1169-
1170-
11711166class RefineBravaiSimplerParamTab (SimpleParamTab ):
11721167 def __init__ (self , parent = None ):
11731168 super (RefineBravaiSimplerParamTab , self ).__init__ ()
@@ -1335,7 +1330,7 @@ def special_check_up(self, param_in, value_in):
13351330 self .detec_fix .setChecked (False )
13361331
13371332
1338- class IntegrateSimplerParamTab (SimpleParamTab ):
1333+ class IntegrateSimplerParamTab (SimpleParamTab ):
13391334 """
13401335 This widget is the tool for tunning the simpler and most common parameters
13411336 in the integrate algorithm, this widget is the first to appear once the
@@ -1405,6 +1400,82 @@ def reset_pars(self):
14051400 self .clearLayout (self .main_v_layout )
14061401 self .build_pars ()
14071402
1403+ ########################################################################################################
1404+
1405+ class SsxIntegrateSimplerParamTab (SimpleParamTab ):
1406+ """
1407+ This widget is the tool for tunning the simpler and most common parameters
1408+ in the integrate algorithm, this widget is the first to appear once the
1409+ button "Integrate" is clicked
1410+ """
1411+ def __init__ (self , parent = None ):
1412+ super (SsxIntegrateSimplerParamTab , self ).__init__ ()
1413+ self .do_emit = True
1414+ self .main_v_layout = QVBoxLayout ()
1415+ self .build_pars ()
1416+ self .setLayout (self .main_v_layout )
1417+
1418+ def build_pars (self ):
1419+
1420+ hbox_d_min = QHBoxLayout ()
1421+ label_d_min = QLabel ("High resolution limit" )
1422+ hbox_d_min .addWidget (label_d_min )
1423+ d_min_line = QLineEdit ()
1424+ d_min_line .setPlaceholderText ("None" )
1425+ d_min_line .local_path = "prediction.d_min"
1426+ d_min_line .textChanged .connect (self .line_changed )
1427+ hbox_d_min .addWidget (d_min_line )
1428+ self .main_v_layout .addLayout (hbox_d_min )
1429+
1430+ ##############################################################################
1431+ hbox_d_max = QHBoxLayout ()
1432+ d_max_label = QLabel ("Low resolution limit" )
1433+ hbox_d_max .addWidget (d_max_label )
1434+ d_max_line = QLineEdit ()
1435+ d_max_line .setPlaceholderText ("None" )
1436+ d_max_line .local_path = "prediction.d_max"
1437+ d_max_line .textChanged .connect (self .line_changed )
1438+ hbox_d_max .addWidget (d_max_line )
1439+ self .main_v_layout .addLayout (hbox_d_max )
1440+ ##############################################################################
1441+
1442+ hbox_lay_algorithm_53 = QHBoxLayout ()
1443+ label_algorithm_53 = QLabel ("Background algorithm" )
1444+ hbox_lay_algorithm_53 .addWidget (label_algorithm_53 )
1445+ box_algorithm_53 = DefaultComboBox ("integration.background.algorithm" ,
1446+ ["Auto" , "glm" , "gmodel" , "null" , "simple" ], default_index = 0 )
1447+ box_algorithm_53 .currentIndexChanged .connect (self .combobox_changed )
1448+ hbox_lay_algorithm_53 .addWidget (box_algorithm_53 )
1449+ self .main_v_layout .addLayout (hbox_lay_algorithm_53 )
1450+
1451+
1452+
1453+
1454+ consider_2_remove = '''
1455+ PrFit_lay_out = QHBoxLayout()
1456+ label_PrFit = QLabel("Use profile fitting")
1457+ PrFit_lay_out.addWidget(label_PrFit)
1458+ PrFit_comb_bx = DefaultComboBox("integration.profile.fitting",
1459+ ["True", "False", "Auto"])
1460+ PrFit_comb_bx.currentIndexChanged.connect(self.combobox_changed)
1461+ PrFit_lay_out.addWidget(PrFit_comb_bx)
1462+ self.main_v_layout.addLayout(PrFit_lay_out)
1463+ '''
1464+
1465+ self .main_v_layout .addStretch ()
1466+ #self.box_nproc.item_list = None
1467+ self .lst_var_widg = _get_all_direct_layout_widget_children (
1468+ self .main_v_layout
1469+ )
1470+
1471+ def reset_pars (self ):
1472+ self .clearLayout (self .main_v_layout )
1473+ self .build_pars ()
1474+
1475+ ########################################################################################################
1476+
1477+
1478+
14081479class SymmetrySimplerParamTab (SimpleParamTab ):
14091480 """
14101481 This widget is the tool for tunning the simpler and most common parameters
0 commit comments