Results 1 to 12 of 12

Thread: How to preserve QLitView selection when context menu invoked

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2008
    Posts
    21
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to preserve QLitView selection when context menu invoked

    I am using a QListView. I have implemented support for drag and drop by implementing a model for it derived from QStringListModel. I would like to invoke menu actions on an extended selection in the list view but, I don't want the selection to be changed by the right click. I don't want to have to override QListView if I do not have to.

    Never mind. My problem was with breakpoints.
    Last edited by ericwny; 9th June 2008 at 16:09.

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.