Re: pyqt4 qTableWidget add items help

2009-04-18 Thread ookrin
On Apr 18, 3:46 am, Sebastian Wiesner wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > [...]> I've been trying > > >         while(len(orders)> i): > >             ui.tb1_tblOrders.setCurrentCell(i,0,orders[i][1]) > >             i+=1 > > > which to me, says go add in the first co

pyqt4 qTableWidget add items help

2009-04-18 Thread ookrin
I've been searching around the internet for an example of how to add a list of items to the qTableWidget for the last few hours with little success. I have a list orders [[34,940,30,50,67], [50,56,35,30,57]] as my example here I built the qTableWidget in designer, so it already has the header col

Re: Python and XML Help

2009-04-17 Thread ookrin
On Apr 15, 9:43 am, Scott David Daniels wrote: > ookrin wrote: > > I am still learning. And it's not that I won't take the advice > > for using ElementTree, I just currently don't know anything about it. > > I just didn't want to say, "I have no

Re: Python and XML Help

2009-04-14 Thread ookrin
On Apr 14, 8:15 pm, John Machin wrote: > On Apr 15, 12:29 pm, ookrin wrote: > > > > > On Apr 12, 12:51 am, "Diez B. Roggisch" wrote: > > > > ookrin schrieb: > > > > > I'm in the process of learning python and PyQt4. I had decided to

Re: Python and XML Help

2009-04-14 Thread ookrin
On Apr 12, 12:51 am, "Diez B. Roggisch" wrote: > ookrin schrieb: > > > > > I'm in the process of learning python and PyQt4. I had decided to make > > myself a simple app and soon discovered that I needed to crash into > > xml to use some of the data I

Python and XML Help

2009-04-11 Thread ookrin
I'm in the process of learning python and PyQt4. I had decided to make myself a simple app and soon discovered that I needed to crash into xml to use some of the data I was going to be getting off of the server. I picked up enough xml to use the sax parser to get the data out of the xml. I can get