Results 1 to 4 of 4

Thread: Qt From Without Title area

  1. #1
    Join Date
    Jun 2007
    Posts
    21
    Thanks
    25
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Qt From Without Title area

    Hi,

    Does anyone how to create a qt form without any title area.

    I have shown the area i want to remove in the attached figure,

    thanks in advance.

    nlev.
    Attached Images Attached Images

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt From Without Title area

    Use in the constructor of your window/dialog:
    Qt Code:
    1. setWindowFlags(windowFalgs() | Qt::FramelessWindowHint );
    To copy to clipboard, switch view to plain text mode 

    Or you can do it from Designer, if that's how you created your window.

  3. The following user says thank you to marcel for this useful post:

    nleverin (5th October 2007)

  4. #3
    Join Date
    Jun 2007
    Posts
    21
    Thanks
    25
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Qt From Without Title area

    Hi Marcel,

    thanks for the reply, i got this working with Qt4,

    is there an equivalent function using Qt3?

  5. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt From Without Title area

    Take a look at QWidget docs. Especially its constructor and setWFlags().
    J-P Nurmi

Similar Threads

  1. Setting the title bar
    By Krish_ng in forum Qt Programming
    Replies: 1
    Last Post: 18th July 2007, 11:55
  2. QGroupBox title truncated on both sides
    By Gopala Krishna in forum Qt Programming
    Replies: 2
    Last Post: 7th October 2006, 15:02
  3. Initialise toolbar in a different area
    By georgie in forum Qt Programming
    Replies: 4
    Last Post: 4th May 2006, 03:49
  4. QRubberBand painting in the scroll area widget
    By SkripT in forum Qt Programming
    Replies: 7
    Last Post: 17th January 2006, 16:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.