Please do not top post.

On Sat, Jun 19, 2010 at 5:58 AM, Dushan Savich <[email protected]> wrote:
> Hey Pieter,
>
>>tableview->setItemDelegateForColumn(2, new NumericItemDelegate(this));
>
> There is no class named NumericItemDelegate in witty  :-)


That is why he said that you need to make it, as such:

> 2010/6/16 Pieter Libin <[email protected]>:
>> If you want to create an editor which only allows numeric input,
>> you will have to make a custom implementation of WItemDelegate.
>> The documentation of WItemDelegate explains how this can be done.
>>
>> You can assign your WItemDelegate to a certain column using:
>>
>> tableview->setItemDelegateForColumn(2, new NumericItemDelegate(this));

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to