remi icon indicating copy to clipboard operation
remi copied to clipboard

Cannot find FileUploader in the Editor

Open generalizedeigenvector opened this issue 6 years ago • 5 comments

I am trying the create a simple GUI the way I used to do in MATLAB's GUIDE in the Remi Editor and I cannot fine the FileUploader in the widgets bank on the left.

Surely I am missing something very basic here?

generalizedeigenvector avatar Jan 13 '20 14:01 generalizedeigenvector

Hello @generalizedeigenvector , The FileUploader is still not present in the editor side bar. You can add it by code. Thank you for reporting, I will add it to the editor soon.

dddomodossola avatar Jan 13 '20 14:01 dddomodossola

Thanks, that would be extremely helpful.

generalizedeigenvector avatar Jan 13 '20 16:01 generalizedeigenvector

Not sure I know how to do this correctly by code, actually. The files generated by the Editor have a construct_ui() function that it is expressly forbidden to modify because it gets overwritten all the time. On the other hand the widgets_overview_app.py example puts all the layout into the main() function of the class. Should I mix the two methods?

Graphical editing is the best...

generalizedeigenvector avatar Jan 13 '20 16:01 generalizedeigenvector

Once the graphical editing is done you can remove the contruct_ui and use the main function. BUT if you consider to reload the file with the editor, than you must not remove construct_ui. Construct_ui is only required by the editor to properly reload the project.

dddomodossola avatar Jan 13 '20 16:01 dddomodossola

@generalizedeigenvector I added the FileUploader to the Editor. I had no time to make an icon for it, but however it works. ;-)

dddomodossola avatar Jan 14 '20 07:01 dddomodossola