(self, index)
return None
Returns [] with col_texts
Returns [] with col_texts
Returns [] with col_texts
def get_item(self, index):
        """ Returns [] with col_texts
        """
        if self.model() is not None:
            item_data = []
            if index < self.model().rowCount():
                for i in range(self.model().columnCount()):
                    item_text = self.model().item(index, i).text()
                    if item_text:
                        item_data.append(item_text)
                    else:
                        item_data.append('')

                return item_data

        return None
def get_item ( self , index ) : if self . model ( ) is not None : item_data = [ ] if index < self . model ( ) . rowCount ( ) : for i in range ( self . model ( ) . columnCount ( ) ) : item_text = self . model ( ) . item ( index , i ) . text ( ) if item_text : item_data . append ( item_text ) else : item_data . append ( '' ) return item_data return None