hi,
I am using QT 3.3 and i need to remove the maximize and minimize options from the upper right corner on the title bar in the widgets that i am using.
Please help me out!!
Thank you,
Regards,
Bera.
hi,
I am using QT 3.3 and i need to remove the maximize and minimize options from the upper right corner on the title bar in the widgets that i am using.
Please help me out!!
Thank you,
Regards,
Bera.
set Qt::WType_Dialog flag in the constructor
Thanks for your quick reply......Actually i forgot to mention that i need to remove the maximize and minimize options from a QMainwindow's title bar and not from a dialog. As per our application, after a login screen, mainwindow needs to be shown. If i use WTYPE_DIALOG flag in the mainwindow's constructor, the Mainwindow is not being shown at all. If i dont use this flag, by default WTYPE_TOPLEVEL flag will be considred and Mainwindow will be shown with max and min options. So, i am stuck here. So,please help me out.
Thanks in advance.
try
Qt::WTYPE_TOPLEVEL | Qt::WType_Dialog
Bookmarks