title: Clear a lineEdit inputMask in python
body: <p>How can I clear a mask in python? I'm using <code>setInputMask</code> to insert a mask in a <code>qLineEdit</code> but after a period i want to clear the <code>lineEdit</code> (remove the mask). I tried to use <code>clearMask</code>, <code>clear</code>, and <code>setText(&quot;&quot;)</code> but none worked.</p>
  <p>The MVCE:</p>
  <pre><code>from PyQt5.QtWidgets import QApplication,QLineEdit,QWidget,QFormLayout
  from PyQt5.QtGui import QIntValidator,QDoubleValidator,QFont
  from PyQt5.QtCore import Qt
  import sys
  
  class lineEditDemo(QWidget):
          def __init__(self,parent=None):
                  super().__init__(parent)
  
                  e3 = QLineEdit()
                  e3.setInputMask(&quot;+99_9999_999999&quot;)
                  e3.clearMask()
                  e3.clear()
                  e3.setText(&quot;&quot;)
                  
                  flo = QFormLayout()
                  flo.addRow(&quot;Input Mask&quot;,e3)
                  self.setLayout(flo)
                  self.setWindowTitle(&quot;QLineEdit Example&quot;)
  
  if __name__ == &quot;__main__&quot;:
          app = QApplication(sys.argv)
          win = lineEditDemo()
          win.show()
          sys.exit(app.exec_())
  </code></pre>
  <p>What method should I use to clear the <code>lineEdit</code> mask since <code>clearMask</code> and others don't worked.</p>