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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mi_tabletqt-1.0.9.tar.gz
.
File metadata
- Download URL: mi_tabletqt-1.0.9.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a43d05fab7a5dd13f4cb622e7fcd5e274e87bb75965627952a4cd2224b440778 |
|
MD5 | adb71c3b989723800b2b8581b6415f1c |
|
BLAKE2b-256 | e0b000de2a223c5c2f18fc54f84a9ba97e2466c3c49d1caf085dea5f55806c11 |
File details
Details for the file mi_tabletqt-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: mi_tabletqt-1.0.9-py3-none-any.whl
- Upload date:
- Size: 36.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2969d6827174c4bcd2cd0a5c5bbaf80a2e6734aa819229dbcc437284758a95dd |
|
MD5 | 8e2ae9cc0b1a36ab8dcc24993a1e033d |
|
BLAKE2b-256 | 751874c521e49f5791fb8390e5fec28dbceffeed2513cccc5bf014601df96de6 |