Results 1 to 4 of 4

Thread: Move the menuBar() to the system menu

  1. #1
    Join Date
    Jan 2006
    Posts
    156
    Thanked 12 Times in 12 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Move the menuBar() to the system menu

    Hi,
    Presently I port Qt4 on the Nokia n810 tablet. Qt4 and packages built well with cross compilation for Armel processor. The next work is to move the menu bar of QMainWindow to the system menu position (as in screenshot), that is the normal feature for this device. Have you some ideas about moving the menubar to the system menu?


    Thanks
    QDevelop, an complete Integrated Development Environment for Qt 4: http://qdevelop.org

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Move the menuBar() to the system menu

    You might look into Qt sources to see how it's done on Mac, because I assume you want something similar. It's probable there are some native calls involved, but it's worth to try. At worst you might probably reparent the menu bar and move it to the top of the screen. Setting some hints and attributes on the menu should help you make it look better.

  3. #3
    Join Date
    Apr 2007
    Posts
    44
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Move the menuBar() to the system menu

    Nice picture,i will buy nokia 810 one to play with ^^

  4. #4
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Move the menuBar() to the system menu

    Hi, jlbrd

    Could you direct me on how you have ported Qt onto the N810 device.....I am using a OpenSuSe LInux machine. After a few searches, what i found is that

    deb http://repository.maemo.org/extras/ diablo free non-free
    deb http://repository.maemo.org/extras-devel/ diablo free non-free
    deb http://qt4.garage.maemo.org/ diablo extras

    ...need to be entered into the etc / apt / source.list file, However it gave a message 404 not found while running command apt-get update.
    Is there a new respository where i should get Qt for the device?

    Regards
    QTInfinity

Similar Threads

  1. How to change system menu of window?
    By krivenok in forum Qt Programming
    Replies: 1
    Last Post: 27th January 2006, 15:19

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.