A cross-platform PyQt Library to represent the Flywheel hierarchy with specific tree nodes.
Project description
fw-pyqt-management
A library containing common functionality for Flwywheel PyQt applications.
Current Applications that use fw-pyqt-management
Current applications include:
- The Flywheel-Connect Slicer Extension
- The Flwywheel-Case-Iterator Slicer Extension
- The Flywheel-App-Launcher PyQt application
Modules and Classes
The fw-pyqt-managment
library contains the following modules and classes:
adaptive_qt.py
: A module that creates conditional Qt imports based on the version of Qt installed. This allows for the use of Qt5, Qt6, or Slicer's PythonQt without having to change the code.config.py
: A module that contains theConfig
class. This class is used to store and retrieve configuration settings for a PyQt application.utils.py
: A module that contains utilities checking the system requirements for the application.tree_management.py
: A module that contains theTreeManagement
class. This class is used to manage the hierarchy tree in the PyQt Applications.fw_container_items.py
: A module that contains all of the item classes (e.g.ProjectItem
,SubjectItem
, etc.) that are used or displayed in the hierarchy tree.
Installation
The fw-pyqt-management
library can be installed using pip
:
pip install fw-pyqt-management
Alternatively, the library can be installed from source:
git clone https://gitlab.com/flywheel-io/scientific-solutions/libraries/fw-pyqt-management.git
cd fw-pyqt-management
pip install .
Usage
As noted above, there are three
currently deployed applications
that use the fw-pyqt-management
library. These applications can be used as examples
of how to use the library.
For a simple example of how to use the fw-pyqt-management
library, see the
simple_example.py in the
examples directory of this repository.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file fw_pyqt_management-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: fw_pyqt_management-0.0.5-py3-none-any.whl
- Upload date:
- Size: 442.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.19 Linux/5.15.154+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c49d67a53631658bbef86001f42b5269e885234ec1020085ea22fc9edacd14d3 |
|
MD5 | e0e99eada9deb2787e78495de794cf9f |
|
BLAKE2b-256 | 634425de96d7b45e1877721b46ebcd04f6cfd1e435946426afccd8ef7c869357 |