- Posts: 319
- Thank you received: 0
Screen shots of gui designs
3 years 1 month ago #280388
by MarkoPolo
Replied by MarkoPolo on topic Screen shots of gui designs
Try the improved qtdragon.ui file
Please Log in to join the conversation.
- chrisfairbrothern
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
3 years 1 month ago #280391
by chrisfairbrothern
Replied by chrisfairbrothern on topic Screen shots of gui designs
LinuxCNC Version : 2.10.0-pre0-1895-gfb7504789bFirstly, I added on line 4191 some forward slashes to make certain I was using this file. They are still in the qtdragon_2023-09-10.ui you sent me. Sorry about that.
I removed the forward slashes. and I get the error :-Traceback (most recent call last):File "/usr/bin/qtvcp", line 530, in <module>_qtvcp = QTVCP()File "/usr/bin/qtvcp", line 275, in __init__window.instance(filename=self.PATH.XML)File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 200, in instanceinstance = uic.loadUi(filename, self)File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 226, in loadUireturn DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUireturn self.parse(filename, resource_suffix, basedir)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 1013, in parsedocument = parse(filename)File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1197, in parsetree.parse(source, parser)File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 598, in parseself._root = parser._parse_whole(source)File "<string>", line Nonexml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 3
Do I need to update something?
I removed the forward slashes. and I get the error :-Traceback (most recent call last):File "/usr/bin/qtvcp", line 530, in <module>_qtvcp = QTVCP()File "/usr/bin/qtvcp", line 275, in __init__window.instance(filename=self.PATH.XML)File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 200, in instanceinstance = uic.loadUi(filename, self)File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 226, in loadUireturn DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUireturn self.parse(filename, resource_suffix, basedir)File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 1013, in parsedocument = parse(filename)File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1197, in parsetree.parse(source, parser)File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 598, in parseself._root = parser._parse_whole(source)File "<string>", line Nonexml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 3
Do I need to update something?
Please Log in to join the conversation.
3 years 1 month ago #280395
by MarkoPolo
Replied by MarkoPolo on topic Screen shots of gui designs
I only corrected the file you sent me in a few places regarding the size of the icons in the tool table. This file is very old and if you are using the new version 2.10.0-pre0-1895, this file will most likely not work. You need to modify qtdragon.ui from directory /usr/share/qtvcp/screens/qtdragon , you can upload it and I will modify it.
Marek
Marek
Please Log in to join the conversation.
- chrisfairbrothern
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
3 years 1 month ago #280413
by chrisfairbrothern
Replied by chrisfairbrothern on topic Screen shots of gui designs
Hi Marek, I thought Qtdragon would update with linuxcnc as it a display for linuxcnc?
Rather than waste your time, I will update my Qtdragon to the latest version, then when I have it working ok, I will upload it for you to modify.
Many thanks
Chris
Rather than waste your time, I will update my Qtdragon to the latest version, then when I have it working ok, I will upload it for you to modify.
Many thanks
Chris
Please Log in to join the conversation.
3 years 1 month ago #280417
by MarkoPolo
Replied by MarkoPolo on topic Screen shots of gui designs
Yes, update linuxcnc to the latest version and then there will be no such problems.
Please Log in to join the conversation.
3 years 1 month ago #280419
by cmorley
Replied by cmorley on topic Screen shots of gui designs
Please open a specific topic for on going work.
The idea here is just to show screen ideas.
A few questions are fine.
The idea here is just to show screen ideas.
A few questions are fine.
Please Log in to join the conversation.
2 years 9 months ago #291451
by persei8
Replied by persei8 on topic Screen shots of gui designs
I've been updating QtDragon to the next version. There are several new features compared to the previous one, such as a sqlite database for tool data and some new utilities. If you would like to try it out, it's at
github.com/persei802/QtDragon_hd
. The files here are for simulation only so you will have to provide the proper ini and hal files for your machine. If you already use QtDragon, the transition should be relatively painless. There is also a tool for assisting in creating style sheets at
github.com/persei802/Qt-Style-Designer
. Please direct all queries, bug reports etc. to github, not this forum. The attached screenshot shows 1 of 4 available styles. Thank you.
Jim
Jim
Please Log in to join the conversation.
2 years 9 months ago #291488
by cmorley
Replied by cmorley on topic Screen shots of gui designs
Wow that looks nice!
Is this master only or 2.9 as well?
Is this master only or 2.9 as well?
Please Log in to join the conversation.
2 years 9 months ago #291531
by persei8
Replied by persei8 on topic Screen shots of gui designs
Good question. I've only ever used the master branch. However, I cloned the master branch VM and to a new VM and installed 2.9.2. Unfortunately, it appears that this qtdragon only works with 2.10. I could probably make a version that works with 2.9, but that's another project.
Jim
Jim
Please Log in to join the conversation.
- MarcoGaspar
- Offline
- Premium Member
-
Less
More
- Posts: 90
- Thank you received: 0
2 years 8 months ago #293507
by MarcoGaspar
Replied by MarcoGaspar on topic Screen shots of gui designs
#MarkoPolo Can you share your files?
Please Log in to join the conversation.
Time to create page: 0.269 seconds
