Sets the query instance for this tree widget to the inputed query.
        
        :param      query | <orb.Query>

def setQuery(self, query, autoRefresh=False):
        """
        Sets the query instance for this tree widget to the inputed query.
        
        :param      query | <orb.Query>
        """
        self._query             = query
        self._currentRecordSet  = None
        
        if autoRefresh:
            self.refreshQueryRecords()
            self.refresh()