• Home
  • Raw
  • Download

Lines Matching refs:attrs

1434 	def __init__(self, data, graph_width, graph_height, attrs, event_handler, parent=None):  argument
1440 self.attrs = attrs
1448 if not(last is None or last.hregion.pid == 0 or x < self.attrs.subrange.x.lo):
1449 if last.x < self.attrs.subrange.x.lo:
1450 x0 = self.attrs.subrange.x.lo
1453 if x > self.attrs.subrange.x.hi:
1454 x1 = self.attrs.subrange.x.hi
1457 x0 = self.attrs.XToPixel(x0)
1458 x1 = self.attrs.XToPixel(x1)
1460 y0 = self.attrs.YToPixel(last.y)
1462 colour = self.attrs.region_attributes[last.hregion.key].colour
1475 if point.x > self.attrs.subrange.x.hi:
1478 self.PaintPoint(painter, last, self.attrs.subrange.x.hi + 1)
1494 x = self.attrs.PixelToX(x)
1557 attrs = self.parentItem().attrs
1558 subrange = attrs.subrange.x
1567 attrs = self.parentItem().attrs
1570 xp = attrs.XToPixel(x)
1587 attrs = self.parentItem().attrs
1588 subrange = attrs.subrange.x
1599 attrs = self.parentItem().attrs
1600 lo = attrs.subrange.x.lo
1602 width = attrs.XToPixel(hi)
1679 def __init__(self, collection, data, attrs, event_handler, first, parent=None): argument
1683 self.attrs = attrs
1692 graph_width = attrs.XToPixel(attrs.subrange.x.hi) + 1
1693 graph_height = attrs.YToPixel(attrs.subrange.y.hi) + 1
1717 …self.graph = SwitchGraphDataGraphicsItem(data, graph_width, graph_height, attrs, event_handler, se…
1730 return self.attrs.PixelToX(x - self.graph_origin_x)
1795 def __init__(self, collection, attrs, event_handler, child_class, parent=None): argument
1810 child = child_class(collection, data, attrs, event_handler, first, self)
2220 self.attrs = GraphAttributes(scale, subrange, region_attributes, collection.dp)
2222 self.item = VertcalGraphSetGraphicsItem(collection, self.attrs, self, SwitchGraphGraphicsItem)
2317 return (self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect)
2325 self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect = self.back_state.pop()
2326 self.attrs.Update()
2336 …self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect = self.forward_state.po…
2337 self.attrs.Update()
2342 time_from = self.collection.xrangelo + Decimal(self.attrs.subrange.x.lo)
2343 time_to = self.collection.xrangelo + Decimal(self.attrs.subrange.x.hi)
2389 self.attrs.subrange.x = selected_subrange
2394 self.attrs.scale.x = self.GetScaleForRangeX(self.attrs.subrange.x)
2395 self.attrs.Update()