Results 1 to 2 of 2

Thread: How to remove QMainWindow's title and border

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: How to remove QMainWindow's title and border

    Quote Originally Posted by meraj ansari View Post
    1- I want to remove QMainWindow's title bar and want to use my custom title bar.
    Use Qt::FramelessWindowHint.

    2-I want to remove QMainWindow's border also (like QTDemo application).
    QtDemo doesn't remove any borders so you have to be more specific about what you want.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. The following user says thank you to wysota for this useful post:

    meraj ansari (14th May 2010)

Similar Threads

  1. Replies: 2
    Last Post: 21st March 2012, 14:30
  2. Replies: 4
    Last Post: 13th July 2009, 18:18
  3. Replies: 4
    Last Post: 19th February 2009, 16:56
  4. Replies: 0
    Last Post: 13th February 2009, 08:26
  5. Remove Widget Border?
    By winston2020 in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2008, 05:26

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.