Results 1 to 8 of 8

Thread: Floating MainWindow on OS X

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2007
    Posts
    81
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Floating MainWindow on OS X

    i tried

    setWindowFlags(Qt::Widget);

    and

    setWindowFlags(Qt::Window);

    from http://doc.trolltech.com/4.3/qt.html#WindowType-enum

    and none of the others seem to even fit what I'm trying to do.

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

    Default Re: Floating MainWindow on OS X

    I'm just guessing here, but maybe the window does not get the default flags when it is created ( it's beta, after all ).

    Have you tried Qt::Window | Qt::WindowTitleHint?

  3. #3
    Join Date
    Feb 2007
    Posts
    81
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Floating MainWindow on OS X

    yes, that didn't seem to work either. I will try to download the latest snapshot and compile with that. I am out of ideas. thank you so much for your help,

    dave

  4. #4
    Join Date
    Feb 2007
    Posts
    81
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Floating MainWindow on OS X

    I tried downloading the latest snapshot and the window is still attached to the top left. How is it not more obvious how to fix this problem? I can't find it anywhere in the documentation.

    dave

Similar Threads

  1. mainwindow disappearing
    By locus in forum Qt Programming
    Replies: 1
    Last Post: 28th January 2007, 10:24
  2. How do I use a mainwindow .ui file?
    By thomaspu in forum Qt Tools
    Replies: 2
    Last Post: 23rd November 2006, 07:32
  3. Replies: 3
    Last Post: 23rd July 2006, 19:02
  4. MainWindow update during computations
    By Gizmho in forum Qt Programming
    Replies: 7
    Last Post: 13th July 2006, 21:10
  5. mainwindow does not refresh
    By edb in forum Qt Programming
    Replies: 22
    Last Post: 25th January 2006, 17:42

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.