Features
powerful signal-slot
user friendly widget classes
User Friendly Widget Classes
Uniform wrapper on frequently-used widget, including:
container widget:
value widget:
behavior widget:
Container Widget
Example 1: create widget
import quite
w = quite.Widget()
w.exec()
Simple Widget
Example 2: nested widget
import quite
class CustomWidget(quite.Widget):
def paint(self, painter: quite.Painter):
painter.setFont(quite.QFont("Courier New", 14.0))
painter.draw_text_bottom_right(quite.PointF(0, 0), "Custom Widget")
painter.end()
main_window = quite.MainWindow()
custom_widget = CustomWidget(parent=main_window)
main_window.set_central_widget(custom_widget)
main_window.exec()
Nested Widget
Example 3: widget from ui file
import os
from quite import *
class CustomWidget(Widget):
def paint(self, painter: Painter):
w, _ = self.size
painter.setFont(QFont("Courier New", 14.0))
painter.draw_text_bottom_right(PointF(0, 0), "So Cool!")
painter.draw_text_bottom_left(PointF(w, 0), "From Custom Widget")
painter.end()
main_window = load_ui(filename=os.path.join(os.path.dirname(__file__), 'main_window.ui'))
main_window.set_central_widget(CustomWidget(parent=main_window))
main_window.exec()
Use QtDesigner to create a ui file:
UI Design
Metadata
Release files for quite 0.4.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| quite-0.4.8.tar.gz | 20.5 kB | Without provenance | Details |
Release files / quite-0.4.8.tar.gz
| Download URL | quite-0.4.8.tar.gz |
|---|---|
| Size | 20.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c89e408006148d0cc5f873980495741452ef0e319f4adb3b29179ba464e086f
|
|
BLAKE2b-256 checksum How to use checksums |
50b0eb4dc10c13830417fe30b70e184db7fbfc10e30f62b54436119ad4c39c98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.10.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/35.0.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.4.6
|
Security for quite 0.4.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.