Qt Models and Views made easy with general purpose Model and a Widget delegate.
Project description
Qt Models and Views made easy with general purpose Model and a Widget delegate.
Documentation
The full documentation is at http://pythonhosted.org/easymodel.
Features
- Easy to use tree model for arbitrary data.
- Widgets in views via delegates.
- Cascading views, similar to QColumnView but with arbitrary widgets (e.g. QComboBox or even a mix).
History
0.1.0 (2014-08-27)
- First release on PyPI.
0.2.0 (2015-01-04)
- Specialized views that handle click events and propagate them to the editor widget.
- Easier insertion and removal of rows
- Editing supported
0.3.0 (2015-02-10)
- Fix emit signal when calling set_data
- Fix editor resizing
- Add ItemDataRoles to retrieve the internal objects of an index
- Easy conversion from ItemData to TreeItem
- Emit clicks on widgetdelegate via QApplication and to the actual child widget
0.4.0 (2015-08-09)
- python 3 support
0.4.1 (2015-11-05)
- Fix click recursion in delegate event propagation
0.4.2 (2015-11-07)
- Update tests for PySide 1.2.4
0.5.0 (2015-11-08)
- Add cascading views
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size easymodel-0.5.0-py2.py3-none-any.whl (17.8 kB) | File type Wheel | Python version any | Upload date | Hashes View hashes |
Filename, size easymodel-0.5.0.tar.gz (22.1 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Close
Hashes for easymodel-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 077c27d72045cd89a47c34f94f1df8630854e6c0ff6e9d5befba5f4f6efe81a8 |
|
MD5 | dd8c0d0853b7054dafa57365edf02cbd |
|
BLAKE2-256 | 926a79f09df13c6d2c0aaca0bc87c0ffa2c6b05d31e8f130ab78693937709eb6 |