Results 1 to 9 of 9

Thread: showing the name of object +mouse

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Apr 2012
    Posts
    101
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: showing the name of object +mouse

    hi ,
    yhats what i see
    aff.jpg
    i have many spheres
    i draw this spheres like that
    Qt Code:
    1. for(i=0,i<sphere.size(),i++)
    2. {
    3. int posx=sphere[i].x
    4. int posy=sphere[i].y
    5. int posz=sphere[i].z
    6. ..................
    7. }
    To copy to clipboard, switch view to plain text mode 
    and for each sphre[i] there is name
    Qt Code:
    1. char name=sphere[i].name
    To copy to clipboard, switch view to plain text mode 
    i want when i put (don't clic) on sphere i can see her name
    (each red sphere has name deferent to the others)

    you understand me now?
    Last edited by rimie23; 26th April 2012 at 22:49.

Similar Threads

  1. Ogre+qt mouse event (add object with mouse problem)
    By rimie23 in forum Qt Programming
    Replies: 7
    Last Post: 24th April 2012, 10:49
  2. mouse tracking showing float numbers
    By fatecasino in forum Qwt
    Replies: 17
    Last Post: 2nd February 2011, 15:40
  3. Child object not showing
    By BalaQT in forum Qt Programming
    Replies: 2
    Last Post: 24th September 2009, 14:46
  4. showing menu mouseclick event with opengl object
    By validator in forum Qt Programming
    Replies: 1
    Last Post: 8th March 2008, 23:25
  5. Replies: 4
    Last Post: 10th May 2006, 22:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.