Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QtMaterialDialog: dialog is invisible without calling QWidget::show() #31

Open
ZimNovich opened this issue Jan 22, 2018 · 1 comment
Open

Comments

@ZimNovich
Copy link

When I am instantiating an object of QtMaterialDialog class, the dialog becomes visible only after calling QWidget's show() method:

// Show Preferences
QtMaterialDialog* prefs = new QtMaterialDialog(this);
// Adding child objects and stuff
. . .
prefs->setWindowLayout(dialogLayout);
prefs->show(); // This call is necessary (!)
prefs->showDialog();
@iAsiby
Copy link

iAsiby commented Dec 11, 2024

I also encountered this problem, but I don't know if it can be solved through this method. Thank you for providing the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants