Re: some news / ideas
"Carsten Niehaus" <[email protected]> Sun, 5 Oct 2003 17:37:29 +0200 (MEST)
| Newsgroups | gmane.comp.tools.memaid.devel |
|---|---|
| Message-ID | <[email protected]> |
> spare time for KMemAid after this weekend. :-(
> Anyways, I hope he will help us, even with hints what should be changed,
Well, within the week I can't access cvs, thats it. Only that today my
notebook
broke. To be precise: I can't tpye the letters "h", "k" and "l" and the
backspace.
I need a new keyboard or new electric contacts for the notebook and have
no idea how long that takes --> no coding this week. I am writing this email
on a windows-PC of my dad.
> - My MemAid UI versions - nothing serious happens here, sorry.
In KDE-EDU is a class called KPlotWidget. With that class you can simly plot
2d-Plots with x/y-Axes, cool tickmarks and everything you ever wanted :) I
already
use that class in Kalzium and it works great. I am thinking about adding
plotting
of the statisticts. Perhaps something like the changes of a certain value in
time (eg
in the last 4 weeks). Are those facts stored in the datafile?
> - Categories.
> I need to know what would be the best implementation of categories from
> GUI
> programmer point of view (Klemens? Carsten? Or anybody who knows. Any
> hints?).
Well, two ideas: What about a enum categorie { SCIENCE = 1 , LANGUAGE = 2
... }
The problem with that: the user can't define the categories himself.
Therefore I propose
this: In a configurationfile is a list with categiers. Perhaps XML?
<categories>
<KMAcat>
<name>Science</name>
<defaultDifficulity>easy</defaultDifficulty>
and so on...
<KMAcat>
<KMAcat>
<name>Languages</name>
<defaultDifficulity>medium</defaultDifficulty>
and so on...
<KMAcat>
</categories>
Qt has xml-parser-classes, xml is pretty wild used and is not Qt-dependend
(like the
KConfig/KsimpleClasses are).
When KMA is started it reads the list and for the KDE-GUI appends the
different categories
to a QStringList. For non-Qt-code it would be a map or a vector.
Carsten
--
NEU FÃR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-GruÃ, GMX FotoService
Jetzt kostenlos anmelden unter http://www.gmx.net
+++ GMX - die erste Adresse für Mail, Message, More! +++
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf