Qwidget as modal
I have a Qwidget window which i m displaying on click of button.
I want to make this QWidget window as modal how to do this.
Below is my piece of code which gets called when i click button.
@ Myobj *obj1 = new Myobj();
@class Myobj: public QWidget
Myobj(QWidget *parent = 0);
in MyObj's constructor does not work?