Skip to main content

Custom widgets and utilities for PySide2

Project description

QtDesign

Overview

QtDesign Widgets are intended to extend the behavior of PySide2 by providing custom widgets that look and behave similarly to native components while allowing additional flexibility when designing an application.

All widgets are designed to work as seamlessly as possible with Qt Designer's widget promotion feature through the use of the loadUi method from the QtdUiTools module.

Motivation behind loadUi

One convenient feature of PyQt and Pyside is the ability to rapidly prototype a layout by directly loading a ui file from QtDesigner. PyQt's implementation of this feature allows a ui file to be loaded directly into an existing QWidget. This method allows developers to mimic how their application would work if they were inheriting a compiled version of the widget.

PySide's implementation of this feature unfortunately returns a new QWidget object which makes it awkward to extend the functionality in a way that would mimic a pure python implementation. QtDesign's loadUi function was included to mimic the functionality of PyQt's implementation while also automatically including automatic registration of the custom widgets provided by QtDesign.

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

QtDesign-0.1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

QtDesign-0.1.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

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