Пример #1
0
 def pan(self, *args):
     self.pan_selected = not self.pan_selected
     self.zoom_selected = False
     self.canvas.canvas._draw_overlay = False
     if self.pan_selected:
         self.bPan.widget().value(1)
     else:
         self.bPan.widget().value(0)
     if self.zoom_selected:
         self.bZoom.widget().value(1)
     else:
         self.bZoom.widget().value(0)
     NavigationToolbar2.pan(self, args)
Пример #2
0
 def pan(self, *args):
     self.pan_selected = not self.pan_selected
     self.zoom_selected = False
     self.canvas.canvas._draw_overlay = False
     if self.pan_selected:
         self.bPan.widget().value(1)
     else:
         self.bPan.widget().value(0)
     if self.zoom_selected:
         self.bZoom.widget().value(1)
     else:
         self.bZoom.widget().value(0)
     NavigationToolbar2.pan(self, args)
Пример #3
0
 def pan(self, *args):
     self.buttons['Zoom'].setOn(False)
     NavigationToolbar2.pan(self, *args)
Пример #4
0
 def pan( self, *args ):
     self.buttons[ 'Zoom' ].setOn( False )
     NavigationToolbar2.pan( self, *args )
Пример #5
0
 def pan(self, *args):
     NavigationToolbar2.pan(self, *args)
Пример #6
0
 def pan(self, *args):
     self.ToggleTool(self._NTB2_ZOOM, False)
     NavigationToolbar2.pan(self, *args)
Пример #7
0
 def pan(self, *args):
     NavigationToolbar2.pan(self, *args)
Пример #8
0
 def pan(self, *args):
     self.ToggleTool(self._NTB2_ZOOM, False)
     NavigationToolbar2.pan(self, *args)