Results 1 to 2 of 2

Thread: OpenGl object into main window

  1. #1
    Join Date
    Jan 2012
    Posts
    12
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default OpenGl object into main window

    Hello,

    I am currently running a gui that has a button that when pressed opens an openGl object that displays a 3d model. I now want to fit this into my mainwindow. How would I go about taking this window, resizing it and permantly placing it into my mainwindow?

    Thank you for any assistance in advance

  2. #2
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: OpenGl object into main window

    On MainWindow create layout, position it and add into it Your OGLWidget.
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

Similar Threads

  1. Replies: 4
    Last Post: 8th April 2011, 06:47
  2. Replies: 11
    Last Post: 11th August 2008, 09:14
  3. Replies: 4
    Last Post: 26th June 2007, 19:19
  4. Replies: 15
    Last Post: 23rd March 2007, 16:16
  5. Replies: 5
    Last Post: 7th November 2006, 15: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.