Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
QGraphicsOpacityEffect.setOpacity(float)

src/n/i/ninja-ide-HEAD/ninja_ide/gui/editor/minimap.py   ninja-ide(Download)
            self.goe = QGraphicsOpacityEffect()
            self.setGraphicsEffect(self.goe)
            self.goe.setOpacity(settings.MINIMAP_MIN_OPACITY)
            self.animation = QPropertyAnimation(self.goe, "opacity")
 
            self.goe = QGraphicsOpacityEffect()
            self.setGraphicsEffect(self.goe)
            self.goe.setOpacity(settings.MINIMAP_MAX_OPACITY / 2)
        else:
            self.setStyleSheet("background: transparent;")

src/c/a/Camelot-13.04.13-gpl-pyqt/camelot/view/controls/action_widget.py   Camelot(Download)
 
        opacityEffect = QtGui.QGraphicsOpacityEffect(parent = self)
        opacityEffect.setOpacity(1.0)
        self.setGraphicsEffect(opacityEffect)
 

src/n/w/nwqt4-0.2/nwqt4/widgets/result.py   nwqt4(Download)
    def set_effect(self, setting):
        effect = QtGui.QGraphicsOpacityEffect()
        effect.setOpacity(
            self.app.settings['results/%s_opacity' % setting]/100.0)
        self.thumb.setGraphicsEffect(effect)