Install using PIP (it might be pip3
or python3
depending on your platform)
pip install pyqt5Custom
or
python -m pip install pyqt5Custom
Also you can also use PySide2 instead of PyQt5 with just litte changes.
Just import pyqt5Custom
and you're ready to go. You can check out Examples, one little example for StyledButton widget:
from pyqt5Custom import StyledButton
...
btn = StyledButton(text="Hello!")
btn.setStyleDict({
"border-radius" : 20,
"font-family" : "Helvetica",
"font-size" : 17
})
@btn.clicked.connect
def slot():
print("Quitting!")
app.exit()
layout.addWidget(btn)
...
ToggleSwitch Documentation |
StyledButton Documentation |
---|---|
ImageBox Documentation |
ColorPicker Documentation |
DragDropFile Documentation |
EmbedWindow Documentation |
CodeTextEdit Documentation |
TitleBar Documentation |
Spinner Documentation |
Toast Documentation |
- See Examples page for examples
- See Documentation page for documentation and detailed widget references
- See styling reference page for styling instructions on custom widget
- Better styling and QSS support
- Rework animations using Qt's animation framework
- Optimize and complete ColorPicker widget
GPL v3 © Kadir Aksoy