Сustomization QTvcp

More
6 years 6 months ago #164305 by hottabich
Replied by hottabich on topic Сustomization QTvcp
I am using Linux debian 4.9.0-8-rt-amd64 # 1 SMP PREEMPT RT Debian 4.9.130-2 (2018-10-27) x86_64 GNU / Linux. Linuxcnc 2.8-pre 5649. System Language
translated into English no changes. If you disable last_loaded_program all
working.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago - 6 years 6 months ago #164312 by hottabich
Replied by hottabich on topic Сustomization QTvcp

cmorley wrote: In dialog_widget.py line 532 change to:

Code:
if fname and not return_path: if self.PREFS_: self.PREFS_.putpref('last_file_path', fname, str, 'BOOK_KEEPING') ACTION.OPEN_PROGRAM(fname) STATUS.emit('update-machine-log', 'Loaded: ' + fname, 'TIME') return fname

Should store the program name properly

Chris

All OK!!! You are the best. Thank you very much.
Last edit: 6 years 6 months ago by hottabich.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #164314 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Did you load a program using the dialog after the change?
It has to make a difference.


Actually QtDragin is using 'last_file_path' wrong.
'last file path' in preference file is supposed to not have a filename, it is used to preselect the folder when you open the load dialog.

I'll figure out the proper fix soon
The following user(s) said Thank You: hottabich

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago - 6 years 6 months ago #164315 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Sorry, I hastened to answer All OK!!! The question is closed.
Last edit: 6 years 6 months ago by hottabich.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #164318 by hottabich
Replied by hottabich on topic Сustomization QTvcp
If you can still ask a question. MDITouchy may work in qtdragon or better
delete page. What do you advise?

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #164329 by cmorley
Replied by cmorley on topic Сustomization QTvcp
MDITouchy can work in Qtdragon for sure.
You must code a button to run the MDI command though.

In QtTouchy the cycle start HAL pin will run the MDI command as long as the machine is in MDI mode.

You must decide how you would like to run the command
The following user(s) said Thank You: hottabich

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 7.162 seconds
Powered by Kunena Forum