Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Different context menu depending on what is clicked
Forum Updated to NodeBB v4.3 + New Features

Different context menu depending on what is clicked

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 287 Views
  • 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.
  • H Offline
    H Offline
    Harborman
    wrote on last edited by Harborman
    #1

    I'm working with Qwebengine in PyQt5.
    I can make a custom context menu, but how do I make multiple context menus that change based on what I click on the webpage?
    For instance, when I right click on an image, it should pop up a menu where you can save the image or copy its URL. Same thing for when I'm copying and pasting text, or clicking on a link.

    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 Extensions
    • Unsolved