Results 1 to 5 of 5

Thread: CHIP Demo

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2011
    Posts
    82
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default CHIP Demo

    Hello,

    I'm trying to follow the chip demo as a guideline on how to work with the Graphics Scene / View.

    My problem now is that I can't seem to embed the view into a dlg window. That is, I CAN instantiate the view object, I CAN instantiate the SCENE object and I'm trying to follow most of the CHIP demo on most of the code. But I just can't make it show in my dialog window.

    If I use the view->show(); line it appears as A NEW WINDOW (which kinda makes sense), but I just can't seem to figure how how to make it be embebed INTO the dialog.

    Also, I seem to have a problem with either the scene, the view or both being of a massive size, and I don't know how to resize them.

    I'm attaching a screenshot of how it looks, so you know why it's wrong.
    Attached Images Attached Images

Similar Threads

  1. Game demo
    By QTInfinity in forum Qt-based Software
    Replies: 0
    Last Post: 1st November 2010, 04:56
  2. Customization of Qt Demo
    By nivditha in forum Newbie
    Replies: 7
    Last Post: 26th October 2010, 22:58
  3. DvB Chip sets
    By yuvaraj.yadav in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 29th January 2010, 05:16
  4. Query in 40000 chip demo
    By aamer4yu in forum Qt Programming
    Replies: 11
    Last Post: 19th October 2006, 01:01

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.