Results 1 to 10 of 10

Thread: QVariant types support for custom properties

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    32
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: QVariant types support for custom properties

    Quote Originally Posted by axeljaeger
    I think this is not (yet) possible with Designer.
    I know that it's not possible, I was wondering when it will be. I wrote my own configuration window for my widget and I would like to save QList properties in the ui file, but Designer says that QList are not implemented yet.

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

    Default Re: QVariant types support for custom properties

    Do you have to implement that through properties?

  3. #3
    Join Date
    Jan 2006
    Posts
    32
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: QVariant types support for custom properties

    Quote Originally Posted by wysota
    Do you have to implement that through properties?
    Yes, because I want to store them in the ui

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

    Default Re: QVariant types support for custom properties

    I'm not familiar with Designer 4 mechanisms regarding setting custom ways of defining properties, but with Designer 3 one could for example edit QListView columns using a built-in editor and this information was saved in the ui too. Can't you do it this way? Or does it involve using these listed properties too?

  5. #5
    Join Date
    Jan 2006
    Posts
    32
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: QVariant types support for custom properties

    Quote Originally Posted by wysota
    I'm not familiar with Designer 4 mechanisms regarding setting custom ways of defining properties, but with Designer 3 one could for example edit QListView columns using a built-in editor and this information was saved in the ui too. Can't you do it this way? Or does it involve using these listed properties too?
    I don't know how the designer saves the data in this case, if I had some time I'd take a look at the code (since the documentation isn't helping me)

  6. #6
    Join Date
    Jan 2006
    Posts
    32
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: QVariant types support for custom properties

    for the moment I solved the problem joining data in a QString, but I think this feature should definitely be implemented.

Similar Threads

  1. Qt 4.4.3 commercial on Kubuntu 8.10
    By Micawber in forum Installation and Deployment
    Replies: 5
    Last Post: 17th February 2010, 01:02
  2. Qt-4.4.0 installation error in linux
    By babu198649 in forum Installation and Deployment
    Replies: 4
    Last Post: 27th May 2008, 14:35

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.