def __init__(self, parent=None): QQuickPaintedItem.__init__(self, parent) self._circles = [] self._timer = QTimer() QObject.connect(self._timer, SIGNAL('timeout()'), self, SLOT('requestSpecialUpdate()')) self._speedRatio = 1.0 self._timerInterval = 25 * self._speedRatio self._label = ''
def __init__(self, parent=None): QQuickPaintedItem.__init__(self, parent) self._visualizer = PlumbingVisualizer(parent=self) # Configures item for tracking the mouse and handling mouse events self.setAcceptedMouseButtons(Qt.LeftButton) self.setAcceptHoverEvents(True) self.heightChanged.connect(self._visualizer.setRescaleNeeded) self.widthChanged.connect(self._visualizer.setRescaleNeeded) self.paint = self._visualizer.paint
def __init__(self, parent=None): QQuickPaintedItem.__init__(self, parent) self._oroborusFlag = True self._cycleFlag = True self._radius = 100 self._borderOffset = 15 self._digitsList = [] self._scale = 0 self._posX = 0 self._posY = 0 self._speedRatio = 1.0 self._timerInterval = 25 * self._speedRatio self._animationIndex = 0 self._timer = QTimer() QObject.connect(self._timer, SIGNAL('timeout()'), self, SLOT('requestSpecialUpdate()')) self._dotColor = QColor(Qt.green) self._lineWidth = 1 self._lineColor = QColor(Qt.black)
def __init__(self, parent=None): QQuickPaintedItem.__init__(self, parent) self._color = QColor() self._fromAngle = 0 self._angleSpan = 0
def __init__(self, parent = None): QQuickPaintedItem.__init__(self, parent) self._name = u''
def __init__(self, parent = None): QQuickPaintedItem.__init__(self, parent) self._name = u'' self._color = QColor()
def __init__(self, parent = None): QQuickPaintedItem.__init__(self, parent) self._color = None
def __init__(self, parent = None): QQuickPaintedItem.__init__(self, parent) self._color = QColor() self._fromAngle = 0 self._angleSpan = 0
def __init__(self, parent=None): QQuickPaintedItem.__init__(self, parent) self.myColor = QColor()