setModel used for static creation of object
secDialog secdialog;
secdialog.setModel(true);
secdialog.exec();..........................Execute the secDialog object.
2nd Approach
secDialog *secdialog = new secDialgo(this);
secdialog->show();
------------------
Central widget is plain text widget ...
setCentralWidget(ui->plainTextEdit);
----------------------------
No comments:
Post a Comment