extend the LoadFile parameter
Posted: Sun Feb 07, 2021 2:58 pm
Hello Daniel,
I am author of that qJsonRPC plugin that has "open" function to open files.
Now a user has problems to open bundler ".out" files silently.
The problems is that the import dialogue has input for additional filelist filename.
But if that can not be changed that lead to potential errors on importing.
My idea is to extend the FileIOFilter::LoadParameters by additional QHash<QString, QVariant>.
In that way I could extend the functionality of the actual import function by passing additional parameter without changing the API.
What do you thing?
Regards, Adib.
--
I am author of that qJsonRPC plugin that has "open" function to open files.
Now a user has problems to open bundler ".out" files silently.
The problems is that the import dialogue has input for additional filelist filename.
But if that can not be changed that lead to potential errors on importing.
My idea is to extend the FileIOFilter::LoadParameters by additional QHash<QString, QVariant>.
In that way I could extend the functionality of the actual import function by passing additional parameter without changing the API.
What do you thing?
Regards, Adib.
--