Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to add new options to the dock icon menu
Forum Updated to NodeBB v4.3 + New Features

How to add new options to the dock icon menu

Scheduled Pinned Locked Moved Solved General and Desktop
macosdockdockmenu
2 Posts 2 Posters 287 Views 2 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.
  • V Offline
    V Offline
    vipul.g
    wrote on 8 Dec 2023, 05:33 last edited by
    #1

    There are some default options that appear when a macOS application in added to the dock like Quit, Hide, Show in Finder, etc.

    I want to add few more options to the dock menu for my Qt application.

    I'm unable to find any artifacts that Qt provides to configure the dock menu.

    Is it possible to do so using Qt?a2a60b04-089b-4f15-a4e2-8fd5abf90829-image.png

    M 1 Reply Last reply 8 Dec 2023, 08:38
    0
    • V vipul.g
      8 Dec 2023, 05:33

      There are some default options that appear when a macOS application in added to the dock like Quit, Hide, Show in Finder, etc.

      I want to add few more options to the dock menu for my Qt application.

      I'm unable to find any artifacts that Qt provides to configure the dock menu.

      Is it possible to do so using Qt?a2a60b04-089b-4f15-a4e2-8fd5abf90829-image.png

      M Offline
      M Offline
      mpergand
      wrote on 8 Dec 2023, 08:38 last edited by
      #2

      @vipul-g
      Look at QMenu::setAsDockMenu()

      1 Reply Last reply
      1
      • V vipul.g has marked this topic as solved on 11 Dec 2023, 12:47

      2/2

      8 Dec 2023, 08:38

      • Login

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