[Kbabel] Re: next version

Marco Wegner dubbleu@web.de
Thu, 5 Dec 2002 18:59:34 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 05 December 2002 18:12, Stanislav Visnovsky wrote:
> On Thu, 5 Dec 2002, Marco Wegner wrote:
> > I have one more question concerning 'cvs status'. We had once been
> > talking about showing the 'cvs status' information as a tooltip for every
> > entry:
> >
> > On Sunday 06 October 2002 11:34, Stanislav Visnovsky wrote:
> > > I'd like to see result of 'cvs status' in a tooltip. Command-line
> > > output is just fine, only some more markup, e.g. bold "Working
> > > revision:" etc, would be nice.
> >
> > Do we still want to do that? And if so: what about the little notes you
> > wanted to assign to the files (wishlist #48502). You wanted to display
> > these notes as a tooltip, too :-)
>
> Don't know now to handle this. Tooltips are so convenient...  (therefore
> cc-ing KBabel list). Maybe a status bar could be used as well, but hardly
> for the notes.

Without having thought about this for too long:

What about a struct/class which can store a note as well as the 'cvs status' 
for a certain file. Not every file will have a note, and not for every file 
will there be the output of 'cvs status'. These structs can be stored on 
demand in a QDict or something similar. The method 
CatalogManagerView::updateFile() will then have a look if there is such a 
struct stored for the current file. If so the tooltip will be displayed. The 
struct can even be used to save the notes to the disk.

Marco

- -- 
Marco Wegner <mail@marcowegner.de>, <dubbleu@web.de>
Contributing to KBabel http://i18n.kde.org/tools/kbabel 
   and German KDE translation http://i18n.kde.org/teams/de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE975QOX3rotM03gSgRAqc4AJ9m/XETM/yMS3Yc6apR/yfE+Np9DgCgxeNg
+F2xSc8oi9F7ZOxZTg9ECic=
=ihb/
-----END PGP SIGNATURE-----