PDA

View Full Version : adopt Qt example wiggly in MainWindow.ui



alapalap
25th June 2010, 15:25
Hi all!

I am kind of new with qt 4.6.2 .

I want to create wiggly using MainWindow.ui from Qt example code. I'm a little confused because the example program is not a form (UI). Is that possible for me to create wiggly in MainWindow.ui ? What should i do ?

Thank you very much

tbscope
25th June 2010, 18:03
Step 1: Get a good C++ book and start reading and experimenting

Step 2: Now that you have an idea what Object Oriented Programming and C++ is, try to add the wiggly widget to your main window

You just copy and paste the WigglyWidget class to your project, create a new WigglyWidget object and add it to your main window (either as a central widget, or a widget in a layout somewhere)