[PyKDE] (no subject)

2007-01-30 Thread Kovid Goyal
Hi, Calling a particular method using dcopext yields a different result from calling it using the dcop commandline client. Here's a test script that calls the method (requires ktorrent) from kdecore import KApplication import dcopext, sys, subprocess app = KApplication(sys.argv, 'test') dcop =

Re: [PyKDE] Abstract Table Model + TableView

2007-01-30 Thread Kelly Burkhart
That works perfectly. Thanks! -K On 1/30/07, David Boddie <[EMAIL PROTECTED]> wrote: On Tue Jan 30 23:45:23 MET 2007, Kelly Burkhart wrote: > I'm experimenting with QAbstractTableModel + QTableView and having a > difficult time getting what I expect. I'm hoping with the attached > code to cr

Re: [PyKDE] Abstract Table Model + TableView

2007-01-30 Thread David Boddie
On Tue Jan 30 23:45:23 MET 2007, Kelly Burkhart wrote: > I'm experimenting with QAbstractTableModel + QTableView and having a > difficult time getting what I expect. I'm hoping with the attached > code to create a grid with a header and each cell showing some text. > Instead I'm getting a grid wi

[PyKDE] Abstract Table Model + TableView

2007-01-30 Thread Kelly Burkhart
Greetings, I'm experimenting with QAbstractTableModel + QTableView and having a difficult time getting what I expect. I'm hoping with the attached code to create a grid with a header and each cell showing some text. Instead I'm getting a grid with no header (tableview.header().show() has no effe

Re: [PyKDE] pyuic4 error

2007-01-30 Thread Phil Thompson
On Tuesday 30 January 2007 9:47 pm, TheMoon Seeker wrote: > Hi! > > I'm trying PyQt and I have a problem when generating python file.. I'm on > Ubuntu and I have installed python-qt4 4.0.1 and qt4.designer 4.2.0. I use > the designer to create a simple gui with a Graphics View, then I saved it > on

[PyKDE] pyuic4 error

2007-01-30 Thread TheMoon Seeker
Hi! I'm trying PyQt and I have a problem when generating python file.. I'm on Ubuntu and I have installed python-qt4 4.0.1 and qt4.designer 4.2.0. I use the designer to create a simple gui with a Graphics View, then I saved it on test.ui. I generate py file by using this command : pyuic4 -o test.

[PyKDE] Inserting widgets "into" a QGroupBox

2007-01-30 Thread Tony Cappellini
I have two QVBoxLayouts on a QDialogue. I want to put the widgets on the left side of the window into one group box, and the widgets on the right into another group box. I've tried to insert some widgets "into" a QGroupBox, but the widgets actually appeared under the group box, not inside it. How