dear friends
i am working on Qt3.3.
I want to disable the close button as well as minimize button in my main window.
what is the code i shud write??
dear friends
i am working on Qt3.3.
I want to disable the close button as well as minimize button in my main window.
what is the code i shud write??
Does setWindowFlags(Qt::WindowTitleHint) work for you ??
Dear friend,
i am using Qt3.3
SO i dont thick the above function exists.
The above piece code worked fine for my Qt4.3. application. But
I need a function that exists in Qt3.3
ok bye
Qt doesn't provide a way to disable (ie. gray out) the close button. See this thread for a Windows specific solution: http://www.qtcentre.org/forum/f-qt-p...alog-9348.html. It's for Qt 4 but the same approach should with Qt 3 as well (QWidget::winId() is available in Qt 3 too).
J-P Nurmi
Bookmarks