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.

Filename, size & hash SHA256 hash help File type Python version Upload date
easymodel-0.5.0-py2.py3-none-any.whl (17.8 kB) Copy SHA256 hash SHA256 Wheel any
easymodel-0.5.0.tar.gz (22.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page