[Kst] Re: branches/work/kst/portto4/kst/src/libkstapp

Peter Kümmel syntheticpp at gmx.net
Mon Sep 27 10:03:40 CEST 2010

On 27.09.2010 09:40, Brisset, Nicolas wrote:
>> SVN commit 1180144 by kuemmel:
>> layout and data mode are exclusive: disable data mode action
>>  M  +15 -9     mainwindow.cpp
>>  M  +1 -0      view.h
> Hum, I'm not sure I like it. You're forcing data mode the whole time
> when in zoom mode, right? That's a bit too much, I think many people
> don't like having the data mode indicator around the whole time. It
> really has to stay optional... 

But aren't we in the data mode when we are not in the layout mode?

There is nothing like NoMode, view.h:
enum ViewMode { Data, Layout };

> However, you're right in saying that data mode does not work with layout
> mode. But why not do it like that:
> - when entering layout mode, deactivate the data mode action (memorize
> the status it not done automatically)
> - when leaving layout mode, reactivate the data mode action (restore the
> status if not done automatically)
> I think that'd be much better.
> Nicolas
> Eurocopter Deutschland GmbH
> Sitz der Gesellschaft/Registered Office: Donauwoerth
> Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
> Geschaeftsfuehrung/Board of Management:
> Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
> This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. 
> If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much. 
> It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message. 
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst

More information about the Kst mailing list