NCGGUI and QtDragon
12 Feb 2023 20:19 #264382
by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
great.You could also add the path where the M110 was originally to SUBROUTINE_PATH
Please Log in or Create an account to join the conversation.
12 Feb 2023 20:23 #264384
by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
ok, back. 2 more smallish problems....
I cannot get the overall dragon screen location option to work. I've tried lots of variations.
.....DISPLAY = qtvcp -d -g 1600x1200+0+0 dragon -u dragon_handler.py
my 'dragon' panel is slightly resizeable. that is the largest is can get. no matter what I try, it still opens in it's smallest size in the upper right of the monitor. Any clue???
also, recall that I start up a small ferror panel via the post_gui hal file. it works good. i like it.
but it does not close when I close linuxcnc. I have to close it seperately with the X button, then it throw an error.
see the image.
I cannot get the overall dragon screen location option to work. I've tried lots of variations.
.....DISPLAY = qtvcp -d -g 1600x1200+0+0 dragon -u dragon_handler.py
my 'dragon' panel is slightly resizeable. that is the largest is can get. no matter what I try, it still opens in it's smallest size in the upper right of the monitor. Any clue???
also, recall that I start up a small ferror panel via the post_gui hal file. it works good. i like it.
but it does not close when I close linuxcnc. I have to close it seperately with the X button, then it throw an error.
see the image.
Attachments:
Please Log in or Create an account to join the conversation.
12 Feb 2023 20:46 #264385
by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
QtDragon should remember the size and location of the window automatically without using -g - if it doesn't, that sounds like a preference file problem or a customization problem.
-m or -f should work too
I do believe the other error is fixed already - but I'll check. yep it's fixed. I guess your version is behind the source.
-m or -f should work too
I do believe the other error is fixed already - but I'll check. yep it's fixed. I guess your version is behind the source.
The following user(s) said Thank You: Roguish
Please Log in or Create an account to join the conversation.
12 Feb 2023 21:20 #264387
by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
Preference file? what should be in that?
I see under [SCREEN_OPTIONS] there is mainwindow_geometry = xxxxxx
What should that be?
If I delete that specific line, will it regenerate? or be overridden?
I see under [SCREEN_OPTIONS] there is mainwindow_geometry = xxxxxx
What should that be?
If I delete that specific line, will it regenerate? or be overridden?
Please Log in or Create an account to join the conversation.
12 Feb 2023 21:28 #264389
by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
If you hand edit the preference file - the screen must not be running or it will be overridden when the screen closes.
If you remove the line, it will regenerate.
I believe the line represents x,y,width,height
If you remove the line, it will regenerate.
I believe the line represents x,y,width,height
The following user(s) said Thank You: Roguish
Please Log in or Create an account to join the conversation.
12 Feb 2023 22:58 #264392
by persei8
Replied by persei8 on topic NCGGUI and QtDragon
Right. There should be a = sign between them. The INI is right, I just said it wrong.
The following user(s) said Thank You: Roguish
Please Log in or Create an account to join the conversation.
13 Feb 2023 00:29 #264396
by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
Chris,
ok I think i see what's up.
this is the last out of the pref file. I shut down dragon first, then my ferror panel.
if the numbers are as you mention, it's writing the info from the ferror panel..not the main dragon panel.
next time I run I will shut down the ferror panel before the main dragon, and see what happens....
[SCREEN_OPTIONS]
mainwindow_geometry = 1664 67 248 440
ok I think i see what's up.
this is the last out of the pref file. I shut down dragon first, then my ferror panel.
if the numbers are as you mention, it's writing the info from the ferror panel..not the main dragon panel.
next time I run I will shut down the ferror panel before the main dragon, and see what happens....
[SCREEN_OPTIONS]
mainwindow_geometry = 1664 67 248 440
Please Log in or Create an account to join the conversation.
13 Feb 2023 00:33 #264397
by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
I am currently using a deb from Seb's buildbot2 repository. date:
linuxcnc-uspace_2.10.0~pre0.486.g7abb824bf_amd64.deb
are you and Jim (persei8) pushing to 2.9 or 2.10 or where/???
linuxcnc-uspace_2.10.0~pre0.486.g7abb824bf_amd64.deb
are you and Jim (persei8) pushing to 2.9 or 2.10 or where/???
Please Log in or Create an account to join the conversation.
13 Feb 2023 00:53 #264398
by cmorley
Well that's interesting. Does your panel has a screen_options widget?
You can control it's preference file from there.
Replied by cmorley on topic NCGGUI and QtDragon
Chris,
ok I think i see what's up.
this is the last out of the pref file. I shut down dragon first, then my ferror panel.
if the numbers are as you mention, it's writing the info from the ferror panel..not the main dragon panel.
next time I run I will shut down the ferror panel before the main dragon, and see what happens....
[SCREEN_OPTIONS]
mainwindow_geometry = 1664 67 248 440
Well that's interesting. Does your panel has a screen_options widget?
You can control it's preference file from there.
The following user(s) said Thank You: Roguish
Please Log in or Create an account to join the conversation.
13 Feb 2023 00:58 #264399
by cmorley
I push to the linuxcnc github repo 2.9 and merge up to master.
I'm not sure of the details of Sebs buildbot2 - do you have the link?
Replied by cmorley on topic NCGGUI and QtDragon
Jim works in a private repo.I am currently using a deb from Seb's buildbot2 repository. date:
linuxcnc-uspace_2.10.0~pre0.486.g7abb824bf_amd64.deb
are you and Jim (persei8) pushing to 2.9 or 2.10 or where/???
I push to the linuxcnc github repo 2.9 and merge up to master.
I'm not sure of the details of Sebs buildbot2 - do you have the link?
The following user(s) said Thank You: Roguish
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.099 seconds