Create a matrix from a .csv file
- 
@AliM93 
 yes, i though we add it to your main ui to see its working ?Its same project still, correct ? 
- 
Yes you can add to a dialog the same way as to any other UI :) To use your custom widget. 
 Go to your main window ui file and open it
 place a normal Qwidget on the form
 RIGHt click it
  
 and choose promote toThen in the new window , fillin the class name  
 nake SURE to spell it as shown in file!
 MatrixWidget for "class name"
 Case matters!now press ADD 
 then Press Promote.When you run the app, our custom widget will be shown instead of the plain one we added. 
- 
@AliM93 said in Create a matrix from a .csv file: Add a normal QWidget to may main_window No, not if you want to use the dialog. 
- 
Again, select the File New as when we made the widget.  Choose Designer Form class Then choose a dialog  Give it a good name 
  Press NExt, NExt Now you have this and you add a QWidget to it and promote it. 
  
- 
Again, select the File New as when we made the widget.  Choose Designer Form class Then choose a dialog  Give it a good name 
  Press NExt, NExt Now you have this and you add a QWidget to it and promote it. 
  
- 
Hi 
 Nope. When you use promotion, Creator adds the needed included. You tell it what file
 in the promotion dialog. ( look at image)
 and after you promoted it. 
 Then right click outside the widget and add a layout so our widget follow size of dialog automatically 
- 
Hi 
 Nope. When you use promotion, Creator adds the needed included. You tell it what file
 in the promotion dialog. ( look at image)
 and after you promoted it. 
 Then right click outside the widget and add a layout so our widget follow size of dialog automatically 
 
