Auto-populate Tabs in Qtdragon NGCGUI?
- Eyecon
- Offline
- Senior Member
Less
More
- Posts: 79
- Thank you received: 17
02 Aug 2022 18:28 #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 or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7762
- Thank you received: 2055
03 Aug 2022 01:28 #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 or Create an account to join the conversation.
- Eyecon
- Offline
- Senior Member
Less
More
- Posts: 79
- Thank you received: 17
03 Aug 2022 01:49 #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 or Create an account to join the conversation.
- persei8
- Offline
- Platinum Member
Less
More
- Posts: 386
- Thank you received: 121
14 Aug 2022 14:26 #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 or Create an account to join the conversation.
- Eyecon
- Offline
- Senior Member
Less
More
- Posts: 79
- Thank you received: 17
14 Aug 2022 15:41 #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
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- persei8
- Offline
- Platinum Member
Less
More
- Posts: 386
- Thank you received: 121
14 Aug 2022 16:54 #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.
The following user(s) said Thank You: tommylight, Eyecon
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.054 seconds