Сustomization QTvcp

More
6 years 5 months ago #167072 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Do you have a button that uses python command (added in designer) for loading a selected file from file_manager?
The function used to be .load()
try changing it to:

INSTANCE.w.file_manager._getPathActivated()

Currently there is no way to get the progress of file loading.

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

More
6 years 5 months ago - 6 years 5 months ago #167073 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Does not work. If you remove (w) there is no manager.
Attachments:
Last edit: 6 years 5 months ago by hottabich.

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

More
6 years 5 months ago #167074 by cmorley
Replied by cmorley on topic Сustomization QTvcp
What did you have originally?
INSTANCE.file_manager.load() ?

what ever you had change the .load() to ._getPathActivated()

i will fix this problem soon but this will work around it for now.

Chris

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

More
6 years 5 months ago #167075 by hottabich
Replied by hottabich on topic Сustomization QTvcp
INSTANCE.filemanager.load() it beat like that. Thanks for watching, wait.

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

More
6 years 5 months ago #167076 by cmorley
Replied by cmorley on topic Сustomization QTvcp
I'm looking at AXIS progress code but it's complicated and not well documented, not sure if it will make it into 2.8

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

More
6 years 5 months ago - 6 years 5 months ago #167093 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Ok I pushed some work that makes it possible to get a percent signal from the graphics display.

You must connect a signal in designer from the graphics display to the form.
The signal is called percentLoaded
Then make a function in the handler to update your progressbar.

qtaxis shows an example.

You may also connect the signal directly to a progressbar in designer but you will have less control that way.
Last edit: 6 years 5 months ago by cmorley.

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

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