Results 1 to 5 of 5

Thread: How to create an application without title bar and border

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    2
    Qt products
    Platforms
    Unix/X11 Windows

    Default Re: How to create an application without title bar and border

    Quote Originally Posted by gsmiko View Post
    Hi!

    Use the Qt::FramelessWindowHint flag. The result will be a window without the frame and title bar. To create something similar to the window on your screenshot, a title bar/frame should be emulated, you have to draw all the controls, implement moving, resizing, react to window events... (btw. to intercept and to properly react to all the window events on Windows requires lots of time and experimentation)
    thanks for answering

    i think my main problem is how to use the flags, there is many examples in C++ but I'm using PyQt, so I need an example in python.

    Edit: I did not see spirit's post before reply, i think i will find my answer in there
    Last edited by sasan-j; 13th July 2009 at 14:10. Reason: updated contents

  2. #2
    Join Date
    Jun 2008
    Posts
    14
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to create an application without title bar and border

    also i guess you would need WA_TransluscentBackground for the rounded corners

Tags for this Thread

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.