Returns the query that will be used for the widget.
        
        :return     (<str> term, <str> operator, <str> value)

def query( self ):
        """
        Returns the query that will be used for the widget.
        
        :return     (<str> term, <str> operator, <str> value)
        """
        widget = self.uiWidgetAREA.widget()
        if ( widget and type(widget) != QWidget ):
            value = nativestring(widget.text())
        else:
            value = ''
        
        op = nativestring(self.uiOperatorDDL.currentText())
        if ( self.currentRule() ):
            op = self.currentRule().labelOperator(op)
        
        return (nativestring(self.uiTermDDL.currentText()), op, value)