This should be a widget for the custom file table in the project class. The widget should be placed in the associated tab and should be laid out similar to the mock below.
The path column should not be shown in the table but the filename should show the full path of the file which should be split up appropriately when saving the project. The language should use the appropriate enums from RATapi
In edit mode the filename column should use a file selector to pick the file as shown
The last column should contain an "edit file" button when the language is not Cpp. Clicking the button should open the file in the appropriate editor i.e. Matlab files should be opened using matlab engine engine.edit('file.m') whereas a python should be opened in a custom editor which can easily be written using QScintilla. It could be possible to provide an option to use any specified editor the user has installed on their machine but this can be a future issue.
This should be a widget for the custom file table in the project class. The widget should be placed in the associated tab and should be laid out similar to the mock below.
engine.edit('file.m')
whereas a python should be opened in a custom editor which can easily be written using QScintilla. It could be possible to provide an option to use any specified editor the user has installed on their machine but this can be a future issue.