Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] Remove what's this '?' from QDialog?
-
Hi,
For my About dialog, I created a class using the form class.
It has a '?' button next to close button.
I want to delete that button.
How do I do that?
-
dialog->setWindowFlags(dialog->windowFlags() & ~Qt::WindowContextHelpButtonHint);
-
Hi Chris!
Thank You!!!
It worked like a charm :)
-
I am using creator4.9.2 to disable I used:
setWindowFlag(Qt::WindowContextHelpButtonHint,false);