https://github.com/luolingchun/pyqss
A simple QSS editor.
https://github.com/luolingchun/pyqss
pyqt5 python qss
Last synced: about 2 months ago
JSON representation
A simple QSS editor.
- Host: GitHub
- URL: https://github.com/luolingchun/pyqss
- Owner: luolingchun
- License: gpl-3.0
- Created: 2019-03-22T09:27:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-01T07:12:32.000Z (about 3 years ago)
- Last Synced: 2025-04-12T13:13:11.995Z (about 2 months ago)
- Topics: pyqt5, python, qss
- Language: Python
- Homepage:
- Size: 816 KB
- Stars: 5
- Watchers: 0
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README-en.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# pyqss
English | [简体中文](README.md)
A simple QSS editor
## Install
```shell
pip install pyqss
```## Features
- [x] Live preview
- [x] Syntax highlighting
- [x] Auto-completion
- [x] i18n
- [x] Find and replace
- [x] File drag and drop
- [x] Auto-attach## Usage
**shortcut keys**:
- `Ctrl+/`:comment
- `Ctrl+F`:find and replaceImport QSS from pyqss and register the MainWindow into QSS, and enjoy it:[example](./examples/test.py)
```python
if __name__ == '__main__':
import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from pyqss import Qssapp = QApplication(sys.argv)
main_window = QMainWindow()
main_window.show()
# register main_window
qss = Qss(main_window)
qss.show()app.exec_()
```## Screenshot

