code: def setTableType(self, tableType, autoRefresh=True):
          
          self.uiRecordTREE.setTableType(tableType)
          self._queryWidget.setTableType(tableType)
          
          if autoRefresh:
              self.setQuery(Q())
docs: Sets the table type associated with this edit.
          
          :param      tableType | <subclass of orb.Table>