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. QTableWidget has no cellRightClicked
Qt 6.11 is out! See what's new in the release blog

QTableWidget has no cellRightClicked

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 378 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I observe that QTableWidget has no cellRightClicked.
    What is the workaround to receiving the right-click event for a table cell in C++?

    JonBJ 1 Reply Last reply
    0
    • ? A Former User

      I observe that QTableWidget has no cellRightClicked.
      What is the workaround to receiving the right-click event for a table cell in C++?

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by
      #2

      @clarify
      Right clicking on widgets is normally handled as a context menu request.
      For a QTableWidget right click on cell example, see e.g. @SGaist's code at https://forum.qt.io/topic/94905/simpliest-way-for-creating-contextmenu-for-qtablewidget-cells/5.

      1 Reply Last reply
      2

      • Login

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