Discussion Board

Results 1 to 2 of 2

Thread: xml listview

  1. #1
    Registered User Evaldas12's Avatar
    Join Date
    Mar 2012
    Posts
    10
    Rectangle {
    id: rssModel

    property string currentFeed: "www.reddit.com/new"
    property bool loading: xmlModel.status == XmlListModel.Loading


    XmlListModel {
    id: xmlModel
    source: "http://" + rssModel.currentFeed
    query: "/rss/channel/item"

    XmlRole { name: "title"; query: "title/string()" }
    }
    Binding {
    property: "mode"
    target: wrapper
    value: {if(wrapper.tags==''){"everyone";}else if(wrapper.tags=='my timeline'){"self";}else{"user";}}
    }

    }



    im having a problem with xlm could some 1 help out ? ;]

  2. #2
    Nokia Developer Champion gaba88's Avatar
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,688
    Hello Evaldas12

    Sorry but you need to inform the forum about the problem you are having in detail without that i guess nobody's going to help you.

    And you have posted the question in the wrong forum, can any of the moderators can move this to Qt Quick section ??

Similar Threads

  1. Question about ListView
    By xe0on in forum [Archived] Beginning Qt
    Replies: 2
    Last Post: 2011-11-13, 17:37
  2. ListView inside ListView
    By hassan kassem in forum [Archived] Qt Quick
    Replies: 2
    Last Post: 2011-10-20, 10:53
  3. ListView in QML
    By Siddharth5 in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-10-15, 15:19
  4. listview with checkbox
    By csy19861111 in forum [Archived] Qt General ( Qt技术)
    Replies: 2
    Last Post: 2011-06-15, 02:18
  5. Customize Listview in Qt
    By shank_19 in forum Qt
    Replies: 2
    Last Post: 2010-10-14, 03:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved