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