Skip to main content

Span header for PyQt5

Project description

About

pyqt5span is a library extending the PyQt5 framework to provide a way of spanning the horizontal and vertical headers of a QTableView. Below is a demonstration of this library with the script example.py in the samples directory:

Example

The source code was adapted from eyllanesc's solution for this StackOverflow question, which originally supports the spanning of a header by turning it into a grid. Since that solution is meant for a complex use case, it results in an overcomplicated API for simpler cases where the user only wants to span rows or columns of standard headers (that is, when the user doesn't want a grid header). Hence this small library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqt5span-0.1.2.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

pyqt5span-0.1.2-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page