Thanks, Chris.  I feel stupid that was so easy.  I've even used that
before!  Guess I'll just have to chalk that one up to being so busy.

Thanks again!
Kerri

On 5/13/08, Chris M <[EMAIL PROTECTED]> wrote:
>
> Although you have appended a new row. The last selected row with focus
> is still selected. You need to move the selection onto your new row;
>
>         def addRow(self):
>                 r = self.rowCount()
>                 self.insertRow(r)
>                 self.setCurrentCell(r,0)  # <-- Add this line
>
> Should solve your problem.
>
> Regards,
> Chris.
>
> 2008/5/13 Kerri Reno <[EMAIL PROTECTED]>:
>
> > Attached is the code that I'm asking about.  If you run it, then 'Add',
> then
> > type something into the first cell, then press tab, it returns to the
> first
> > cell.  Then, tab a couple more times, and 'Add' another row.  Then you
> can
> > type something into the first cell, and press tab, and it jumps to where
> you
> > left off in the first row.
> >
> > Thanks for your help!
> > Kerri
> >
> >
> >
> > On 5/12/08, David Boddie <[EMAIL PROTECTED]> wrote:
> > > On Wed, 7 May 2008 09:06:22 -0600, Kerri Reno wrote:
> > >
> > > > I have a small table widget where each cell contains a widget.  I
> start
> > > > with two rows of the table filled with data.  If I add a new third
> row
> > to
> > > > the table, and then start in the first cell to change that line,
> when I
> > > > press tab it goes to the second cell in the first row.  Has anyone
> seen
> > and
> > > > conquered this issue?  If no one has seen it, I can send example
> code
> > that
> > > > will highlight the problem.
> > >
> > >
> > > Does the problem occur only if you add the third row?
> > >
> > > I think you might need to post some sample code that demonstrates the
> > > problem. :-)
> > >
> > > David
> > >
> > > _______________________________________________
> > > PyQt mailing list    PyQt@riverbankcomputing.com
> > > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> > >
> >
> >
> >
> >
> > --
> > Yuma Educational Computer Consortium
> > Compass Development Team
> > Kerri Reno
> > [EMAIL PROTECTED]      (928) 502-4240
> > .·:*¨¨*:·.   .·:*¨¨*:·.   .·:*¨¨*:·.
> > _______________________________________________
> >  PyQt mailing list    PyQt@riverbankcomputing.com
> >  http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> >
>



-- 
Yuma Educational Computer Consortium
Compass Development Team
Kerri Reno
[EMAIL PROTECTED]      (928) 502-4240
.·:*¨¨*:·.   .·:*¨¨*:·.   .·:*¨¨*:·.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to