def setInputFormatText( self, text ):
        """
        Sets the input format text for this widget to the given value.
        
        :param      text | <str>
        """
        try:
            self._inputFormat = XLineEdit.InputFormat[nativestring(text)]
        except KeyError:
            pass
def setInputFormatText ( self , text ) : try : self . _inputFormat = XLineEdit . InputFormat [ nativestring ( text ) ] except KeyError : pass
Sets the input format text for this widget to the given value.
        
        :param      text | <str>