Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. Ansatz zur Eventbehandlung von QGraphicsItemGroup

Ansatz zur Eventbehandlung von QGraphicsItemGroup

Scheduled Pinned Locked Moved German
2 Posts 2 Posters 1.2k 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.
  • R Offline
    R Offline
    rennreh
    wrote on last edited by
    #1

    Hallo,

    Ich habe einige QgraphicsItems wie Rects, Lines etc erstellt und zu einer QGrapficsItemGroup zusammengefasst. Diese füge ich der QGrafgicsScene zu, welche zum QgraficView gehört.
    Nun komme ich nicht weiter, zumindest habe ich keinen Ansatz. Ich möchte nun zu einer speziellen QGrapficsItemGroup (ich hab da ja einige) auf bestimmte Events reagieren. Z.b. hover, right/left click und solche sachen.
    Hat dazu jemand einen Ansatz wie man das prinzipiell macht oder gar ein Beispiel.

    Mit besten Grüßen

    1 Reply Last reply
    0
    • M Offline
      M Offline
      messi
      wrote on last edited by
      #2

      Hast du dir folgendes Beispiel schon angeschaut:
      http://qt-project.org/doc/qt-4.8/graphicsview-diagramscene.html

      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