Results 1 to 3 of 3

Thread: Dynamic List Box

  1. #1
    Join Date
    Nov 2010
    Posts
    48
    Thanks
    5
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Dynamic List Box

    I am very new to Qt and also in Symbian too.
    what I am trying to make is...
    1. Want to Parse XML from server
    2. Display the XML content (image, text and URL) in list box
    3. When I click on the list item then it hits the corresponding URL (URL is the link to another XML file in the server) and display the content of the URL (XML) in another list box.
    Is there any example for the same

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Dynamic List Box

    Have you looked at the RSS example?

    http://doc.qt.nokia.com/latest/xml-rsslisting.html

  3. #3
    Join Date
    Nov 2010
    Posts
    48
    Thanks
    5
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Dynamic List Box

    yes I have , but could not find how it will help me. Till now I have done some research and could parse the xml. now what I want is how to display the content of the xml (Image, Text, URL) in the list box and user click on the list box item it will hit the corresponding URL (XML) and will download the content and display it to another list box.
    Lets say I have an XML file in the server
    Qt Code:
    1. <item>
    2. <Image> http://server/i.jpg </Image>
    3. <Title> This is a test message </Title>
    4. <URL> http://server/domain/filename.xml </URL>
    5. </item>
    To copy to clipboard, switch view to plain text mode 
    each item will have some image link, title and another xml file link.
    Now when I first parse this XML file it should display the image and the title in the list box and when I click on the list item then it should parse the URL (http://server/domain/filename.xml) and display the content in another list box.


    Is there any example for this

Similar Threads

  1. Replies: 1
    Last Post: 23rd April 2011, 17:33
  2. Replies: 1
    Last Post: 20th January 2011, 17:17
  3. List View with sections for alphabetialy sorted list
    By woodtluk in forum Qt Programming
    Replies: 4
    Last Post: 12th October 2010, 11:50
  4. dynamic properties
    By Hogwarts in forum Qt Programming
    Replies: 1
    Last Post: 3rd May 2010, 16:37
  5. Designer plugin & dynamic value list for text input
    By janus in forum Qt Programming
    Replies: 0
    Last Post: 4th April 2009, 12:41

Tags for this Thread

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.