[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KTMainWindow, setCaption, Help menu ...
From:       Waldo Bastian <bastian () suse ! de>
Date:       1999-09-29 8:02:55
[Download RAW message or body]

On Wed, 29 Sep 1999, Troy Engel wrote:
> Espen Sand wrote:
> > 
> > 1. I am going to reimplement setCaption() and add setPlainCaption() in
> > KTMainWindow as I have done in KDialog so that we get proper captions. It will
> > quite sure make some strange captions in the beginning, but I think it is best
> > to do it ASAP.
> 
> This may be a dumb question/idea, but would adding a
> setModifiedCaption(bool) make sense?  The idea being that when an app
> has modified it's doc, it could send the KTMainWindow this with true to
> add an asterisk at the end, then when called with a false (say, after
> saving) to remove the asterisk.  A very MFC-centric idea that provides
> great feedback for the user...
> 
> It's such a common feature reimplemented in code that there really ought
> to be a "stock" way to do it, rather than reinventing the wheel.  At
> least, I think so. :)
> 
> -te

Yes. That would indeed be a very usefull feature. Although it is probably patented in the US :-)

Cheers,
Waldo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic