import sys from PyQt4.QtGui import QApplication, QWidget, QHBoxLayout from PyQt4.Qt import Qt, QPen, QSize, QBrush, QObject, SIGNAL, QEvent from PyQt4.Qwt5.Qwt import QwtPlot, QwtPlotGrid, QwtPlotCurve, QwtSymbol import numpy as np from numpy import pi class Spy(QObject): def __init__(self, parent): QObject.__init__(self, parent) parent.setMouseTracking(True) parent.installEventFilter(self) # __in
{{#tags}}- {{label}}
{{/tags}}