Utilities for PyQt5 development
Project description
# qtilities
A collection of utility programs for PyQt5 development.
## Installation
### From PyPI
pip install qtilities
### From source
git clone https://github.com/pylipp/qtilities
cd qtilities
make install
## Contents
### `pqp` and `pqpc`
> Python QML Previewer and Client
`pqp` previews QML components and continuously updates while you're editing the source code.
#### Start
Launch an empty previewer:
> pqp
Launch the previewer displaying one or more components by providing the paths:
> pqp TextFoo.qml bar/ComboBaz.qml
#### Loading components
Load components by clicking the 'Load' button.
Alternatively you can run the client:
> pqpc HackWindow.qml
It sends one or more component paths via UDP to port 31415. The previewer `pqp` listens to that port and loads the components.
#### Pausing/resuming preview
`pqp` continuously updates, regardless of changes in the source code or not. If you wish to test user interaction functionality of your component, you can pause the preview by clicking the 'Preview' button.
### `qmltags`
> Basic ctags generator for QML components
`qmltags` generates 'class' ctags for custom QML components.
Run without arguments to recursively parse the current directory and its subdirectories for QML files
> qmltags
Alternatively, you can provide one or more paths to QML components:
> qmltags HackWindow.qml screen/*.qml
This assumes that your shell performs file name expansion.
Note that `qmltags` overwrites a `tags` file in the current working directory if it exists.
A collection of utility programs for PyQt5 development.
## Installation
### From PyPI
pip install qtilities
### From source
git clone https://github.com/pylipp/qtilities
cd qtilities
make install
## Contents
### `pqp` and `pqpc`
> Python QML Previewer and Client
`pqp` previews QML components and continuously updates while you're editing the source code.
#### Start
Launch an empty previewer:
> pqp
Launch the previewer displaying one or more components by providing the paths:
> pqp TextFoo.qml bar/ComboBaz.qml
#### Loading components
Load components by clicking the 'Load' button.
Alternatively you can run the client:
> pqpc HackWindow.qml
It sends one or more component paths via UDP to port 31415. The previewer `pqp` listens to that port and loads the components.
#### Pausing/resuming preview
`pqp` continuously updates, regardless of changes in the source code or not. If you wish to test user interaction functionality of your component, you can pause the preview by clicking the 'Preview' button.
### `qmltags`
> Basic ctags generator for QML components
`qmltags` generates 'class' ctags for custom QML components.
Run without arguments to recursively parse the current directory and its subdirectories for QML files
> qmltags
Alternatively, you can provide one or more paths to QML components:
> qmltags HackWindow.qml screen/*.qml
This assumes that your shell performs file name expansion.
Note that `qmltags` overwrites a `tags` file in the current working directory if it exists.
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for qtilities-0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0059cc6a26a1f3a6ebac40bf130ea4c9f37e6dc6812c7354987b9670983ffeb |
|
MD5 | 6077046a9f50478fc56bdbc3cffc6318 |
|
BLAKE2b-256 | a71e26f84b93c5e5b1fe87007af7348b9055db25b34b02988a0e8739b0b16838 |