i need to create window.
I need to remove (maximize, minimize, close) button
how to remove that ?
i need to create window.
I need to remove (maximize, minimize, close) button
how to remove that ?
use Qt::FramelessWindowHint like
widget->setWindowFlags(Qt::FramelessWindowHint);
Last edited by spirit; 2nd April 2009 at 17:39.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
my code like this ...
Qt Code:
{ ui->setupUi(this);To copy to clipboard, switch view to plain text mode
how to set ?
try this in ctor
Qt Code:
... setWindowFlags(windowFlags() | Qt::WindowTitleHint | Qt::CustomizeWindowHint); ...To copy to clipboard, switch view to plain text mode
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
yup, my mistake, try this
Qt Code:
setWindowFlags(Qt::Window | Qt::WindowTitleHint | Qt::CustomizeWindowHint);To copy to clipboard, switch view to plain text mode
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
take a look at this example QTDIR/examples/widgets/windowflags.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Bookmarks