preview data file

ui and slot to preview first 10 lines of data file