PDA

View Full Version : Remove Help option



bismitapadhy
15th June 2009, 12:26
I created a class which is derived from QDialog. In my dialog both help and close option is there. I dont want to keep or disable the help option which is a shown in fig. I want to keep onlu close option. Help me how to do?

jpn
15th June 2009, 13:06
http://doc.qtsoftware.com/4.5/widgets-windowflags.html

bismitapadhy
15th June 2009, 13:18
http://doc.qtsoftware.com/4.5/widgets-windowflags.htmlI already show this example. It is setting the flags for all the checkbox. For only one help check box is it required to write all those thing, any simple way for this? I need only for disabling help check box.

aamer4yu
15th June 2009, 13:43
I already show this example. It is setting the flags for all the checkbox. For only one help check box is it required to write all those thing, any simple way for this?
All the check boxes are for your convenience. When you find the right combination, you can copy the flag settings that appear in the dialog and set it on ur dialog with setWindowFlags();
You are not supposed to rewrite the whole example :P

bismitapadhy
15th June 2009, 14:23
All the check boxes are for your convenience. When you find the right combination, you can copy the flag settings that appear in the dialog and set it on ur dialog with setWindowFlags();
You are not supposed to rewrite the whole example :PsetWindowFlags();giving unexpected result and i want to remove that check box,here there is option to set help option, but i didn't found anything to remove help button.