hello friends
actually i want to use popwindow instead of messagebox in my app..so i dont know whether there is a facilities of using popup in qt..please anyone suggest me…
regards
rahul
hello friends
actually i want to use popwindow instead of messagebox in my app..so i dont know whether there is a facilities of using popup in qt..please anyone suggest me…
regards
rahul
Hello,
QMessageBox inherits QDialog. You can create your own 'popups' by also deriving a class from QDialog to provide your functionality.
Regards
how that can be done...can u show me with simple example..
first hit in google:
http://www.civilnet.cn/book/embedded...2lev1sec1.html
basically:
Qt Code:
// mydialog.h #include <QDialog> Q_OBJECT public: }; // mydialog.cpp #include "mydialog.h" { }To copy to clipboard, switch view to plain text mode
and then add whatever you want to have in your dialog such as buttons, labels, tableviews, ...
Bookmarks