Mostrando una animación .gif en QLabel
Me gustaría mostrar una animación .gif en unQLabel
Widget, junto al texto.
El siguiente código no funcionará:
<code>self.status_txt = QtGui.QLabel('Loading... <img src="etc/loading.gif">') </code>
ya que la imagen no se anima.
Intenté lograrlo usando unQMovie
objeto:
<code>self.status_txt = QtGui.QLabel("Loading...") movie = QtGui.QMovie("etc/loading.gif") self.status_txt.setMovie(movie) movie.start() </code>
Pero entonces no puedo poner la animación y el texto juntos. ¿Hay una solución diferente además de usar dos etiquetas diferentes?