# 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][example-gif]
The source code was adapted from [eyllanesc's solution][eyllanesc-ghrepo] for [this StackOverflow question][so-question-46469720],
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.
[example-gif]: <samples/example.gif>
[eyllanesc-ghrepo]: <https://github.com/eyllanesc/stackoverflow/tree/master/questions/46469720>
[so-question-46469720]: <https://stackoverflow.com/questions/46469720/how-to-make-a-qheaderview-multilevel>
Raw data
{
"_id": null,
"home_page": "https://github.com/glourencoffee/pyqt5span",
"name": "pyqt5span",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "pyqt5,spanning",
"author": "Edwin Yllanes, Giovanni Louren\u00e7o",
"author_email": "gvnl.developer@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/7d/85/76cba2533779b5104027ad7acd07877b3405188fdb6fce5699e43b76b78a/pyqt5span-0.1.2.tar.gz",
"platform": null,
"description": "# About\n\n`pyqt5span` is a library extending the PyQt5 framework to provide a way of spanning the\nhorizontal and vertical headers of a `QTableView`. Below is a demonstration of this library\nwith the script `example.py` in the `samples` directory:\n\n![Example][example-gif]\n\nThe source code was adapted from [eyllanesc's solution][eyllanesc-ghrepo] for [this StackOverflow question][so-question-46469720],\nwhich originally supports the spanning of a header by turning it into a grid. Since that\nsolution is meant for a complex use case, it results in an overcomplicated API for simpler\ncases where the user only wants to span rows or columns of standard headers (that is, when\nthe user doesn't want a grid header). Hence this small library.\n\n [example-gif]: <samples/example.gif>\n [eyllanesc-ghrepo]: <https://github.com/eyllanesc/stackoverflow/tree/master/questions/46469720>\n [so-question-46469720]: <https://stackoverflow.com/questions/46469720/how-to-make-a-qheaderview-multilevel>\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Span header for PyQt5",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/glourencoffee/pyqt5span"
},
"split_keywords": [
"pyqt5",
"spanning"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "13dfff0ae04166f46c18fc9d30f9e4d7bac6455312398a3c3e756af0294e39e6",
"md5": "35a1137954bcc1796b5b25da14a58f4b",
"sha256": "43abd8f6e88d00088dfd7d4992a2234b064509cd2e072bab3dae5a4faa974fa4"
},
"downloads": -1,
"filename": "pyqt5span-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "35a1137954bcc1796b5b25da14a58f4b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 7758,
"upload_time": "2023-05-26T14:39:33",
"upload_time_iso_8601": "2023-05-26T14:39:33.622521Z",
"url": "https://files.pythonhosted.org/packages/13/df/ff0ae04166f46c18fc9d30f9e4d7bac6455312398a3c3e756af0294e39e6/pyqt5span-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7d8576cba2533779b5104027ad7acd07877b3405188fdb6fce5699e43b76b78a",
"md5": "9ba3db2339bd058173a76d601a89017c",
"sha256": "7b0331852784c05ce3d19c552f2f67be3bd090f0da0a37a68b8a1c507bc8c56f"
},
"downloads": -1,
"filename": "pyqt5span-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "9ba3db2339bd058173a76d601a89017c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 7459,
"upload_time": "2023-05-26T14:39:35",
"upload_time_iso_8601": "2023-05-26T14:39:35.738238Z",
"url": "https://files.pythonhosted.org/packages/7d/85/76cba2533779b5104027ad7acd07877b3405188fdb6fce5699e43b76b78a/pyqt5span-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-26 14:39:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "glourencoffee",
"github_project": "pyqt5span",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "PyQt5",
"specs": [
[
">=",
"5.15.4"
]
]
}
],
"lcname": "pyqt5span"
}