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
Metadata
Release files for GSEWidgets 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gsewidgets-0.0.2.tar.gz | 50.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gsewidgets-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 101.0 kB
Release files / gsewidgets-0.0.2.tar.gz
| Download URL | gsewidgets-0.0.2.tar.gz |
|---|---|
| Size | 50.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bc61664a52ab0a6cb7b5539da1d9ead8ae995e3049d065a5a91802a715aae66
|
|
BLAKE2b-256 checksum How to use checksums |
a43e455aefd15b4a0fb1b350eef986c914ede8fc2f4aab88fdda0bca5144399b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / gsewidgets-0.0.2-py3-none-any.whl
| Download URL | gsewidgets-0.0.2-py3-none-any.whl |
|---|---|
| Size | 50.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a670afaf334b9af1876dee58bd0c2087b7af6046fc31172efc40b3dacac5e90
|
|
BLAKE2b-256 checksum How to use checksums |
cb24a6fb00eec1b43c48d61e06dbeb9770e1f6f69bb70d4ce17d57640937f78c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|