In my code I am using gtk.Liststore for for Storing the listitems. and later to retrieve Listitems and their listItementries I am using the below.<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 204);">liststore = gtk.Liststore( str, str, int, gtk.gdk.Pixbuf)</span></div>
<div><br></div><div><b>For retrieving ListItems:</b></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 204);"> item = liststore.get_iter_first ()</span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 204);"> or </span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 204);"> item = liststore.iter_next(item)</span></div><div><br></div><div><b>And For retrieving ListItemEntries:</b></div><div> <span class="Apple-style-span" style="background-color: rgb(255, 255, 204);">liststore.get_value(item, 1) </span>for 1st ListItemEntry.</div>
<div><br></div><div>Now I want to implement the above using PyQt. Can any one suggest How to implement that.</div><div>FYI, </div><div>[["Alpha", "one", 1], </div><div>["Beta", "two, 2]</div>
<div>["gamma", "three", 3]]</div><div><br></div><div>For example Liststore is above, then </div><div>1st ListItem = ["Alpha", "one", 1]</div><div>1st ListItem & 1st ListItemEntry = "Alpha"</div>
<div><br></div><div>Thanks,</div><div>Praveen</div><div><br></div>