Dear Marin,
Do you mean you're using WStandardItems with an url in your model?
If this is the case, you can make a custom implementation of
WAbstractItemDelegate,
so it returns a WAnchor with AnchorTarget::TargetNewWindow set.
You can use this custom WAbstractItemDelegate implementation by using
WTreeView::setItemDelegateForColumn() or WTreeView::setItemDelegate().
**
kind regards,
Pieter
On Mon, Oct 12, 2009 at 3:58 PM, Marin Lukovic <[email protected]>wrote:
> Hello,
>
>
>
> I'm using WtreeView widget with WStandardItemModel and WstandardItem.
>
> Does anyone know how to make that url from WstandardItem opens in new
> window/tab instead in active window?
>
>
>
> Thank you very much,
>
> Marin.
>
>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest