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

Peter Kümmel syntheticpp at gmx.net
Tue Sep 28 09:45:32 CEST 2010

On 28.09.2010 08:06, Brisset, Nicolas wrote:
>> But the old code looked like this:
>> void MainWindow::setLayoutMode(bool layoutMode) {
>>   View *v = tabWidget()->currentView();
>>   Q_ASSERT(v);
>>   if (layoutMode) {
>>     v->setViewMode(View::Layout);
>>   } else {
>>     v->setViewMode(View::Data);
>>   }
>> So I think not seeing the jumping point in non-layout mode is a bug.
> Well, what I wrote yesterday was the user perspective, I hadn't looked at that part of the code. It may be that the code is not clear, but I can assure you that as a user you don't always want to have that point jumping all around. 
> If the code is not clear, we have to fix the code - not the behaviour of the program, especially when it was right :-) I'll have a look at it and try to make it as it should be, I guess that'll help you understand the intention. You can also call me if you prefer a direct explanation.
> Gruß,
> Nicolas

OK, seems we have found a new mode/option, we only have to find a better name than "Data Mode".
Isn't it a toggable option for the View menu: "View->Data Point" or something like that?
Especially currently the View menu looks a bit too empty.


More information about the Kst mailing list