- Posts: 79
- Thank you received: 0
Auto-populate Tabs in Qtdragon NGCGUI?
4 years 2 months ago #248859
by Eyecon
Auto-populate Tabs in Qtdragon NGCGUI? was created by Eyecon
Hello,
Not sure if I'm missing something or if this feature is just not implemented yet: using NGCGUI_SUBFILE in the INI file doesn't seem to work with the qtvcp version of NGCGUI. I looked at the ngcgui class constructor in the python module and I don't see where ini settings are being read but I could be wrong as I'm not sure how this is all supposed to work. Am I missing something?
Not sure if I'm missing something or if this feature is just not implemented yet: using NGCGUI_SUBFILE in the INI file doesn't seem to work with the qtvcp version of NGCGUI. I looked at the ngcgui class constructor in the python module and I don't see where ini settings are being read but I could be wrong as I'm not sure how this is all supposed to work. Am I missing something?
Please Log in to join the conversation.
4 years 2 months ago #248889
by cmorley
Replied by cmorley on topic Auto-populate Tabs in Qtdragon NGCGUI?
It doesn't look like Qts version looks for NGCGUI_SUBFILE.
It looks for SUBROUTINE_PATH under the RS274NGC heading.
I take it NGCGUI looks in NGCGUI_SUBFILE?
I'm sure that can be added.
It looks for SUBROUTINE_PATH under the RS274NGC heading.
I take it NGCGUI looks in NGCGUI_SUBFILE?
I'm sure that can be added.
Please Log in to join the conversation.
4 years 2 months ago #248890
by Eyecon
Replied by Eyecon on topic Auto-populate Tabs in Qtdragon NGCGUI?
Yes according to the ngcgui docs and that’s how pyngcgui works in other UIs. I have subroutine path properly defined in my INI but I’m not sure it does anything. Even the qtdragon sim files have the path defined but nothing seems to load by default.
Please Log in to join the conversation.
4 years 2 months ago #249715
by persei8
Replied by persei8 on topic Auto-populate Tabs in Qtdragon NGCGUI?
I will look into adding auto population of tabs to qtdragon. Thanks for the feedback.
Jim
Jim
Please Log in to join the conversation.
4 years 2 months ago #249723
by Eyecon
Replied by Eyecon on topic Auto-populate Tabs in Qtdragon NGCGUI?
I already contributed the code and Chris was kind enough to clean it up and integrate it into master
Please Log in to join the conversation.
4 years 2 months ago #249730
by persei8
Replied by persei8 on topic Auto-populate Tabs in Qtdragon NGCGUI?
Yes, but I'm going to add it to my github source which Chris has stated that he will eventually use to update the sim configuration.
Please Log in to join the conversation.
Time to create page: 0.787 seconds
