title: NamedTuple (or dataclass) containing default PyQt5 QWidget
body: <p>I am trying to make a data structure using NamedTuple (I could switch to dataclass if it's preferable!) to contain a PyQt5 QWidget. I need to set the type of the widget but also would like to set a default.</p>
  <p>When I check <code>type(PyQt5.QtGui.QLabel())</code> it returns <code>&lt;class 'PyQt5.QtWidgets.QLabel'&gt;</code></p>
  <p>Trying</p>
  <pre><code>from typing import NamedTuple
  import PyQt5
  
  class myStat(NamedTuple):
       name:str
       value:float=0.0
       qlabel:PyQt5.QWidgets.QLabel=PyQt5.QtGui.QLabel()
  </code></pre>
  <p>I cannot import it to my actual application with <code>from myFile import myStat</code>  I get the error `QWidget: Must construct a QApplication before a QWidget.</p>
  <p>Any advice on how to do this? Inside my application I'm trying to do</p>
  <pre class="lang-py prettyprint-override"><code>x=myStat(name='foo',value=5.0)
  </code></pre>
  <p>but it's evidently not even getting there since it's failing on import.</p>