项目
在 GitHub 查看 PyQt5 Custom Widgets

kadir014/pyqt5-custom-widgets
关于
更多实用的 PyQt5 控件。
其他项目实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文PyQt5 Custom Widgets 

Table of Contents
Installing
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.
Usage
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)
...
Widgets
ToggleSwitch Documentation |
StyledButton Documentation |
|---|---|
ImageBox Documentation |
ColorPicker Documentation |
DragDropFile Documentation |
EmbedWindow Documentation |
CodeTextEdit Documentation |
TitleBar Documentation |
Spinner Documentation |
Toast Documentation |
References
- See Examples page for examples
- See Documentation page for documentation and detailed widget references
- See styling reference page for styling instructions on custom widget
Dependencies
TODO
- Better styling and QSS support
- Rework animations using Qt's animation framework
- Optimize and complete ColorPicker widget
License
GPL v3 © Kadir Aksoy
探索相关项目
加载中…