This is the study of an interface with PySide2 / Python - Login - Modern Gui [Qt Designer, PySide2/PyQt5]
Qt Designer is the Qt tool for designing and building graphical user interfaces (GUIs) with Qt Widgets. You can compose and customize your windows or dialogs in a what-you-see-is-what-you-get (WYSIWYG) manner, and test them using different styles and resolutions.
Qt Designer: https://doc.qt.io/qt-5/qtdesigner-manual.html
$ python main.py
.
├── assets
│ ├── files.py
│ ├── files.qrc
│ ├── img
│ │ ├── bg.jpg
│ │ ├── bg.xcf
│ │ ├── logo.png
│ │ └── logo.svg
│ ├── __init__.py
│ └── prints
│ ├── form.png
│ └── qt.png
├── Formlogin.ui
├── LICENSE
├── main.py
├── README.md
└── ui_Formlogin.py
3 directories, 14 files
self.setWindowFlag(Qt.FramelessWindowHint)
self.setAttribute(Qt.WA_TranslucentBackground)
self.shadow = self.set_drop_shadow()
def set_drop_shadow(self):
self.shadow = QGraphicsDropShadowEffect(self)
self.shadow.setBlurRadius(20)
self.shadow.setXOffset(0)
self.shadow.setYOffset(0)
self.shadow.setColor(QColor(0, 0, 0, 60))
return self.shadow