[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] Small database application - best way?
From: Matt Newell <newellm () blur ! com>
Date: 2006-11-27 17:40:34
Message-ID: 200611270940.35349.newellm () blur ! com
[Download RAW message or body]
On Monday 27 November 2006 00:50, Sibylle Koczian wrote:
snipped...
> Double clicking, pressing F2 or Enter in a cell in one of the editable
> columns doesn't select the text of this cell, as it does in the example
> programs with editable models. Instead it erases the text completely. Not
> helpful, if a small typo should be corrected, a date altered by one day or
> similar small changes are necessary.
>
Sounds like you aren't handling Qt::EditRole in you model's data function, it
should be returning the same thing as Qt::DisplayRole.
Matt
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic