Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unity menu bar icon
Qt 6.11 is out! See what's new in the release blog

Unity menu bar icon

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mehrdad
    wrote on last edited by
    #1

    how can i create an icon in "unity menu bar" that when i click on it, it show me my arbitrary menu?
    like this!
    http://www.matiasvangsnes.com/wp-content/plugins/rss-poster/cache/dbf1e_medium.jpg

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      I think you can create it using "qsystemtrayicon":http://qt-project.org/doc/qt-5.0/qtwidgets/qsystemtrayicon.html.
      Have a look at it's "example":http://qt-project.org/doc/qt-4.8/desktop-systray.html

      157

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mehrdad
        wrote on last edited by
        #3

        really? system try icon creating work on unity? are you or anybody sure?

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          Yes it does. You also need to install sni-qt package.
          See "ubuntu-indicator-for-qt-applications":http://www.webupd8.org/2011/09/ubuntu-indicator-for-qt-applications.html.

          157

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt
          • Unsolved