Sets the query that is used for this widget to the inputed query.
        
        :param      query | (<str> term, <str> operator, <str> value)
        
        :return     <bool> | success

def setQuery( self, query ):
        """
        Sets the query that is used for this widget to the inputed query.
        
        :param      query | (<str> term, <str> operator, <str> value)
        
        :return     <bool> | success
        """
        if ( not (type(query) in (list, tuple) and len(query) == 3) ):
            return False
        
        term, op, value = query
        
        if ( self.currentRule() ):
            op = self.currentRule().operatorLabel(op)
        
        self.uiTermDDL.setCurrentIndex(self.uiTermDDL.findText(term))
        self.applyRule()
        
        self.uiOperatorDDL.setCurrentIndex(self.uiOperatorDDL.findText(op))
        
        widget = self.uiWidgetAREA.widget()
        if ( widget and not type(widget) == QWidget ):
            widget.setText(value)
        
        return True