Exemplo n.º 1
0
 def __init__(self, parent = None):
     QQuickItem.__init__(self, parent)
     # need to disable this flag to draw inside a QQuickItem
     self.setFlag(QGraphicsItem.ItemHasNoContents, False)
     self._color = QColor()
     self._fromAngle = 0
     self._angleSpan = 0
Exemplo n.º 2
0
 def __init__(self, parent=None):
     QQuickItem.__init__(self, parent)
     # need to disable this flag to draw inside a QQuickItem
     self.setFlag(QGraphicsItem.ItemHasNoContents, False)
     self._color = QColor()
     self._fromAngle = 0
     self._angleSpan = 0
Exemplo n.º 3
0
 def __init__(self, parent=None):
     QQuickItem.__init__(self, parent)
     self._name = ''
     self._slices = []
Exemplo n.º 4
0
 def __init__(self, parent = None):
     QQuickItem.__init__(self, parent)
     self._name = ''
     self._slices = []
Exemplo n.º 5
0
 def __init__(self, parent = None):
     QQuickItem.__init__(self, parent)
Exemplo n.º 6
0
 def __init__(self, parent=None):
     QQuickItem.__init__(self, parent)
     self._name = None
     self._pieSlice = None
Exemplo n.º 7
0
    def __init__(self, parent=None):
        QQuickItem.__init__(self, parent)

        self._name = "john"
Exemplo n.º 8
0
 def __init__(self, parent=None):
     QQuickItem.__init__(self, parent)
Exemplo n.º 9
0
 def __init__(self, parent = None):
     QQuickItem.__init__(self, parent)
     # need to disable this flag to draw inside a QQuickItem
     self.setFlag(QGraphicsItem.ItemHasNoContents, False)
Exemplo n.º 10
0
 def __init__(self, parent = None):
     QQuickItem.__init__(self, parent)
     self._name = None
     self._pieSlice = None