Esempio n. 1
0
    def __init__(self, parent):

        self.parent = parent
        self.set_gui_title()
        self.set_gui_size()
        self.set_statusbar()
        self.set_main_table()
        self.set_stiching_table()
        self.set_reduced_table()
        self.set_export_stitching_settings()
        self.set_default_path()
        self.init_error_label_widgets()
        parent.allPlotAxis = AllPlotAxis()

        #enabled all widgets
        o_update_plot = UpdatePlotWidgetStatus(parent=parent)
        o_update_plot.disable_all()

        parent.ui.reductionTable.setCurrentCell(0,1)
        parent.ui.data_sequence_lineEdit.setFocus()	
        
        self.init_autopopulate_widgets()

        o_gui = GuiUtility(parent = self.parent)
        o_gui.init_widgets_value()
Esempio n. 2
0
    def __init__(self, parent):

        self.parent = parent
        self.set_gui_title()
        self.set_gui_size()
        self.set_statusbar()
        self.set_main_table()
        #self.set_context_menu()
        self.set_stiching_table()
        self.set_reduced_table()
        self.set_export_stitching_settings()
        self.set_default_path()
        #self.init_file_menu()
        self.init_error_label_widgets()
        parent.allPlotAxis = AllPlotAxis()

        #enabled all widgets
        o_update_plot = UpdatePlotWidgetStatus(parent=parent)
        o_update_plot.disable_all()

        ## start a separate thread for delayed actions
        #parent.trigger=DelayedTrigger()
        #parent.trigger.activate.connect(parent.processDelayedTrigger)
        #parent.trigger.start()

        parent.ui.reductionTable.setCurrentCell(0,1)
        parent.ui.reductionTable.setFocus()	
        
        self.init_autopopulate_widgets()
 def launch_update_of_plot(self):
     _row_selected = self.row_selected
     _is_data_selected = self.is_data_tab_selected()
     if self.is_row_selected_checked(_row_selected):
         DisplayPlots(parent=self.parent,
                      row=self.row_selected,
                      is_data=self.is_data_tab_selected())
     else:
         update_obj = UpdatePlotWidgetStatus(parent=self.parent)
         update_obj.disable_all()
         ClearPlots(self.parent,
                    is_data=_is_data_selected,
                    is_norm=not (_is_data_selected),
                    all_plots=True)
    def launch_update_of_plot(self):
        _row_selected = self.row_selected
        _is_data_selected = self.is_data_tab_selected()
        if self.is_row_selected_checked(_row_selected):
            DisplayPlots(parent = self.parent,
                         row = self.row_selected,
                         is_data = self.is_data_tab_selected())
        else:
            update_obj = UpdatePlotWidgetStatus(parent = self.parent)
	    update_obj.disable_all()
            ClearPlots(self.parent,
                       is_data = _is_data_selected,
                       is_norm = not(_is_data_selected),
                       all_plots = True)