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. Qwhatsthis funtionality for QGraphicsItems
Forum Updated to NodeBB v4.3 + New Features

Qwhatsthis funtionality for QGraphicsItems

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.1k 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.
  • P Offline
    P Offline
    potla11
    wrote on last edited by
    #1

    hi to all,i want to create Qwhatsthis funtionality to Qgraphicsrectitems..some one suggest me is it possible?and suggest some ideas to implement.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Mr-Merlin
      wrote on last edited by
      #2

      Hi,

      Yes it's possible.

      Detect when the mouse is over an object (QGraphicsItem::acceptHoverEvents)
      Get the location of the mouse.
      Display a "What's this" object at position of the mouse.

      Hope that helps.

      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