Skip to main content

Qt Models and Views made easy with general purpose Model and a Widget delegate.

Project description

http://img.shields.io/pypi/v/easymodel.png https://travis-ci.org/storax/easymodel.png?branch=master http://img.shields.io/pypi/dm/easymodel.png https://coveralls.io/repos/storax/easymodel/badge.png http://img.shields.io/pypi/l/easymodel.png

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.

Source Distribution

easymodel-0.5.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

easymodel-0.5.0-py2.py3-none-any.whl (17.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file easymodel-0.5.0.tar.gz.

File metadata

  • Download URL: easymodel-0.5.0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for easymodel-0.5.0.tar.gz
Algorithm Hash digest
SHA256 5be1da02a90b46e79fc12ad74b8e4a68c754c5e4563d88655dd34f27387dafe5
MD5 2a782df54217aa7d850509c82fd317ca
BLAKE2b-256 a2e5f99290a34a0de0738ae764bee50de64893a0fb58ae40739b539742eb5cc0

See more details on using hashes here.

File details

Details for the file easymodel-0.5.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for easymodel-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 077c27d72045cd89a47c34f94f1df8630854e6c0ff6e9d5befba5f4f6efe81a8
MD5 dd8c0d0853b7054dafa57365edf02cbd
BLAKE2b-256 926a79f09df13c6d2c0aaca0bc87c0ffa2c6b05d31e8f130ab78693937709eb6

See more details on using hashes here.

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