Reputation: 249
I am calling a QDialog on a click event of a QPushButton. I want to execute that dialog as a Qt::Sheet or Qt::Drawer. For this i am using exec()
int Qdialog::exec();
method but it executes it as a popup dialog instead of Qt::Sheet or Qt::Drawer. I have also tried show method,
void Qdialog::show();
it works fine but here my problem is, its return type is void and my further working depends on its return type like exec() method. thanks.
Upvotes: 0
Views: 314