Results 1 to 2 of 2

Thread: Different behaviour in nested QListView on Mac/Windows

  1. #1
    Join Date
    Feb 2015
    Location
    Cologne/Germany
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Different behaviour in nested QListView on Mac/Windows

    Hi,

    i am currently developing an Application which uses a QListView (VersionList) that uses a custom Widget with a Delegate. This custom Widget contains - besides a label and an image - also a QListView (FileList) using a custom delegate and widget.
    Those widgets are mainly labels and listen to doubleClick, Drags etc.

    At initialisation stage, on Mac all Items in a ChildList are displayed. On Windows (7) only the first Item is displayed.
    What i really wonder is that on Windows, if i select the item and the editor widget is created, all items are displayed but get removed on deselecting.

    For both, the "normal" widget, as well as the editor widget are drawn using the same paint method.

    I have really no clue here. Hope someone can help.

    Thanks,
    René

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Different behaviour in nested QListView on Mac/Windows

    We have no clue here either. What is "ChildList"? What should it look like? What does it look like on Mac? Windows? What does your code look like? Is the problem in normal display or only when editing? What iare the "normal" widget and "editing" widget... On which view?

Similar Threads

  1. Replies: 7
    Last Post: 27th April 2012, 13:17
  2. Strange behaviour of QFutureWatcher on windows
    By spud in forum Qt Programming
    Replies: 0
    Last Post: 22nd July 2010, 16:47
  3. Replies: 2
    Last Post: 4th June 2009, 16:09
  4. Replies: 0
    Last Post: 19th February 2009, 14:32
  5. LIBS+= behaviour on Windows
    By Benne Gesserit in forum Newbie
    Replies: 6
    Last Post: 4th August 2008, 21:51

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.