dmtoqt: EDM to Qt Parser
This documentation resides at https://controls.als.lbl.gov/alscg/dmtoqt/latest.
Overview
dmtoqt takes EDM files (.edl) as input, and writes Qt Designer UI files (.ui). It takes advantage of EPICS-aware Qt widget frameworks to mimic the intent and appearance of the original EDM user interfaces as closely as possible.
Synpopsis
Invoke dmtoqt like:
python dmtoqt.py --help
usage: dmtoqt.py [-h] [-v | -q] [-p PATH] [-c COLORS]
[-f FRAMEWORK [FRAMEWORK ...]]
file [file ...]
Convert EDM files to epicsqt-aware Qt ui files (for more details, please visit
https://controls.als.lbl.gov/alscg/dmtoqt)
positional arguments:
file File(s) to convert. Glob-style wildcards may be used.
If no extension is provided, .edl will be added.
Output goes to {file}.ui
optional arguments:
-h, --helpshow this help message and exit
-v, --verbose Turn on verbose output
-q, --quiet Be vewwy quiet
-p PATH, --path PATHPath in which to look for input files and write output
files
-c COLORS, --colors COLORS
Path to colors.list file. If not provided, will look
in $EDMOBJECTS, $EDMPVOBJECTS, /etc/edm/edmobjects
-f FRAMEWORK [FRAMEWORK ...], --framework FRAMEWORK [FRAMEWORK ...]
Use framework "EpicsQt" and/or "caQtDM". If only one
argument is provided, only that framework will be
used; if both are specified the best match for each
widget will be chosen. Default is to use EpicsQt only
Running dmtoqt
Normally, the only arguments required are the filename(s) of EDM files to be converted. These may be glob-style wildcards, in which case all matching files will be read.
Examples:
One or more input files:
python dmtoqt.py linac.edl booster.edl
Reads linac.edl and booster.edl from the current working directory, and produces linac.ui and booster.ui in the same directory. EpicsQt widgets will be produced.
Specifying a path:
python dmtoqt.py -p /usr/local/epics opi/*.edl
Reads all .edl files in /usr/local/epics/opi, and writes .ui files in the same directory. The filenames will match the input filenames; that is, if a file /usr/local/epics/opi/linac.edl exists, /usr/local/epics/opi/linac.ui will be written.
Forcing use of caQtDM Widgets:
python dmtoqt.py -f caQtDM linac.edl
Reads linac.edl from the current directory, and writes linac.ui. Only caQtDM widgets will be used. (CAUTION: caQtDM is not fully supported as of this writing)
Using multiple frameworks:
python dmtoqt.py -f caQtDM EpicsQt linac.edl
Reads linac.edl from the current directory, and writes linac.ui. Widgets will be EpicsQt or caQtDM, depending on which framework is most suitable for the input EDM widget. (CAUTION: Since caQtDM is not fully supported, this may not always provide optimal results.)
Metadata
Release files for dmtoqt 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dmtoqt-1.0.0.tar.gz | 78.7 kB | Without provenance | Details for dmtoqt-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dmtoqt-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for dmtoqt-1.0.0-py2.py3-none-any.whl |
Total release size: 95.6 kB
Release files / dmtoqt-1.0.0.tar.gz
| Download URL | dmtoqt-1.0.0.tar.gz |
|---|---|
| Size | 78.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9cbc5e85cbe579e5f0c9bea5324c0d5cd6dce2133197880538a257d139f2b8f5
|
|
BLAKE2b-256 checksum How to use checksums |
9a592e9c22932bf15b4b13155f0f78f5c1860b16693ac9b3a787c50f01d5bd26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / dmtoqt-1.0.0-py2.py3-none-any.whl
| Download URL | dmtoqt-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a3b152f194a03842380e768ab2c3f505e780084b71632c6076bfec2988f1a395
|
|
BLAKE2b-256 checksum How to use checksums |
5e5972bd6b988ac8dff4deff6357ee569863ecd160515350383ef0ec8f1096b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dmtoqt 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.