Hello Rajeev. Here is the patch.Using this patch it's always add folder "Header&Sources". The switch "merge sources and headers" in filter menu do nothing (because I'm unable to decide where to place this property). Also when you switch to "Simplify tree" mode, all files exists twice (because they have they copy in two subfolders).
I think, maybe while filter - remove duplicates ???? But it's still don't look like goot solution.
On 28.12.2009, at 19:47, Rajeev J Sebastian wrote:
On Mon, Dec 28, 2009 at 9:52 PM, Rudenko Eugene <[email protected]> wrote:Ok, I almost made all things, only one problem. My solution is: in Qt4PriFileNode::update I checked some bool property m_filterMergeSources. And regarding of it form different fileTypes, fileTypeNames and fileTypeIcons variables. The main problem is place where to place this property. This place might be one for all opened projects (shared), and it's might be accessible from ProjectTree and Qt4PriFileNode. I think this place may be in Model. Model is accessible from ProjectTree, but I'm unable to find how to acces to it from Qt4PriFileNode. Maybe solution is to past some variable to update() method?Could you provide a patch ? or submit pull-request ? Regards Rajeev J Sebastian _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
tree_patch.patch
Description: Binary data
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
