Skip to content

This is the study of an interface with PySide2 / Python - Login - Modern Gui [Qt Designer, PySide2/PyQt5]

License

Notifications You must be signed in to change notification settings

MrCl0wnLab/Python_PySide2_LoginBarberShop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Form LoginBarberShop in PySide2

Python 3.8 Build Build GitHub

This is the study of an interface with PySide2 / Python - Login - Modern Gui [Qt Designer, PySide2/PyQt5]

Using Qt Designer

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.

Screenshot Qt Designer: https://doc.qt.io/qt-5/qtdesigner-manual.html

Use

$ python main.py

Screenshot

Files

.
├── 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

Remove title bar

self.setWindowFlag(Qt.FramelessWindowHint)
self.setAttribute(Qt.WA_TranslucentBackground)

Set drop shadow effect

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

My study reference

About

This is the study of an interface with PySide2 / Python - Login - Modern Gui [Qt Designer, PySide2/PyQt5]

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages