Now , I'm @ QT Design then I create a normal widget ,add ctrls into it.
I make the previous step 4 times . So now I've 4 .UIs that have there own ctrls into it .
To Each UI, I create its (.h + .cpp ) to implement my own slots .
Well now I open ,using QT Design ,the 1st .ui I 've made & Drag & Drop Widget into it , which is located into Container Section .
The Problem : is how to make other .UIs open into the widget I created @ the 1st .ui I 've made .


The standard way that shows each .UI separately, wrks fine by :
Qt Code:
  1. // CustomSlot2 implements the slots inside the 2nd .UI
  2. CustomSlot2* widget = new CustomSlot2();
  3. widget->setAttribute(Qt::WA_DeleteOnClose);
  4. widget->show();
To copy to clipboard, switch view to plain text mode 

CustomSlot2 Constructor's Code is :
Qt Code:
  1. CustomSlot2::CustomSlot2(QWidget *parent): QWidget(parent)
  2. {
  3. formTwo.setupUi(this);
  4.  
  5. }
To copy to clipboard, switch view to plain text mode 

So far so Good . However , by making this approach there's a flicker when you Open & Hide/Close Windows .

The MainWindow's header file generated by "make" :

Qt Code:
  1. class Ui_MainForm
  2. {
  3. public:
  4. QPushButton *btnProcess;
  5. QLineEdit *txtInput;
  6. QLineEdit *txtResult;
  7. QPushButton *btnNext;
  8. QWidget *widget;
  9. //........................ etc
To copy to clipboard, switch view to plain text mode 

Thanks .