Dennis Haney | 4 Apr 00:19 2004
Picon

Re: : KVocTrain vs KWordQuiz -- vocabulary trainers in general

Dennis Haney wrote:

> Dennis Haney wrote:
>
>>> Thanks already for your help and clarifications,
>>
>> Please file a bug report at bugs.kde.org
>
>
> Confirmed.
> The content of the cell is wrongly kept at the current position while 
> sorting the data.
> Correct behaviour should be to move the focus to the new location of 
> the edited cell along with the current changes to the cell.
>
Having nothing better to do a saturday evening...
bug fixed and committed to head.
It was easiere to just place focus at the same location as where we were 
before the sort and throw away the changes (if any).

--

-- 
Dennis
use Inline C => q{void p(char*g){
printf("Just Another %s Hacker\n",g);}};p("Perl");
Matthias Meßmer | 5 Apr 20:24 2004
Picon

: KmPlot - New Features


Hi!

Klaus-Dieter and me changed and added a lot of things in KmPlot:

 * export to PNG, BMP, and SVG
 * better scaling by including font scaling
 * now using KConfig XT technology
 * new dialogs for editing function definitions and options
 * quick edit line in the toolbar for simple tasks
 * "Recent Files" capability
 * prevent data loss by marking if modification was made
 * some more "cosmetique" changes and code cleaning

Feel free to test KmPlot from CVS. We would like to know what you think about 
it.

Thanks a lot

Matthias
--

-- 
Matthias Meßmer
Germany
Jason Harris | 5 Apr 21:22 2004

Re: : KmPlot - New Features

Hi,

Looks very good.  I have a couple of ideas:

+ when I click on a function, it enters a "trace mode", in which the mouse 
cursor is constrained to lie on the function.  This is really nice.  However, 
the cursor lines turn red to indicate that this mode is active, but currently 
they only turn red once the mouse is moved.  They should turn red as soon as 
the user clicks on the function.  Same thing for clicking to leave "trace 
mode".  I tried to path the code to do this by adding "update()" to 
appropriate places in mousePressEvent(), but it didn't work correctly.

+ I think it would be nice if I could click and drag in the background to 
translate around the plotting area, and zoom in and out easily (perhaps very 
similar to what we do in kstars :).  AFAICT, the only way to adjust the plot 
limits now is to open the configuration dialog and adjust the numerical 
values of the limits.  That's pretty cumbersome.

+ The error message when entering an invalid function could be more helpful.  
If I enter "y=x*x", I get a messagebox with "Parser error at position 1: Void 
function variable".  Hmm, so I read the handbook, and see that it expects 
something like "f(x)=x*x" instead.  It would be great if the error message 
would suggest a valid function form.

+ Also, you should strip out whitespace characters when parsing the function 
string; the user should be able to enter something like "f(x) = x * x".  
Actually, I just noticed that spaces after the "=" are OK, it's only the one 
before "=" that it chokes on.

It's looking very good, nice work!
(Continue reading)

Klaus-Dieter Möller | 5 Apr 21:51 2004
Picon

Re: : KmPlot - New Features

Jason Harris schrieb:
> Hi,
> 
> Looks very good.  I have a couple of ideas:
> 
> + when I click on a function, it enters a "trace mode", in which the mouse 
> cursor is constrained to lie on the function.  This is really nice.  However, 
> the cursor lines turn red to indicate that this mode is active, but currently 
> they only turn red once the mouse is moved.  They should turn red as soon as 
> the user clicks on the function.  Same thing for clicking to leave "trace 
> mode".  I tried to path the code to do this by adding "update()" to 
> appropriate places in mousePressEvent(), but it didn't work correctly.
> 

Thanks for advice! Its implemented now.

	Klaus-Dieter

_______________________________________
Landesbildungsserver Schleswig-Holstein
Projektleiter kmLinux
http://www.lernnetz-sh.de/kmLinux
Klaus-Dieter Moeller
kdmoeller <at> lernnetz-sh.de
_______________________________________
Matthias Meßmer | 5 Apr 22:20 2004
Picon

Re: : KmPlot - New Features


Hi Jason, 

thx for you quick answer!

On Monday 05 April 2004 21:22, Jason Harris wrote:
> + The error message when entering an invalid function could be more
> helpful.   If I enter "y=x*x", I get a messagebox with "Parser error at
> position 1: Void function variable".  Hmm, so I read the handbook, and see
> that it expects something like "f(x)=x*x" instead.  It would be great if
> the error message would suggest a valid function form.

