[Qt-interest] Want no title bar on Windows
David Ching
dc at remove-this.dcsoft.com
Wed Dec 2 21:51:25 CET 2009
"David Boosalis" <david.boosalis at gmail.com> wrote in message
news:870c99310912020844w63b409e7pe8a2ff42346c133b at mail.gmail.com...
> Hi.
> I am trying to replicate an existing Windows application for a client.
> This application has no frame yet is resizeable.
> I'd like to replicate this with the Qt app I am working on, but I am
> unable to find the right flags or methods that will
> allow me to have no title bar and still have a small frame that I can
> still grab and change the size and location
> of the window.
>
In the constructor, pass Qt::FramelessWindowHint and optionally
Qt::WindowSystemMenuHint, e.g.:
IKDialog::IKDialog( QWidget *parent /*= 0*/ )
: QDialog(parent, Qt::Dialog | Qt::FramelessWindowHint |
Qt::WindowSystemMenuHint)
-- David
More information about the Qt-interest-old
mailing list