From quanta-devel Fri Jan 04 13:38:25 2008 From: Andras Mantia Date: Fri, 04 Jan 2008 13:38:25 +0000 To: quanta-devel Subject: Re: [quanta-devel] Where implement Upload Profiles? Message-Id: <200801041538.30957.amantia () kde ! org> X-MARC-Message: https://marc.info/?l=quanta-devel&m=119945397629496 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1135754444==" --===============1135754444== Content-Type: multipart/signed; boundary="nextPart24993117.F4lY5BSYOy"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart24993117.F4lY5BSYOy Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, here are my thoughts as well. :) On Friday 04 January 2008, Jens Herden wrote: > > I would like to help developing Quanta4. I have some Qt4 > > experience, hopefully enough... That's be great! > > I thought a not too hard job would be the upload profiles (imho the > > most useful Quanta3-feature). Good choice, also because it is important to work on what you like. > > Now my questions: > > - Should this be a new plugin - or added to the projectfilemanager? > > I would say this should go in a plugin itself so that people who > don't need this feature can disable it.=20 I agree with this. > However that does not say=20 > anything about how it will get presented inside of the GUI. In my > mind was already an idea to make the projectfilemanager flexible so > that other plugins can display their stuff there. Something along the > line of creating a wrapper model or so. However the easiest solution > is to create your own widget(s) for this. Well, you can do as in Quanta3 or come up with an integrated solution.=20 Probably a separate widget is the easiest. In my opinion upload=20 profiles should contain also the upload treeviews for different servers=20 and the code which does the actual upload. Here a new, and often asked=20 feature, would be to synchronize the server with the local project (two=20 way synch).=20 > > - for now it would be the easiest to reuse the .session file from > > Quanta3 projects > > Where to store the information is something I and Andras have thought > about already but we did not come to any final solution. I think one > way would be to use custom fileitems which can handle additional data > from Quanta. Yes, the storage format should probably be changed. But as long as in=20 the code it is well separated, you can store right now in the .session=20 file in XML, and we can change it later to something else.=20 > > - how do I add a upload-file action to the context-menu of the > > project-view > > There is a way to add actions to the context menu. The way how to do > it changed in kdevelop4 but you should be able to find examples. > Either in Quanta4 or Kdevelop4. If you cannot find it, I'll look at the code and post the example. > > - > where could be the dialog to edit the upload-profiles > > (belongs to some project-properties - which don't exist yet(?)) > > There is a standard way to add configuration pages for plugins. > Please check kdev-platform for this. There should be some examples > already. You have to create separate kcm dialogs (kcontrol modules) and they=20 could be integrated then to the project options page. Examples are in=20 kdevplatform and kdevelop. Andras =2D-=20 Quanta Plus developer - http://quanta.kdewebdev.org K Desktop Environment - http://www.kde.org --nextPart24993117.F4lY5BSYOy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQBHfjbWTQdfac6L/08RAkJ/AJsHE5Jeko8/ji37IZXooPg3aMJ1KgCaA0Zr hJDCRRUdMChQeEGurESnf+k= =76D1 -----END PGP SIGNATURE----- --nextPart24993117.F4lY5BSYOy-- --===============1135754444== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ quanta-devel mailing list quanta-devel@kde.org https://mail.kde.org/mailman/listinfo/quanta-devel --===============1135754444==--