madponyinteractive / madqt Goto Github PK
View Code? Open in Web Editor NEWTutorials and Tools for PyQt and PySide
License: MIT License
Tutorials and Tools for PyQt and PySide
License: MIT License
Hey there first of all thanks for all the videos and this plugin.
I believe I have successfully installed the plug in shown below:
eddie@DeusXMachina:~$ pip install MadQt
Defaulting to user installation because normal site-packages is not writeable
Collecting MadQt
Downloading MadQt-0.0.31-py3-none-any.whl (188 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 188.3/188.3 KB 7.8 MB/s eta 0:00:00
Collecting pyinstaller>=4.7
Downloading pyinstaller-5.1-py3-none-manylinux2014_x86_64.whl (547 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 547.4/547.4 KB 15.2 MB/s eta 0:00:00
Collecting PySide6>=6.0.0
Downloading PySide6-6.3.1-cp36-abi3-manylinux_2_28_x86_64.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.9/65.9 KB 14.7 MB/s eta 0:00:00
Requirement already satisfied: Pillow>=8.3.0 in /usr/lib/python3/dist-packages (from MadQt) (9.0.1)
Collecting altgraph
Downloading altgraph-0.17.2-py2.py3-none-any.whl (21 kB)
Collecting pyinstaller-hooks-contrib>=2021.4
Downloading pyinstaller_hooks_contrib-2022.7-py2.py3-none-any.whl (234 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 234.3/234.3 KB 20.5 MB/s eta 0:00:00
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from pyinstaller>=4.7->MadQt) (59.6.0)
Collecting shiboken6==6.3.1
Downloading shiboken6-6.3.1-cp36-abi3-manylinux_2_28_x86_64.whl (227 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 227.5/227.5 KB 15.2 MB/s eta 0:00:00
Collecting PySide6-Addons==6.3.1
Downloading PySide6_Addons-6.3.1-cp36-abi3-manylinux_2_28_x86_64.whl (120.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.1/120.1 MB 20.5 MB/s eta 0:00:00
Collecting PySide6-Essentials==6.3.1
Downloading PySide6_Essentials-6.3.1-cp36-abi3-manylinux_2_28_x86_64.whl (76.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.1/76.1 MB 28.3 MB/s eta 0:00:00
Installing collected packages: altgraph, shiboken6, pyinstaller-hooks-contrib, PySide6-Essentials, pyinstaller, PySide6-Addons, PySide6, MadQt
Successfully installed MadQt-0.0.31 PySide6-6.3.1 PySide6-Addons-6.3.1 PySide6-Essentials-6.3.1 altgraph-0.17.2 pyinstaller-5.1 pyinstaller-hooks-contrib-2022.7 shiboken6-6.3.1
Next I ran the manager command and got the following error. Any insight would be helpful. I am using this on latest Ubuntu
eddie@DeusXMachina:~$ MadQtProjectManager
Traceback (most recent call last):
File "/home/eddie/.local/bin/MadQtProjectManager", line 8, in <module>
sys.exit(main())
File "/home/eddie/.local/lib/python3.10/site-packages/MadQt/scripts/ProjectManager.py", line 5, in main
subprocess.check_output(["python","main.py"])
File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.10/subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1842, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'python'
I am also unsure how to make Qt Designer see the plugins. I have looks through the MadQt directories and I see some python files in ther, im not sure if maybe i should be copying these into some path that QT designer searches for
drwxrwxr-x 5 eddie eddie 4096 Jun 18 22:57 ./
drwxrwxr-x 10 eddie eddie 4096 Jun 18 22:57 ../
drwxrwxr-x 3 eddie eddie 4096 Jun 18 22:57 expander/
drwxrwxr-x 3 eddie eddie 4096 Jun 18 22:57 hover_text_button/
-rw-rw-r-- 1 eddie eddie 3965 Jun 18 22:57 __init__.py
drwxrwxr-x 2 eddie eddie 4096 Jun 18 22:57 __pycache__/
-rw-rw-r-- 1 eddie eddie 4530 Jun 18 22:57 register_all.py
eddie@DeusXMachina:~/.local/lib/python3.10/site-packages/MadQt/QtDesignerPlugins$
Traceback (most recent call last):
File "c:\Users\Sayed\AppData\Local\Programs\Python\Python311\qresource\MadQt-0.0.31\setup.py", line 3, in
with open("README.md", "r", encoding="utf-8") as fh:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
I changed the file path and that is an error again
ps/python3.11.exe c:/Users/Sayed/AppData/Local/Programs/Python/Python311/qresource/MadQt-0.0.31/setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
How can I share Qt Designer Custom Widget plugins?
It should have executable choosing settings insteed of folder choosing for qt ui designer path settings.
For example I want to set it like D:\Python39\Scripts\pyside6-designer.exe
In this dark theme we can not see text
I dont know why but it seems like newer version of MadQt Plugin cannot export custom XML into either .ui or python code. I checked the .ui file using notepad and there is no xml properties which related to hovering. Same with my custom stylesheet for my custom widget, it didnt exported. Can I somehow export custom XML or python code to .ui or final python code? And btw, I cannot see the python code in pyside6-designer because it always gives me error cannot find ui file in bin folder or permission denied, so I have to open it in qt-designer instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.