title: Mouseover event for a PyQT5 Label
body: <p>I am a newbie to python i want that if i move my mouse over the label with text stop on it then it should change the value of a variable Stop to True so that i may pause/Stop ,my program.
  i have looked the code at 
  <a href="https://stackoverflow.com/questions/3858449/mouseover-event-filter-for-a-pyqt-label">Mouseover event filter for a PyQT Label</a>
  and tried to run it but nothing is being shown up Please guide me...
  the code is as under</p>
  
  <pre><code>from PyQt5.QtWidgets import *
  from PyQt5.QtGui import *
  from PyQt5.QtCore import *
  from PyQt5 import *
  import sys
  class mouseoverEvent(QtCore.QObject):
      def __init__(self, parent):
          super(mouseoverEvent, self).__init__(parent)
          self.initUI()
      def eventFilter(self, object, event):
          if event.type() == QtCore.QEvent.MouseMove:
              print( "mousemove!")
              return True
          else:
              return False
  
      def initUI(self):
          self.filter = mouseoverEvent(self)
          self.label.installEventFilter(self.filter)
          self.lbl=QLabel(self)
          self.lbl.setText(self,"hellojjj")
          self.setGeometry(1000, 30, 300, 100)
          self.setWindowTitle('QLineEdit')
  
          self.show()
  
  '''if __name__ == '__main__':
      app = QApplication(sys.argv)
      ex = mouseoverEvent()
      sys.exit(app.exec_())'''''
  </code></pre>
  
  <p>I Shall be greatly thankful...</p>