A collection of utility programs for PyQt5 development.
pip install qtilities
git clone https://github.com/pylipp/qtilities cd qtilities make install
Python QML Previewer and Client
pqp previews QML components and continuously updates while you're editing the source code.
Launch an empty previewer:
Launch the previewer displaying one or more components by providing the paths:
> pqp TextFoo.qml bar/ComboBaz.qml
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.
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.
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
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.
qmltags overwrites a
tags file in the current working directory if it exists.
Basic Python port of the
Run with a QML file holding an arbitrary component as argument:
> pyqmlscene MyComponent.qml