Results 1 to 9 of 9

Thread: Subclassing QDirModel to Add Extra Columns Results in Empty Columns!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Subclassing QDirModel to Add Extra Columns Results in Empty Columns!

    How about simply returning QDirModel::columnCount()+1? Or even "5"?

  2. #2
    Join Date
    Aug 2008
    Posts
    39
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    12

    Thumbs up Re: Subclassing QDirModel to Add Extra Columns Results in Empty Columns!

    Ok, the problem was Qt 4.3.2 and maybe other versions. I am on solaris I upgraded yesterday (on a sparc! ) Anyway, you are correct it works. Should've asked the night before I kept thinking it was something I was doing, but all the reading was probably a good idea anyway. Thanks y'all!

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.