def __init__(self, parent = None):
        """ Constructor

            :param separateFields: If True the fields of a structured array have their own
                                   separate cells.
            :param parent: parent Qt widget.
        """
        super(TableInspectorModel, self).__init__(parent)
        self._nRows = 0
        self._nCols = 0
        self._fieldNames = []
        self._slicedArray = None # can be a masked array or a regular numpy array
        self._rtiInfo = {}

        self._separateFields = True  # User config option
        self._separateFieldOrientation = None # To store which axis is currently separated
        self._numbersInHeader = True
        self._font = None # Default font

        # The following members are simple attributes, they can be changed independently
        self.encoding = 'utf-8'
        self.strFormat = None
        self.numFormat = None
        self.intFormat = None
        self.otherFormat = None
        self.maskFormat = None
        self.textAlignment = None
        self.verAlignment = None
def __init__ ( self , parent = None ) : super ( TableInspectorModel , self ) . __init__ ( parent ) self . _nRows = 0 self . _nCols = 0 self . _fieldNames = [ ] self . _slicedArray = None self . _rtiInfo = { } self . _separateFields = True self . _separateFieldOrientation = None self . _numbersInHeader = True self . _font = None self . encoding = 'utf-8' self . strFormat = None self . numFormat = None self . intFormat = None self . otherFormat = None self . maskFormat = None self . textAlignment = None self . verAlignment = None
Constructor

            :param separateFields: If True the fields of a structured array have their own
                                   separate cells.
            :param parent: parent Qt widget.