Ensure that uncomplye6 and black are installed. use conda, venv or just pip install to user..
pip install --user black uncompyle6
cd
""" | |
A very basic example of a image annotation tool using a QWidget as a viewport. | |
This implements | |
- Viewport panning | |
- Viewport zooming (maintaing Point Of Interest) | |
- Basic draggable handles / gizmos | |
""" | |
from PySide6 import QtCore, QtGui, QtWidgets |
""" | |
This example shows how to capture a screenshot of a specific area of the screen. | |
Warning: This has not been tested with multiple monitors. | |
Example: | |
to capture the entire the current screen:: | |
from PySide2 import QtCore, QtWidgets |
import enum | |
import time | |
import textwrap | |
import qtawesome | |
from PySide2 import QtCore, QtWidgets, QtGui | |
__ICONS = {} |
CC=gcc | |
all: src/shim.c | |
$(CC) -shared -fPIC -o shim.so src/shim.c -ldl |