Skip to main content

Tablet simple 2D drawing interface that renders to SVG

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_tabletsvg-0.1.0.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

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

mi_tabletsvg-0.1.0-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file mi_tabletsvg-0.1.0.tar.gz.

File metadata

  • Download URL: mi_tabletsvg-0.1.0.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mi_tabletsvg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c1242feb01d4ed0b02ebfd262cc6dad30c9e3349ff1bed8f797117c16eecdee5
MD5 33b5ec24a592de08ae656d954b1f83c8
BLAKE2b-256 0b6a1f0b89920f8d31b493cf35cf6dcac496a05c8800ba2fb5d0212150603074

See more details on using hashes here.

File details

Details for the file mi_tabletsvg-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mi_tabletsvg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mi_tabletsvg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87ff1d065b1c899e13b2c75ebf135a9038cc0cafba18d9fb5ff0aaa16fad6c77
MD5 a81124ce156551a35d43ed8d4cf3852e
BLAKE2b-256 8b9fe9f57db9eff22734a81131f60adf182bffce6ec9a09a562a9514184ab7a8

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