Results 1 to 3 of 3

Thread: 3D Items ( Bug )

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    46
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    7

    Default 3D Items ( Bug )

    hi to all

    Qt Code:
    1. QPyramidTool *pPiramidObj = new QPyramidTool( );
    2.  
    3. m_scene->addItem( qobject_cast<QGraphicsWidget *>(pPiramidObj) );
    To copy to clipboard, switch view to plain text mode 
    here QPyramidTool is QGlwidget.

    i have made pyramid by using it .

    m_scene is QGraphicsScene .

    I am adding this QGLWidget to this scene .
    It didn't give any error but i doesn't show.
    I have to seen this pyramid on my scene how it will become possible .
    Pls share your ideas.

    Thanks...
    Last edited by jpn; 20th February 2008 at 07:16. Reason: reformatted to look better
    Ashish Kumar Saryar

Similar Threads

  1. Arranging the Items in Qtopia
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 10th December 2007, 08:52
  2. Light items for the graphicsView
    By maverick_pol in forum Qt Programming
    Replies: 12
    Last Post: 1st November 2007, 18:51
  3. Occurance of Duplicate items in QComboBox
    By merry in forum Qt Programming
    Replies: 8
    Last Post: 12th September 2007, 15:05
  4. QGraphicsItem problem - how to save items info ??
    By aamer4yu in forum Qt Programming
    Replies: 3
    Last Post: 17th October 2006, 12:17
  5. Selective highlighting of Items
    By Kapil in forum Qt Programming
    Replies: 3
    Last Post: 26th May 2006, 12:20

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.