gui/gui_mainLayout.py
def print_graphic_information(self, num_curve, information):
        """
        This function displays information about curves.
        Inputs ; num_curve ; The index of the curve's line that we have to display.
                 information ; The array which contains the information, of all curves to display.
        """
        """In this function, the best would to create labels each time we need to create one,
        following the number of labels in label_information.
        #self.essai = QtGui.QLabel(self.ui.tab)
        #self.essai.setGeometry(PyQt4.QtCore.QRect(870,650,111,16))
        #self.essai.setText("ESSAI")
        """

        label_information = information[0]
        data_information = information[1:]

        count_nb_label = 0  # Iterator on all labels of label_information
        nb_label = len(label_information)
        while count_nb_label <= nb_label:
            self.ui.column1_label.setText(label_information[0].strip('\"'))
            self.ui.column2_label.setText(label_information[1].strip('\"'))
            self.ui.column3_label.setText(label_information[2].strip('\"'))
            self.ui.column4_label.setText(label_information[3].strip('\"'))
            self.ui.column5_label.setText(label_information[4].strip('\"'))
            self.ui.column6_label.setText(label_information[5].strip('\"'))
            self.ui.column7_label.setText(label_information[6].strip('\"'))
            self.ui.column8_label.setText(label_information[7].strip('\"'))
            count_nb_label += 1

        line_of_data = 0  # Iterator on each line of data_information.
        while line_of_data < len(data_information):
            if line_of_data == num_curve:
                self.ui.column1_result.setText(data_information[line_of_data][0])
                self.ui.column2_result.setText(data_information[line_of_data][1])
                self.ui.column3_result.setText(data_information[line_of_data][2])
                self.ui.column4_result.setText(data_information[line_of_data][3])
                self.ui.column5_result.setText(data_information[line_of_data][4])
                self.ui.column6_result.setText(data_information[line_of_data][5])
                self.ui.column7_result.setText(data_information[line_of_data][6])
                self.ui.column8_result.setText(data_information[line_of_data][7])
            line_of_data += 1
def print_graphic_information(self, num_curve, information):
        """In this function, the best would to create labels each time we need to create one,
        following the number of labels in label_information.
        #self.essai = QtGui.QLabel(self.ui.tab)
        #self.essai.setGeometry(PyQt4.QtCore.QRect(870,650,111,16))
        #self.essai.setText("ESSAI")
        """

        label_information = information[0]
        data_information = information[1:]

        count_nb_label = 0  # Iterator on all labels of label_information
        nb_label = len(label_information)
        while count_nb_label <= nb_label:
            self.ui.column1_label.setText(label_information[0].strip('\"'))
            self.ui.column2_label.setText(label_information[1].strip('\"'))
            self.ui.column3_label.setText(label_information[2].strip('\"'))
            self.ui.column4_label.setText(label_information[3].strip('\"'))
            self.ui.column5_label.setText(label_information[4].strip('\"'))
            self.ui.column6_label.setText(label_information[5].strip('\"'))
            self.ui.column7_label.setText(label_information[6].strip('\"'))
            self.ui.column8_label.setText(label_information[7].strip('\"'))
            count_nb_label += 1

        line_of_data = 0  # Iterator on each line of data_information.
        while line_of_data < len(data_information):
            if line_of_data == num_curve:
                self.ui.column1_result.setText(data_information[line_of_data][0])
                self.ui.column2_result.setText(data_information[line_of_data][1])
                self.ui.column3_result.setText(data_information[line_of_data][2])
                self.ui.column4_result.setText(data_information[line_of_data][3])
                self.ui.column5_result.setText(data_information[line_of_data][4])
                self.ui.column6_result.setText(data_information[line_of_data][5])
                self.ui.column7_result.setText(data_information[line_of_data][6])
                self.ui.column8_result.setText(data_information[line_of_data][7])
            line_of_data += 1
def print_graphic_information ( self , num_curve , information ) : """In this function, the best would to create labels each time we need to create one,
        following the number of labels in label_information.
        #self.essai = QtGui.QLabel(self.ui.tab)
        #self.essai.setGeometry(PyQt4.QtCore.QRect(870,650,111,16))
        #self.essai.setText("ESSAI")
        """ label_information = information [ 0 ] data_information = information [ 1 : ] count_nb_label = 0 # Iterator on all labels of label_information nb_label = len ( label_information ) while count_nb_label <= nb_label : self . ui . column1_label . setText ( label_information [ 0 ] . strip ( '\"' ) ) self . ui . column2_label . setText ( label_information [ 1 ] . strip ( '\"' ) ) self . ui . column3_label . setText ( label_information [ 2 ] . strip ( '\"' ) ) self . ui . column4_label . setText ( label_information [ 3 ] . strip ( '\"' ) ) self . ui . column5_label . setText ( label_information [ 4 ] . strip ( '\"' ) ) self . ui . column6_label . setText ( label_information [ 5 ] . strip ( '\"' ) ) self . ui . column7_label . setText ( label_information [ 6 ] . strip ( '\"' ) ) self . ui . column8_label . setText ( label_information [ 7 ] . strip ( '\"' ) ) count_nb_label += 1 line_of_data = 0 # Iterator on each line of data_information. while line_of_data < len ( data_information ) : if line_of_data == num_curve : self . ui . column1_result . setText ( data_information [ line_of_data ] [ 0 ] ) self . ui . column2_result . setText ( data_information [ line_of_data ] [ 1 ] ) self . ui . column3_result . setText ( data_information [ line_of_data ] [ 2 ] ) self . ui . column4_result . setText ( data_information [ line_of_data ] [ 3 ] ) self . ui . column5_result . setText ( data_information [ line_of_data ] [ 4 ] ) self . ui . column6_result . setText ( data_information [ line_of_data ] [ 5 ] ) self . ui . column7_result . setText ( data_information [ line_of_data ] [ 6 ] ) self . ui . column8_result . setText ( data_information [ line_of_data ] [ 7 ] ) line_of_data += 1
This function displays information about curves.
        Inputs ; num_curve ; The index of the curve's line that we have to display.
                 information ; The array which contains the information, of all curves to display.
This function displays information about curves . Inputs ; num_curve ; The index of the curve s line that we have to display . information ; The array which contains the information of all curves to display .