Couple of qtpyvcp questions
23 Aug 2019 17:29 #142984
by persei8
Replied by persei8 on topic Couple of qtpyvcp questions
Unfortunately, I don't think qtvcp and qtpyvcp can coexist. I cannot get designer -qt=5 to work but editvcp works just fine. What I did is create a GUI within an environment as defined at qtpyvcp.kcjengr.com/index.html. I do not see any signals called percentDone for the gcode editor widget. However, your reply has given me the means to make some progress. To make a periodic timer, I use :
from PyQt5.QtCore import QTimer
class (blah blah)
self.timer = QTimer()
self.timer.timeout.connect(self.handleTimer)
self.timer.start(1000)
def handleTimer(self):
etc.
On to the next problem.
from PyQt5.QtCore import QTimer
class (blah blah)
self.timer = QTimer()
self.timer.timeout.connect(self.handleTimer)
self.timer.start(1000)
def handleTimer(self):
etc.
On to the next problem.
Please Log in or Create an account to join the conversation.
23 Aug 2019 17:34 #142985
by cmorley
Replied by cmorley on topic Couple of qtpyvcp questions
Ahh yes you are using qtpyvcp.
Qtpyvcp doesn't use gobject.
Glad I could off handily help![:) :)](/media/kunena/emoticons/smile.png)
Chris
Qtpyvcp doesn't use gobject.
Glad I could off handily help
![:) :)](/media/kunena/emoticons/smile.png)
Chris
Please Log in or Create an account to join the conversation.
23 Aug 2019 20:38 #143008
by BigJohnT
That's the 2.7 documents, To select a different version you have to go to the main LinuxCNC page and select Documents to view the selections for current documents or Archives for past versions.
JT
Replied by BigJohnT on topic Couple of qtpyvcp questions
Hey John when I visit this page:
linuxcnc.org/docs/
One can not select 2.8 docs.
Chris
That's the 2.7 documents, To select a different version you have to go to the main LinuxCNC page and select Documents to view the selections for current documents or Archives for past versions.
JT
Please Log in or Create an account to join the conversation.
23 Aug 2019 20:49 #143009
by persei8
Replied by persei8 on topic Couple of qtpyvcp questions
While the timer works, it's not the way to go. Your other suggestion is the one I am trying to implement. Is there a way to read the total number of lines contained in the gcode editor? I cannot find any documentation regarding gcode editor signals.
Please Log in or Create an account to join the conversation.
24 Aug 2019 01:36 #143024
by cmorley
It is the page to select which version of docs you wish to see.
Chris
Replied by cmorley on topic Couple of qtpyvcp questions
Did you actual check the link I posted?
Hey John when I visit this page:
linuxcnc.org/docs/
One can not select 2.8 docs.
Chris
That's the 2.7 documents, To select a different version you have to go to the main LinuxCNC page and select Documents to view the selections for current documents or Archives for past versions.
JT
It is the page to select which version of docs you wish to see.
Chris
Please Log in or Create an account to join the conversation.
24 Aug 2019 01:38 #143025
by cmorley
So you are using qtpyvcp - this is a completely different project base then qtvcp.
They are very similar but not compatible.
So my suggestion to you is useless.
I don't know much about qtpyvcp - it's developed outside of linuxcnc.
Chris
Replied by cmorley on topic Couple of qtpyvcp questions
While the timer works, it's not the way to go. Your other suggestion is the one I am trying to implement. Is there a way to read the total number of lines contained in the gcode editor? I cannot find any documentation regarding gcode editor signals.
So you are using qtpyvcp - this is a completely different project base then qtvcp.
They are very similar but not compatible.
So my suggestion to you is useless.
I don't know much about qtpyvcp - it's developed outside of linuxcnc.
Chris
Please Log in or Create an account to join the conversation.
24 Aug 2019 02:07 #143029
by persei8
Replied by persei8 on topic Couple of qtpyvcp questions
Yeah I figured out they were incompatible. However, I am so far into it now that I do not want to switch over. Anyway, it turns out I do need the timer because if you update the progress bar too quickly, it causes a segmentation fault. I now have the progress bar working so you will not hear any more about it.
And your suggestions are far from useless. Even the smallest hint can be used to start down the right path to a solution. Thank you.
![:) :)](/media/kunena/emoticons/smile.png)
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
28 Aug 2019 20:33 #143473
by andypugh
How dod you get there?
linuxcnc.org/documents/
Seems to work.
linuxcnc.org/docs/
Doesn't work. Did you use an old bookmark?
Replied by andypugh on topic Couple of qtpyvcp questions
It is the page to select which version of docs you wish to see.
How dod you get there?
linuxcnc.org/documents/
Seems to work.
linuxcnc.org/docs/
Doesn't work. Did you use an old bookmark?
Please Log in or Create an account to join the conversation.
28 Aug 2019 20:39 #143475
by cmorley
Replied by cmorley on topic Couple of qtpyvcp questions
yes - and it gives more options - all docs are available
linuxcnc.org/docs works for me other then 2.8 is missing.
Thanks for looking into it.
Chris
linuxcnc.org/docs works for me other then 2.8 is missing.
Thanks for looking into it.
Chris
Please Log in or Create an account to join the conversation.
29 Aug 2019 23:16 #143616
by BigJohnT
The linuxcnc.org/docs is the current stable release with no options to view any other versions. To view all the documents you have to go to linuxcnc.org and start from there.
JT
Replied by BigJohnT on topic Couple of qtpyvcp questions
yes - and it gives more options - all docs are available
linuxcnc.org/docs works for me other then 2.8 is missing.
Thanks for looking into it.
Chris
The linuxcnc.org/docs is the current stable release with no options to view any other versions. To view all the documents you have to go to linuxcnc.org and start from there.
JT
Please Log in or Create an account to join the conversation.
Time to create page: 0.153 seconds