[PyQt] add child to QTextEdit problem!

2008-12-21 Thread sa6113
I want to add a child to QTextEdit by this method "addChild()" but it needs a point, I don't know how should I set this point. would you please help me? Setting this point is a bit strange, I have tried some way , for example getting "getCoursorPosition" a method of QtextEdit or getting cursor pos

Re: [PyQt] Re: KIntNumInput question

2008-12-21 Thread Jim Bublitz
On Sunday 21 December 2008 14:22:03 pm Neal Becker wrote: > Jim Bublitz wrote: > > On Sunday 21 December 2008 07:40:25 am Neal Becker wrote: > >> num_in = KIntNumInput (self, 0, 0, 16) > >> > >> gives: > >> TypeError: too many arguments to KIntNumInput(), 1 at most > >> expected > >> > >> B

Re: [PyQt] Re: KIntNumInput question

2008-12-21 Thread Phil Thompson
On Sun, 21 Dec 2008 17:22:03 -0500, Neal Becker wrote: > Jim Bublitz wrote: > >> On Sunday 21 December 2008 07:40:25 am Neal Becker wrote: >>> num_in = KIntNumInput (self, 0, 0, 16) >>> >>> gives: >>> TypeError: too many arguments to KIntNumInput(), 1 at most expected >>> >>> But accordin

[PyQt] Re: KIntNumInput question

2008-12-21 Thread Neal Becker
Jim Bublitz wrote: > On Sunday 21 December 2008 07:40:25 am Neal Becker wrote: >> num_in = KIntNumInput (self, 0, 0, 16) >> >> gives: >> TypeError: too many arguments to KIntNumInput(), 1 at most expected >> >> But according to >> http://api.kde.org/pykde-4.1-api/kdeui/KIntNumInput.html#ob

Re: [PyQt] KIntNumInput question

2008-12-21 Thread Jim Bublitz
On Sunday 21 December 2008 07:40:25 am Neal Becker wrote: > num_in = KIntNumInput (self, 0, 0, 16) > > gives: > TypeError: too many arguments to KIntNumInput(), 1 at most expected > > But according to > http://api.kde.org/pykde-4.1-api/kdeui/KIntNumInput.html#obj175289196 > > There are cons

[PyQt] KIntNumInput question

2008-12-21 Thread Neal Becker
num_in = KIntNumInput (self, 0, 0, 16) gives: TypeError: too many arguments to KIntNumInput(), 1 at most expected But according to http://api.kde.org/pykde-4.1-api/kdeui/KIntNumInput.html#obj175289196 There are constructors taking 1,2, and 3 args. What am I missing? Is there some ot