Results 1 to 6 of 6

Thread: Advice needed - creating items

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2010
    Posts
    145
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1
    Thanked 18 Times in 17 Posts

    Default Re: Advice needed - creating items

    This is "inheritance vs composition". Depending on whom you ask and what your specific case is, it could go either way (rather both ways) as far as what is 'right'. I encourage you to pick up a book on the subject and/or google "inheritance vs composition" and decide for yourself.

  2. #2
    Join Date
    Oct 2008
    Posts
    306
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    6
    Thanked 9 Times in 8 Posts

    Default Re: Advice needed - creating items

    I'll just go with inheritance.

Similar Threads

  1. Advice needed for QT application architecture
    By hubbobubbo in forum Qt Programming
    Replies: 0
    Last Post: 14th December 2009, 12:30
  2. Thread design advice needed
    By jonks in forum Qt Programming
    Replies: 3
    Last Post: 22nd October 2009, 22:32
  3. Qtopia H/w Advice needed
    By void* in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 19th January 2007, 12:25
  4. Multiple Windows -> Advice needed
    By vokal in forum Newbie
    Replies: 2
    Last Post: 8th January 2007, 09:40
  5. Practical QTreeView: Advice needed
    By Jojo in forum Qt Programming
    Replies: 13
    Last Post: 20th February 2006, 21:28

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.