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.0.5.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

mi_tabletqt-1.0.5-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mi_tabletqt-1.0.5.tar.gz
Algorithm Hash digest
SHA256 c558986a4ec69c6d59f875d75b1c92fe655913dd13e5e527390c0a6e525106ce
MD5 29e107bedd84db27c72eea98f0161d22
BLAKE2b-256 23f405717fe0ec582b2eca6f7d81189a859dbb80aa6262519d2c65765c65e355

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mi_tabletqt-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ece9308b4ccfaa522cd08275b40b1e73875c01a1992b6540a699b08773d4ed6d
MD5 d3490f35b128a7994ef81038174c7481
BLAKE2b-256 dea6fe1b017f802443bf3a96b4488fbe802ef755c0f63fe270bf6571a76185f4

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