Some information are shown in the tooltips and what's this boxes. They give an 
example. But improving the error messages is a good idea!

Matthias

--

-- 
Matthias Meßmer
Germany
Anne-Marie Mahfouf | 5 Apr 22:47 2004
Picon

Re: : KmPlot - New Features

Hi,

I draw a function using the box in the toolbar. When I go in Edit -> Colors 
and change the color for the first function and click Apply, it does not 
change on the graph.

annma
Thomas Beinicke | 6 Apr 00:21 2004
Picon

: Question about KVocTrain

Hello,

I have started to learn Thai using your great program KVocTrain and there are
already a lot of words in the database but I have a slight problem now.

My primary language is German and so I added this is first language.
But I also have English, Thai (with Thai letters), Thai with English letters
and a description column.
Now I would like to start a query from Thai(english letters) to English but I
didn't find any way how to do that.
Is it only possible to start a query from the primary language to all other
languages but not the other way around?

It would be really kind of you to help me out.
Also is it possible to send in my vocabulary database when it's more complete
so other people could benefit from it as well?

with kind regards,

Thomas
Peter Hedlund | 6 Apr 04:06 2004

Re: : Question about KVocTrain

Hi Thomas,

On Monday 05 April 2004 03:21 pm, Thomas Beinicke wrote:
> My primary language is German and so I added this is first language.
> But I also have English, Thai (with Thai letters), Thai with English
> letters and a description column.
> Now I would like to start a query from Thai(english letters) to English but
> I didn't find any way how to do that.
> Is it only possible to start a query from the primary language to all other
> languages but not the other way around?

As far as I know KVocTrain is built around the principle of the first column 
being the original and additional columns being different translations of the 
original. Thus it's currently not possible to do what you want. I'm not aware 
of any other program that has this functionality either. If you want you can 
file a wishlist item at bugs.kde.org.

> Also is it possible to send in my vocabulary database when it's more
> complete so other people could benefit from it as well?

There is a repository at http://edu.kde.org/contrib/kvtml.php. Use the 
webmaster email at the bottom to submit your contribution. Make sure that you 
don't violate any copyright, lists can for example probably not be copied 
directly from books.

Thanks,
Peter
Thomas Beinicke | 6 Apr 10:54 2004
Picon

Re: : Question about KVocTrain

On Tuesday 06 April 2004 04:06, Peter Hedlund wrote:

> As far as I know KVocTrain is built around the principle of the first
> column being the original and additional columns being different
> translations of the original. Thus it's currently not possible to do what
> you want. I'm not aware of any other program that has this functionality
> either. If you want you can file a wishlist item at bugs.kde.org.

Thanks, I will do that. But in the meantime do you know if there is any way to 
complete exchange two columns? That would be like a work around.
I really don't want to enter everything again :)

> There is a repository at http://edu.kde.org/contrib/kvtml.php. Use the
> webmaster email at the bottom to submit your contribution. Make sure that
> you don't violate any copyright, lists can for example probably not be
> copied directly from books.

I entered everything myself and didn't use any books at all. I just entered 
what my gf told me and on the language itself is no copyright....I hope ;)

Thanks for your reply Peter,

regards,
Thomas
Dennis Haney | 6 Apr 23:45 2004
Picon

Re: : Question about KVocTrain

Thomas Beinicke wrote:
On Tuesday 06 April 2004 04:06, Peter Hedlund wrote:
As far as I know KVocTrain is built around the principle of the first column being the original and additional columns being different translations of the original. Thus it's currently not possible to do what you want. I'm not aware of any other program that has this functionality either. If you want you can file a wishlist item at bugs.kde.org.
Thanks, I will do that. But in the meantime do you know if there is any way to complete exchange two columns? That would be like a work around. I really don't want to enter everything again :)
This will switch translation number one with the primary language
perl -i.bak -pe 's|(<o)(.*?)(</o><t)(.*?)(</t>)|$1$4$3$2$5|' yourfile.kvtml
(remember to backup your file beforehand...)

Good luck with your Thai, and please do send the file when you are happy with it...
It won't be a problem to update the file though, so please send it sooner than later :-)

-- Dennis use Inline C => q{void p(char*g){ printf("Just Another %s Hacker\n",g);}};p("Perl");
_______________________________________________
kde-edu mailing list
kde-edu <at> mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu

Gmane