On 14/01/15 11:50, Nurmi J-P wrote:
> 
>> On 13 Jan 2015, at 22:45, Glenn Ramsey <[email protected]> wrote:
>>
>> Hi,
>>
>> In a QTreeView how can I revert the selection?
>>
>> The behaviour I want is that when the user selects an item, then based on 
>> some
>> other state, it will either accept the selection or message the user and 
>> revert
>> to the previous selection.
> 
> Have you considered simply disabling such items? Then there's no need to 
> revert anything or show annoying error messages. :)
> 

Yes, that might be the right solution. On the other hand, I'm not the interface
designer.

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to