예제 #1
0
 def mouseDoubleClickEvent(self, event):
     """Reimplement QWidget method"""
     for axis_id in self.AXIS_IDS:
         widget = self.axisWidget(axis_id)
         if widget.geometry().contains(event.pos()):
             self.edit_axis_parameters(axis_id)
             break
     else:
         QwtPlot.mouseDoubleClickEvent(self, event)
예제 #2
0
 def mouseDoubleClickEvent(self, event):
     """Reimplement QWidget method"""
     for axis_id in self.AXIS_IDS:
         widget = self.axisWidget(axis_id)
         if widget.geometry().contains(event.pos()):
             self.edit_axis_parameters(axis_id)
             break
     else:
         QwtPlot.mouseDoubleClickEvent(self, event)
예제 #3
0
 def showEvent(self, event):
     """Reimplement Qwt method"""
     QwtPlot.showEvent(self, event)
     if self._start_autoscaled:
         self.do_autoscale()
예제 #4
0
 def showEvent(self, event):
     """Reimplement Qwt method"""
     QwtPlot.showEvent(self, event)
     if self._start_autoscaled:
         self.do_autoscale()