Re: [PyKDE] Aligning Text in a Table

2003-06-30 Thread Bob Parnes
On Sun, Jun 29, 2003 at 09:39:20PM +0200, Simon Edwards wrote: > * BobTable stores the contents of the cells somewhere. (array of strings if > the cells hold strings etc). > > * paintCell() looks up the contents of the cell (i.e. grab it's string > contents) and draws the string on the QPainter

Re: [PyKDE] Aligning Text in a Table

2003-06-29 Thread Bob Parnes
On Sun, Jun 29, 2003 at 09:39:20PM +0200, Simon Edwards wrote: > Hi, > > On Sunday 29 June 2003 01:00, Bob Parnes wrote: > > I did not read your post carefully enough and thought that I had to make > > the call to paintCell. However, it is confusing, because now I do not > > understand the purpose

Re: [PyKDE] Aligning Text in a Table

2003-06-29 Thread Simon Edwards
Hi, On Sunday 29 June 2003 01:00, Bob Parnes wrote: > I did not read your post carefully enough and thought that I had to make > the call to paintCell. However, it is confusing, because now I do not > understand the purpose of the arguments beyond the row and column. The other args specify if the

Re: [PyKDE] Aligning Text in a Table

2003-06-28 Thread Bob Parnes
On Sat, Jun 28, 2003 at 03:01:12PM +0100, Phil Thompson wrote: > On Saturday 28 June 2003 2:10 pm, Simon Edwards wrote: > > Hi, > > > > > Thanks for your response. I got lost trying to follow your idea. In the > > > past I have subclassed my own classes and reimplemented methods in order > > > to m

Re: [PyKDE] Aligning Text in a Table

2003-06-28 Thread Bob Parnes
On Sat, Jun 28, 2003 at 03:10:40PM +0200, Simon Edwards wrote: > Hi, > > > Thanks for your response. I got lost trying to follow your idea. In the > > past I have subclassed my own classes and reimplemented methods in order > > to make changes suiting the subclass. But here I cannot even make the

Re: [PyKDE] Aligning Text in a Table

2003-06-28 Thread Phil Thompson
On Saturday 28 June 2003 2:10 pm, Simon Edwards wrote: > Hi, > > > Thanks for your response. I got lost trying to follow your idea. In the > > past I have subclassed my own classes and reimplemented methods in order > > to make changes suiting the subclass. But here I cannot even make the > > simpl

Re: [PyKDE] Aligning Text in a Table

2003-06-28 Thread Simon Edwards
Hi, > Thanks for your response. I got lost trying to follow your idea. In the > past I have subclassed my own classes and reimplemented methods in order > to make changes suiting the subclass. But here I cannot even make the > simplest reimplementation of paintCell. For example, the method, > >

Re: [PyKDE] Aligning Text in a Table

2003-06-28 Thread Bob Parnes
On Fri, Jun 27, 2003 at 05:18:07PM +0200, Simon Edwards wrote: > Hi, > > On Friday 27 June 2003 16:49, Bob Parnes wrote: > > Sorry for posing trivial questions, but I do not understand how to use > > paintCell. Attached is a demo to right-align text in a table cell. > > There is no error message,

Re: [PyKDE] Aligning Text in a Table

2003-06-27 Thread Simon Edwards
Hi, On Friday 27 June 2003 16:49, Bob Parnes wrote: > Sorry for posing trivial questions, but I do not understand how to use > paintCell. Attached is a demo to right-align text in a table cell. > There is no error message, but the code is ignored. So I assume that I > misinterpreted the documentat

[PyKDE] Aligning Text in a Table

2003-06-27 Thread Bob Parnes
Hello, Sorry for posing trivial questions, but I do not understand how to use paintCell. Attached is a demo to right-align text in a table cell. There is no error message, but the code is ignored. So I assume that I misinterpreted the documentation. Thanks for any help. bp -- Bob Parnes [EMAIL