tomography / XRFtomo

a repository for xray fluorescence data processing
Other
3 stars 6 forks source link

Made new Directory/file widget for selecting files and element #4

Closed aglowacki closed 6 years ago

aglowacki commented 6 years ago

The widget only opens and displays the file names and elements. It is not connected to the rest of the app yet so the image widget will not show elements.

decarlof commented 6 years ago

I suggest to also rename some of the functions in the spirit of simplify/shorten them. For example:

xfluo/file_io/aps_alignment_io.py => xfluo/file_io/alignment.py

xfluo/models/element_table_model.py => xfluo/models/element_table.py

xfluo/widgets/file_table_widget.py => xfluo/widgets/file_widget.py

xfluo/xfluo_gui.py => xfluo/gui.py

etc.

aglowacki commented 6 years ago

I renamed the xfluo_gui.py, file_table_widget.py, and aps_alignment_io.py. I think we should keep elements_table_model.py for now because it is only for QTableViews and element_model is to generic. I also added in auto complete for theta line edit. It is read in from xfluo_config.json .