Changeset d468daa in sasview for guiframe/local_perspectives/plotting/boxSum.py
- Timestamp:
- Feb 5, 2009 1:51:33 PM (16 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 888e62c
- Parents:
- f6a9248
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/boxSum.py
ree69839 rd468daa 72 72 73 73 # Bind to slice parameter events 74 print "box sum self.base.parent",self.base.parent74 #print "box sum self.base.parent",self.base.parent 75 75 self.base.parent.Bind(SlicerParameters.EVT_SLICER_PARS, self._onEVT_SLICER_PARS) 76 76 … … 115 115 """ 116 116 if self.center.has_move: 117 print "center has move"117 #print "center has move" 118 118 self.center.update() 119 119 self.horizontal_lines.update( center= self.center) … … 121 121 122 122 if self.horizontal_lines.has_move: 123 print "top has moved"123 #print "top has moved" 124 124 self.horizontal_lines.update() 125 125 self.vertical_lines.update(y1=self.horizontal_lines.y1, … … 127 127 height= self.horizontal_lines.half_height ) 128 128 if self.vertical_lines.has_move: 129 print "right has moved"129 #print "right has moved" 130 130 self.vertical_lines.update() 131 131 self.horizontal_lines.update(x1=self.vertical_lines.x1, … … 464 464 Draw the new roughness on the graph. 465 465 """ 466 print "self.half_height",self.half_height,self.half_width466 #print "self.half_height",self.half_height,self.half_width 467 467 if width!=None: 468 468 self.half_width= width … … 472 472 self.center_x= center.x 473 473 self.center_y= center.y 474 print "vertical width",self.half_width ,self.center_x474 #print "vertical width",self.half_width ,self.center_x 475 475 self.x1 = self.half_width + self.center_x 476 476 self.x2= -self.half_width + self.center_x … … 543 543 544 544 self.half_width= math.fabs(self.x1-self.x2)/2 545 print "Move vert: vertical width",self.half_width ,self.center_x545 #print "Move vert: vertical width",self.half_width ,self.center_x 546 546 self.has_move=True 547 547 self.base.base.update() … … 658 658 Draw the new roughness on the graph. 659 659 """ 660 print "self.half_width",self.half_width660 #print "self.half_width",self.half_width 661 661 if width!=None: 662 662 self.half_width= width
Note: See TracChangeset
for help on using the changeset viewer.