Re: How to get box shadows in qlabels?
Phil Thompson <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
On 10/03/2020 15:36, Barry Scott wrote: >> On 10 Mar 2020, at 02:53, Souvik Dutta Chowdhury >> <[email protected]> wrote: >> >> Hmm but there is nothing pyqt5 called QGraphicsBoxShadowEffect > > In the docs https://doc.qt.io/qt-5/qgraphicsdropshadoweffect.html > <https://doc.qt.io/qt-5/qgraphicsdropshadoweffect.html> it says that > this is part of widgets "qmake: QT += widgets" > That tells me that I should look in PyQt5.QtWidgets to find the class. > > >>>> from PyQt5 import QtWidgets > >>>> QtWidgets.QGraphicsDropShadowEffect > <class 'PyQt5.QtWidgets.QGraphicsDropShadowEffect'> Or you could just look in the class index... https://www.riverbankcomputing.com/static/Docs/PyQt5/sip-classes.html Phil _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt