I dont know how this works..
but it works...
Qt Code:
window.setWindowTitle("Hello abc"); window.show();To copy to clipboard, switch view to plain text mode
By the way what workaround you tried ? I would like to know
I dont know how this works..
but it works...
Qt Code:
window.setWindowTitle("Hello abc"); window.show();To copy to clipboard, switch view to plain text mode
By the way what workaround you tried ? I would like to know
Hi...
I tried on QWidget by setting the fixed size for the widget something like this..
Qt Code:
QWidget w; w.setFixedSize(int x, int y)To copy to clipboard, switch view to plain text mode
This is will diable the maximize contoll on the application...
In the same way i want then not be visible on the title bar
Regards
Which Qt version are you using?
Using Qt 3.3.3 version on X11
Regards
by the way,
isnt QMainWindow window(0,Qt::WindowTitleHint); working for you ?
Your option code is not working with Qt 4. I want this to done on Qt 3 and now i am checking in both version of Qt.
Regards
I dont know abt Qt 3,
I am using Qt 4.2
But I am just setting the windows flags of the QMainWindow constructor.
I see the Qt 3 version has const char* as second parameter.
Just set the Qt::WindowTitleHint parameter for Qt::WindowsFlagsQ3MainWindow::Q3MainWindow ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = Qt::WType_TopLevel )
You can use a QtoolBar instead of a widget. The QToolBar inherits QDockWindow... There you can provide a close button if you want......
Hope this helps
Try passing Qt::WStyle_Customize|Qt::WStyle_Title. I doubt you'll be able to get rid of the close button this way, but you might try.
Bookmarks