PyGuiSignal. Generate QT GUI and add missing signal handlers to code file.
pip install pyguisignal==0.0.0.8
Simple script that parses source code and files made by Pʏᴜɪᴄ for PʏQᴛ5. It checks signal handlers are present in the source code and adds any missing ones.
pyuic
.import resources_rc
from the dialogues (this only needs to be done once per application and causes problems in projects with subfolders).*.qrc
./*_rc.py
(relative to Resource designer files)./*.py
(relative to Resource designer files)*_designer.ui
./*_designer.py
(relative to Dialogue designer files)../*.py
(relative to Dialogue designer files)yes
import resources_rc
: yes
yes
(sudo) pip install pyguisignal
pyguisignal <path>
<path>
is the directory to scan, but you can also specify a single ui
file if you want.<path>
can be .
<path>
or file at once.You can modify ~/.pyguisignal.json
(in the your home folder) to configure the application.
For convenience, the default ~/.pyguisignal.json
will be written when PʏGᴜɪSɪɢɴᴀʟ is first run.
Full documentation of all settings can be found in configuration.py
.
However, as it's just a simple script, you can could also just edit the source code!
Should work on any system, but it's been tested on:
To avoid configurations for one machine not working on another, PʏGᴜɪSɪɢɴᴀʟ tries to fix the separators (/
) you specify in paths, e.g. swapping /
on Linux with \
on Windows, but this might not work on all systems.
author = martin rusilowicz
host = bitbucket,pypi
url = https://bitbucket.org/mjr129/pyguisignal
licence = https://www.gnu.org/licenses/agpl-3.0.html
language = python3
type = application,cli
keywords = pyqt,pyqt5,qt,python,gui,code,pyuic,pycharm,pylint
folder = programming