Results 1 to 2 of 2

Thread: Menubar sticking to the window in MacOSX?

  1. #1
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Menubar sticking to the window in MacOSX?

    Hi,

    I want the menubar to behave like all the other applications in mac, but the mainwindow is attached to the menubar.

    I have looked into the MDI example that comes along with 3.3.6. The only difference between that code and my code is

    MDI Example:

    Qt Code:
    1. file->insertItem("&New",this,SLOT(newDoc()),CTRL+Key_N);
    To copy to clipboard, switch view to plain text mode 

    My Application

    Qt Code:
    1. fileAction->addTo(fileMenuPop);
    To copy to clipboard, switch view to plain text mode 

    Any ideas how I can separate them?

    Thanks a lot.

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Menubar sticking to the window in MacOSX?

    Any ideas on this one ?

Similar Threads

  1. Replies: 2
    Last Post: 12th November 2006, 08:47
  2. cannot make a main window modal
    By Dark_Tower in forum Qt Programming
    Replies: 12
    Last Post: 23rd March 2006, 10:21

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.