Results 1 to 8 of 8

Thread: Model/View Question

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2014
    Posts
    98
    Thanks
    43
    Thanked 4 Times in 4 Posts
    Platforms
    Windows

    Default Re: Model/View Question

    Quote Originally Posted by meazza View Post
    Reviving this thread again because I have another Model/View question. Take a look at the attachment for what I am trying to accomplish.

    And what I want this view to contain is basically all the items I add to a QGraphicsScene. And trough this view I want to be able to select the items, hide them or remove them.

    Basically it is an object list where the objects in the list are linked to the objects in the scene. And thought I would ask here first to see what you recommend for me to use. I have been looking at QListView but don't know. Also I want a context menu for all items in the view so if I right click I get a menu with some actions. So probably I need a custom delegate.

    Hopefully you got some advice
    Seems a separate question I'd start a new thread.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,328
    Thanks
    317
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Model/View Question

    Since it has been 3 1/2 years since the question was posted, I doubt whether starting a new thread would be useful.

Similar Threads

  1. Model/View Programming: a question about data
    By QAlex in forum Qt Programming
    Replies: 1
    Last Post: 10th December 2009, 18:43
  2. Model / View - Design Question
    By antarctic in forum Qt Programming
    Replies: 8
    Last Post: 8th June 2009, 07:39
  3. model/view editing question
    By KShots in forum Qt Programming
    Replies: 2
    Last Post: 11th September 2008, 17:52
  4. A question about Model/View programming
    By awhite1159 in forum Qt Programming
    Replies: 5
    Last Post: 15th June 2008, 15:38
  5. General Question about Qt4 Model/View
    By reed in forum Qt Programming
    Replies: 2
    Last Post: 13th May 2008, 15:06

Tags for this Thread

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.