Hello Koen,
Thank you for quick answer. Before I have used treeView->setSelectable(true) , where I want allow user to select whole row(object) from WTreeView widget, so I thought that it won't be good in this situation. Anyway, now works like I want it. Regards, Marin. "Koen Deforche" <[email protected]> wrote in message news:[email protected]... > Hey Marin, > > 2010/1/26 Marin Lukovic > <[email protected]>: >> Hello, >> >> I'm using WTreeView with WStandardItemModel. Everything works fine, but >> text >> in WTreeView widget is not selectable, so user can not select it with >> cursor >> for ie. to copy it on clipboard. > > That was really intentional, since it interferes with selection (of > text versus selection of rows/items). > >> Can anyone help me how to make text selectable in WTreeView widget? > > For some reason we were doing setSelectable(false) within the treeview > on the headers and data separately, which makes that you could not > revert it. > > I've changed this in latest git, so that you can do > treeView->setSelectable(true); > > Regards, > koen > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
