Collection of gui widgets to be used in GSE software.
Project description
GSEWidgets
GSEWidgets is a package that makes use of Qt6 to create some easy to use and define widgets. This is achieved by combining the functionality of PyQt6 and qtpy libraries. Most of the custom widgets are created to be used with specific applications developed for GSECARS.
Installation
GSEWidgets requires the use of Python 3.10 or higher. In some cases lower versions are also accepted, but version 3.10 is recommended for best compatibility. See the full requirements list for the GSEWidgets package.
PyPI
To install from PyPI use:
pip install gsewidgets
Source
To install from source first download the project from the package releases or use:
git clone https://github.com/GSECARS/GSEWidgets.git
Move into the project directory:
cd GSEWidgets
Install using pip:
pip install .
Requirements
- Python >= 3.10
- PyQt6 >= 6.4.0
- qtpy >= 2.2.1
Available widgets
- ErrorMessageBox
- VerticalLine
- HorizontalLine
- Label
- FlatButton
- FileBrowserButton
- DirectoryBrowserButton
- ColorDialogButton
- NumericSpinBox
- NoWheelNumericSpinBox
- InputBox
- FilePathInputBox
- FileNameInputBox
- URIInputBox
- FullComboBox
- CheckBox
- ToggleCheckBox
- XYZCollectionPointsTable
Here is a screenshot with an example application, one using custom styles in .qss files.
The example application is also packaged and can be used after the installation. See below:
from gsewidgets.examples import app
app.run()
License
GSEWidgets is distributed under the GNU General Public License version 3. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Christofanis Skordas - Last updated: 31-Mar-2023
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 gsewidgets-0.0.2.tar.gz.
File metadata
- Download URL: gsewidgets-0.0.2.tar.gz
- Upload date:
- Size: 50.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bc61664a52ab0a6cb7b5539da1d9ead8ae995e3049d065a5a91802a715aae66
|
|
| MD5 |
513948b95aa274a9efb21e33b45279d2
|
|
| BLAKE2b-256 |
a43e455aefd15b4a0fb1b350eef986c914ede8fc2f4aab88fdda0bca5144399b
|
File details
Details for the file gsewidgets-0.0.2-py3-none-any.whl.
File metadata
- Download URL: gsewidgets-0.0.2-py3-none-any.whl
- Upload date:
- Size: 50.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a670afaf334b9af1876dee58bd0c2087b7af6046fc31172efc40b3dacac5e90
|
|
| MD5 |
ade1c7a87c9457ddcf27cd1869cddc30
|
|
| BLAKE2b-256 |
cb24a6fb00eec1b43c48d61e06dbeb9770e1f6f69bb70d4ce17d57640937f78c
|