示例#1
0
 def paintEvent(self, paintEvent):
     PyGlassGuiUtils.gradientPainter(
         self,
         self.size(),
         QtGui.QColor.fromHsv(0, 0, 255),
         QtGui.QColor.fromHsv(0, 0, 200)
     )
 def paintEvent(self, *args, **kwargs):
     """Doc..."""
     if self._colors:
         PyGlassGuiUtils.gradientPainter(
             self, self.size(), self._colors.light.qColor, self._colors.dark.qColor
         )
示例#3
0
 def paintEvent(self, paintEvent):
     PyGlassGuiUtils.gradientPainter(self, self.size(),
                                     QtGui.QColor.fromHsv(0, 0, 255),
                                     QtGui.QColor.fromHsv(0, 0, 200))
示例#4
0
 def paintEvent(self, *args, **kwargs):
     """Doc..."""
     if self._colors:
         PyGlassGuiUtils.gradientPainter(self, self.size(),
                                         self._colors.light.qColor,
                                         self._colors.dark.qColor)