A code editing widget for PyQt and PySide
Project description
CodeEdit for Qt and Python
This is a simple code editor widget for Python and Qt supporting multiple languages and color themes.
Features
- Syntax and theming support powered by Pygments, so any language and theme supported by it can be used
- Hide and show line numbers
- Spaces or tabs for indentation
Implementation
The CodeEdit widget is based on QPlainTextEdit and syntax highlight is provided by a Pygments
based implementation of QSyntaxHighlighter. The line number implementation was based on this
sample from the Qt docs, with a
bit of cleanup and refactoring on my part.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qtcodeedit-0.1.0.tar.gz.
File metadata
- Download URL: qtcodeedit-0.1.0.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac41216b060cb65f96e45a8294ac16c7d79a5f9540a8a63c6c18d407bccb023f
|
|
| MD5 |
c89d2800ab77855e9eee9950a7a92e29
|
|
| BLAKE2b-256 |
c844d53a71cb881ae566c3565564375990e1aa8a7a5e487d25ea344b24fe4401
|
File details
Details for the file qtcodeedit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: qtcodeedit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e243ad31d1f852b329f4818d3ae3779808414b8c0457a2d92e2382beed9e6420
|
|
| MD5 |
356eed6c9bb878938856d3c39573d0f7
|
|
| BLAKE2b-256 |
fed2228cd73dda9b90ed9cafb5331f9bf0c0bcd15a47b931cfd70b550bc3002a
|