• Home
  • Raw
  • Download

Lines Matching refs:width

1467 			width = x1 - x0 + 1
1468 if width < 2:
1472 painter.fillRect(x0, self.graph_height - y0, width, self.graph_height - 1, colour)
1549 def __init__(self, width, parent=None): argument
1552 self.width = width
1557 return QRectF(0, 0, self.width, self.height)
1563 s = (3.0 * t) / self.width
1588 painter.drawLine(0, 0, self.width - 1, 0)
1605 width = attrs.XToPixel(hi)
1606 if width > 500:
1607 width = 0
1608 return (n, lo, hi, width)
1611 n, lo, hi, width = self.ScaleDimensions()
1612 if not width:
1614 painter.drawLine(at_x, at_y, at_x + width, at_y)
1618 n, lo, hi, width = self.ScaleDimensions()
1619 return width
1717 self.width = self.graph_origin_x + graph_width + margin
1727 return QRectF(0, 0, self.width, self.height)
1771 self.width = 0
1775 def SetSize(self, width, height): argument
1776 self.width = width + 1
1780 return QRectF(0, 0, self.width, self.height)
1784 painter.fillRect(0, 0, self.width, self.height, colour)
1785 x1 = self.width - 1
1805 self.width = 0
1816 if rect.right() > self.width:
1817 self.width = rect.right()
1837 return QRectF(0, 0, self.width, self.height)
1865 x, y, width, height = rect.x(), rect.y(), rect.width(), rect.height()
1867 self.bracket.SetSize(width, height)
1884 width = x - self.rb_origin.x()
1885 rect = QRect(self.rb_origin, QSize(width, self.height))
1887 width = self.rb_origin.x() - x
1888 top_left = QPoint(self.rb_origin.x() - width, self.rb_origin.y())
1889 rect = QRect(top_left, QSize(width, self.height))
2020 sz1 = sz1 + self.view.verticalScrollBar().sizeHint().width()
2024 self.saved_size = self.size().width()
2153 sz1 = sz1 + self.widget(1).view.verticalScrollBar().sizeHint().width()
2154 sz0 = self.size().width() - self.handleWidth() - sz1
2158 sz0 = self.size().width() - self.handleWidth() - sz1
3250 len = metrics.width(str(val) + mm)
3253 len = metrics.width(str(val) + mm)
3813 len = metrics.width(str(val) + "MM")
3816 len = metrics.width(str(val) + "MM")
3888 width = max_width[c]
3891 val = val.rjust(width)
3893 pad = " " * (width - len(val))
3909 width = max_width[i.column() - min_col]
3911 val = str(i.data()).rjust(width)
3915 pad = " " * (width - len(val))
3982 width = max_width[c]
3985 val = val.rjust(width)
3987 pad = " " * (width - len(val))
4012 width = max_width[c]
4014 val = val.rjust(width)
4016 pad = " " * (width - len(val))