Skip to main content

UQtie

Utilities for Qt

A small set of features to make it easier to use PyQt5. Implements a repetive pattern for quickly building throwaway or small Qt applications. Features include Font Selection, Zoom In/Out, and geometry persistence.

Getting Started

Prerequisites

  • PyQt5 is obviously required.

The uqtie distribution package does not name PyQt5 as a dependency because you may have already installed it in some custom way, and you don't want the uqtie installation process to create a redundant PyQt5 installation.

If you don't already have it, you can install PyQt5 by doing this:

pip install pyqt5

Be aware that the appropriate installation procedure for a package can vary depending on your OS and other factors.

Installing uqtie

Install the package:

pip install uqtie

Or clone from GitHub:

git clone https://github.com/langrind/uqtie.git

and then run the setup script:

python setup.py

To show uqtie in action, run simple_uqtie.py. It's a do-nothing app, the lets you select the font from the File menu, or zoom via the View menu. It's copied in your $PATH when you install the UQtie package.

Tests

There are no tests yet, beyond running simple_uqtie.py.

Deployment

TBS: details about usage in different OS environments

Using UQtie

Module Name Purpose
UqtMav UqtMavConn allows easy use of pymavlink connections in Qt app
UqtWin MainWindow class provides an app main window with features
UqtStylesheet Allows app to maintain a QSS file with variable properties -
a "poor man's SASS"

You can view the source of simple_uqtie.py in the example/ subdirectory of the repo.

There are three items of note:

  1. Import the UqtWin module:
    
    from   uqtie import UqtWin
    
  2. Define a subclass of MainWindow
    
    class TestAppMainWindow(UqtWin.MainWindow):
        def __init__(self, parsedArgs, **kwargs ):
            super(TestAppMainWindow, self).__init__(parsedArgs, **kwargs)
    
  3. Instantiate the subclass
    
    # can add optional title='<OptionalTitle>' if it is different from your app name
    mainw = TestAppMainWindow(parsedArgs, app=app, organizationName='Craton', appName='UqtTest')
    

For more info, RTFD.

Contributing

This project is ad hoc in nature, so I don't foresee contributions. Nevertheless, feel free to make a pull request.

Versioning

Versions are assigned in accordance with Semantic Versioning. For the versions available, see the tags on this repository.

Pronunciation

  • "uqtie" is pronounced You Cutie 😍
  • "Uqt", used as a prefix in the code, rhymes with "duct"

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

Metadata

Release files for uqtie 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uqtie 0.1.2
File Size Uploaded Provenance Actions
uqtie-0.1.2.tar.gz 11.6 kB Without provenance Details for uqtie-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for uqtie 0.1.2
File Interpreter ABI Platform Actions
uqtie-0.1.2-py3-none-any.whl Python 3 none any Details for uqtie-0.1.2-py3-none-any.whl

Total release size: 26.0 kB

Release files / uqtie-0.1.2.tar.gz

Download URL uqtie-0.1.2.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
156eb74d8ab2ae22ba1df1ce8b0ffe1895211080631ba812d70fb7480917f25e
BLAKE2b-256 checksum
How to use checksums
41bd8f6431cfb8837cf46ac9f3ba1c2c07dc3a08f79c120be9eaa19abf3410c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

Release files / uqtie-0.1.2-py3-none-any.whl

Download URL uqtie-0.1.2-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0afcdb8310b09ada76c24ab12c84503abe56e1e7178289d02d62f35b49cdba9f
BLAKE2b-256 checksum
How to use checksums
4a91d731a0cfb0824adf71ef8d3b180e86081e0e5ff734227b32640273207f77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

Security for uqtie 0.1.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page