Skip to main content

Tablet simple 2D drawing interface to Qt

Project description

Tablet Qt

TabletQt is an intermediate graphics rendering layer intended to support the generation of model diagrams such as UML or SysML.

It establishes an intermediate layer between a model diagram tool and any particular graphics library.

Consequently, the model diagram tool is not affected by any change in the chosen graphics library as long as all the required functionality is supported.

For example, the Flatland model diagram generator, also maintained on this site, was originally implemented on top of Tablet which was built on the Cairo graphics library.

I am moving it to TabletQt which offers the same functionality on top of the Qt GUI library using PyQt bindings.

In this readme file I will keep the focus on installation. For details about the interface, features, and other documentation, please see the wiki for this repository.

Why you need this

You want to draw simple 2D to support model drawings such as UML or SysML

Installation

Create or use a python 3.12+ environment.

% pip install tablet-qt

From your python script

Take a look at the etchasketch.py file to see an example script that imports and uses Tablet.

From the command line

This is not the intended usage scenario, but may be helpful for testing or exploration. Since scrall may generate some diagnostic info you may want to create a fresh working directory and cd into it first. From there...

% tablet

You should also see a file named tabletqt.log

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

mi_tabletqt-1.2.2.tar.gz (36.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mi_tabletqt-1.2.2-py3-none-any.whl (58.3 kB view details)

Uploaded Python 3

File details

Details for the file mi_tabletqt-1.2.2.tar.gz.

File metadata

  • Download URL: mi_tabletqt-1.2.2.tar.gz
  • Upload date:
  • Size: 36.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for mi_tabletqt-1.2.2.tar.gz
Algorithm Hash digest
SHA256 d0e6563fa5e06a3b8249de3a1dec9dedd3fa05f71466015ba15a81a8fe59f339
MD5 c4aac484a4a9ce84f8e14b9e7a0c3bdf
BLAKE2b-256 0b2d4ff0ef48879b23c81f07027e19b28e778efb603d3c004b150621785664aa

See more details on using hashes here.

File details

Details for the file mi_tabletqt-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: mi_tabletqt-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 58.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for mi_tabletqt-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 310b2cf1356d4fb2a9e36d95b42766e9b8f2f2c0b184e5e693fb72da426e698f
MD5 f4601e39ba2e0fa81d0fc5c1cb55ebc1
BLAKE2b-256 0f1c40130a92ef4699655ac91e8a3633348caaabf69d89ca4ba651735c953311

See more details on using hashes here.

Supported by

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