Results 1 to 14 of 14

Thread: Proper code

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Mar 2010
    Location
    Auckland, NZ
    Posts
    121
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Proper code

    I'm sure I'm not using the correct terminology. I will explain how mainwindow.ui was created.
    For testing, I started with another simple Qt program, one that doesn't use Qwt (this program works fine.) In Qt Designer I clicked-and-dragged a QMdiArea widget onto the central widget. This is why I said I "added" it to the central widget. I do everything in Designer, and do not call setCentralWidget(). I will attach mainwindow.ui. You will see that it contains several things that are unrelated to what I am trying to do - these are from the other program. You can ignore everything except mdiArea.
    Thanks again for trying to help me! Unfortunately I am not a good C++ programmer, although I usually get things to work eventually.
    Attached Files Attached Files

Similar Threads

  1. Proper way to start learning Qt
    By starlays in forum Newbie
    Replies: 2
    Last Post: 7th September 2016, 13:44
  2. Proper way to use qmake and moc?
    By mossen in forum Newbie
    Replies: 1
    Last Post: 6th May 2011, 02:52
  3. DOM XML reader - Not getting any proper output
    By mecrazycoder in forum Newbie
    Replies: 0
    Last Post: 17th December 2010, 14:26
  4. proper use of QList?
    By jhowland in forum Qt Programming
    Replies: 3
    Last Post: 13th September 2010, 14:57
  5. Proper way to #include Qt?
    By pherthyl in forum Qt Programming
    Replies: 1
    Last Post: 11th August 2006, 02:15

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.