A Qt based ui widget to manage a factories.Factory
Project description
qfactory
A Qt based widget for representing a factory (factories.Factory) instance. This widget allows for the adding/removing of paths from the factory. Equally it allows for plugins to be enabled/disabled.
Install
pip install qfactory
Example
This example demonstrates how the widget works and how it updates based on the changes within the factory.
import qtility
from factories.examples import zoo
from qfactory import FactoryWidget
# -- Instance the example which comes with the factories module
zoo_instance = zoo.Zoo()
# -- Now instance a QApplication and then our Factory widget. We pass
# -- the factory as an argument to the widget. The widget will bind into
# -- the factory signals and represent that factory
qapp = qtility.app.get()
w = FactoryWidget(factory=zoo_instance.factory)
w.show()
qapp.exec()
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qfactory-1.0.1.tar.gz.
File metadata
- Download URL: qfactory-1.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0d3e0fcd8e445be4fae4781d92567062dbf086aec1fd0584da070263640e871
|
|
| MD5 |
65e6d8f2fc6073b4653aee6c0b478aca
|
|
| BLAKE2b-256 |
56d9d6cce1441a0c947e7d4f23ccfb6c6a612aecf0315ccc295870e6b1fdc8e2
|
File details
Details for the file qfactory-1.0.1-py3-none-any.whl.
File metadata
- Download URL: qfactory-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.2 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 |
3355c332d709fc97c800311f5a74e97a27240959b9dd666e7bd47e3446db3cec
|
|
| MD5 |
0f946e52ed0a755a6362d05296d675f9
|
|
| BLAKE2b-256 |
83667ef4201091e479dade5b42f5e03631c9c06a1768fcb3b343dad4c8ba7ac4
|