From kwrite-devel Fri Jul 11 16:48:15 2008 From: "Ivo Anjo" Date: Fri, 11 Jul 2008 16:48:15 +0000 To: kwrite-devel Subject: Re: Request to integrate the TreeView plugin into Kate Message-Id: <557ea2710807110948u5aca08a5i2823951e6d5af637 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=121579495415901 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------=_Part_29094_29721385.1215794895335" ------=_Part_29094_29721385.1215794895335 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello. So after some tips and help from Andreas Pakulat I got a patch into kdelibs that adds two new modes to KDirOperator: a simple tree, and a tree with details (similar to the two modes on the plugin written by Javier Goday). So, with current trunk you can right click on the KDirOperator widget on the filesystem browser plugin, and the View menu will have the two new tree-based modes. The attached patch adds the tree modes to the config page of the fsbrowser plugin, and to the default toolbar configuration. Ok to commit? Ivo P.s.: Batiste, finally a treeview in upstream :) On Mon, Jul 7, 2008 at 9:06 PM, Andreas Pakulat wrote: > On 07.07.08 20:36:37, Ivo Anjo wrote: >> > On 01.07.08 17:38:09, Batiste wrote: >> > > Hello, >> > > >> > > Javier Goday has written another TreeView plugin like the one I have done one >> > > day but in a cleaner and simpler way: >> > > >> > > http://www.kde-apps.org/content/show.php/show.php?content=80940 >> > > >> > > It seems pretty good. I can't test it because I gived up with compiling Kde4 >> > > by myself :-/ >> > > >> > > Could guys test it? Maybe integrate it into Kate? >> > >> > I'd rather see a real treeview mode integrated into KDirOperator - maybe >> > porting over the one from dolphin. That would benefit more applications >> > than just kate and it would mean not having two plugins essentially >> > doing the same. >> > >> > Just my 2cents as a kate user (via kdevelop). >> >> I was thinking exactly this. We now have two TreeView plugin proposals >> for kate, and the one in kde-apps is pure C++ and works pretty well. >> >> I'm very interested in getting a TreeView into kate, so I would like >> to ask our kate overlords: what's needed to get this one, or the one >> Batiste wrote upstream, or A tree view plugin upstream (maybe >> following Andreas's idea)? I'm willing to do that work and to maintain >> it, so I just need to know what it is :) >> >> So, if anyone could give me some pointers, I'll get to work on it. > > The code for KDirOperator resides in kdelibs/kfile, I haven't looked at > it too closely so I can't say wether it uses a standard listview > internally and thus you'd just need to add a way to select QTreeview > instead or wether its more involved. But thats where you need to start > :) > > Andreas > > -- > Beware of a dark-haired man with a loud tie. > _______________________________________________ > KWrite-Devel mailing list > KWrite-Devel@kde.org > https://mail.kde.org/mailman/listinfo/kwrite-devel > ------=_Part_29094_29721385.1215794895335 Content-Type: text/x-patch; name=add_tree_to_filebrowser_v2.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fij0ttr20 Content-Disposition: attachment; filename=add_tree_to_filebrowser_v2.patch SW5kZXg6IGthdGUvcGx1Z2lucy9maWxlYnJvd3Nlci9rYXRlZmlsZXNlbGVjdG9yLmNwcAo9PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09Ci0tLSBrYXRlL3BsdWdpbnMvZmlsZWJyb3dzZXIva2F0ZWZpbGVzZWxlY3Rvci5jcHAJ KHJldmlzaW9uIDgzMDk1NSkKKysrIGthdGUvcGx1Z2lucy9maWxlYnJvd3Nlci9rYXRlZmlsZXNl bGVjdG9yLmNwcAkod29ya2luZyBjb3B5KQpAQCAtMzI5LDcgKzMyOSw3IEBACiAgIHsKICAgICAv LyByZWFzb25hYmxlIGNvbGxlY3Rpb24gZm9yIGRlZmF1bHQgdG9vbGJhcgogICAgIGFjdGlvbnMg PDwgInVwIiA8PCAiYmFjayIgPDwgImZvcndhcmQiIDw8ICJob21lIiA8PAotICAgICJzaG9ydCB2 aWV3IiA8PCAiZGV0YWlsZWQgdmlldyIgPDwKKyAgICAic2hvcnQgdmlldyIgPDwgImRldGFpbGVk IHZpZXciIDw8ICJ0cmVlIHZpZXciIDw8CiAgICAgImJvb2ttYXJrcyIgPDwgInN5bmNfZGlyIjsK ICAgfQogICBRQWN0aW9uICphYzsKQEAgLTgwOCw3ICs4MDgsNyBAQAogICBRU3RyaW5nTGlzdCBs ID0gY29uZmlnLnJlYWRFbnRyeSggInRvb2xiYXIgYWN0aW9ucyIsIFFTdHJpbmdMaXN0KCkgKTsK ICAgaWYgKCBsLmlzRW1wdHkoKSApIC8vIGRlZmF1bHQgdG9vbGJhcgogICAgIGwgPDwgInVwIiA8 PCAiYmFjayIgPDwgImZvcndhcmQiIDw8ICJob21lIiA8PAotICAgICJzaG9ydCB2aWV3IiA8PCAi ZGV0YWlsZWQgdmlldyIgPDwKKyAgICAic2hvcnQgdmlldyIgPDwgImRldGFpbGVkIHZpZXciIDw8 ICJ0cmVlIHZpZXciIDw8CiAgICAgImJvb2ttYXJrcyIgPDwgInN5bmNfZGlyIjsKIAogICAvLyBh Y3Rpb25zIGZyb20gZGlyb3BlcmF0b3IgKyB0d28gb2Ygb3VyIG93bgpAQCAtODE3LDYgKzgxNyw3 IEBACiAgICJyZWxvYWQiIDw8ICJta2RpciIgPDwgImRlbGV0ZSIgPDwKICAgInNob3J0IHZpZXci IDw8ICJkZXRhaWxlZCB2aWV3IiAvKjw8ICJ2aWV3IG1lbnUiIDw8CiAgICAgICAgICAgICAgICAg ICAic2hvdyBoaWRkZW4iIDw8ICJwcm9wZXJ0aWVzIiovIDw8CisgICJ0cmVlIHZpZXciIDw8ICJk ZXRhaWxlZCB0cmVlIHZpZXciIDw8CiAgICJib29rbWFya3MiIDw8ICJzeW5jX2RpciI7CiAgIFFS ZWdFeHAgcmUoIiYoPz1bXiZdKSIpOwogICBRQWN0aW9uICphYzsK ------=_Part_29094_29721385.1215794895335 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel ------=_Part_29094_29721385.1215794895335--