blinken does not like the wordwrapping text so make it configurable with a flags parameter, this is bic but sc, besides we never guaranteed any kind of bc on libkdeeduui
Add a word type class derived from container.
Make the layout of the word type widget better.
Make the adjective/adverb buttons work.
Save the changes to the comparison forms.
Merged revisions 735356-742172 via svnmerge from
svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu
Finally have nice lesson and word type handling.
For now word types still use the unmodified lesson class.
Last cleanup the definition of KVTML-2 XML for KDE4.
Word types were badly defined and multiple strings written in the entries.
- For the next release word types will use the lesson class.
- The container (KEduVocContainer, the current lesson) will be the base for Leitner, Lesson and Word Type.
Rename some writeType to writeWordType.
Update the dtd
Rename wordTypeLesson -> wordTypeContainer in KEduVocDocument.
Add a parameter to the LessonModel constructor to determine its type.
Call WordTypeDockWidget::setDocument from ParleyApp::updateDocument() to display the word types.
CCMAIL:pete@pmurdoch.com
Change expression to contain a pointer to its translations and the translations have a pointer to their parent expression.
Also translation now contain pointers to their word types represented by lessons.
Replace the Multiple Choice class by a simple stringlist.
Use a stringlistmodel for the mc dock (very improvised still).
Port cvs reader and pauker a little.
This is really a work branch now.
Start the rewrite of the table model and lesson model.
The table now contains all single line things, the other editing will use dock widgets.
Nothing works.
Both models are not editable yet.
Rewrite of the lesson part of the lib - now there is one root lesson containing the world.
Another time crash and burn...
Jason Harris [Sun, 11 Nov 2007 16:45:29 +0000 (16:45 +0000)]
Remove the ExtDate library. It can't remain, because much of it is
based on Qt-3.x code, and therefore licensed under GPL v2 only. KDE
is migrating to GPL v3, which is not compatible with GPL v2.
KStars is already ported to use the new KDateTime classes. AFAIK, no
one else is using ExtDate (there is some usage in extragear, but those
programs use their own local fork of extdate).
TODO: After removing extdate, there are no more widgets defined in
libkdeedu/widgets. We could remove this directory, but I've left it
in for now in case we add widgets at some future date.
Reverted changes made earlier today - and I added the workaround in the root file as described in kde-buildsystem - please tell me again if this should go somewhere else 2/3
Add a xsl/xslt stylesheet that can be used to transform kvtml-xml to html.
So far it only creates a simple table with all vocabulary entries.
This will hopefully be a nice comfortable solution for printing some day.
Jason Harris [Tue, 30 Oct 2007 06:13:14 +0000 (06:13 +0000)]
Fixing bug #151302. Our implementation of weekNumber() was far too
simplistic. It now conforms to ISO 8601. Thank you for discovering
the problem! Also applied to the 3.5 branch.
In agreement with Peter I removed the leitner system implementation from libkdeedu.
- It was never completed
- It was used in none of our apps, only KWQ had some unfinished functions for it
This does not solve the Leitner implementation problem.
My current plan:
* Have a Leitner implementation in KDE 4.1
* Use the lesson class as leitner boxes
- since kvtml2 entries can be in multiple lessons, no need to reinvent the wheel
- have svg boxes to display the current state if possible
Details are still to be decided and this is just an idea.
KWordQuiz and Parley should share the implementation.
Cleanup conjugations.
Verify for conjugations is much improved and basically works.
Problems:
- you have to get all conjugations in all selected tenses right at the same time to have it count as correct.
- statistics are not considered when selecting the verbs (need grades for conjugations I guess)
- line edits that stay empty are now hidden, their labels not
Use the index from the Conjugation class in the conjugation practice for the line edits.
Much cleaner less redundant code.
Change from totaly unusable to actually somewhat working.
Askes the tenses chosen in the config and actually should even ask one tense after the other.
Cleanup and improve the vokabeln reader.
Original patch by Ilja.
> This patch should make possible to open .voc with longer header. (e.g.
> http://www.vokabeln.de/v1/download/GB_Technik.zip).
> KEduVocDocument::setDocumentComment changed to allow to insert
> multiline file comments from .voc files.
CCMAIL: iljuss@gmail.com
Read plural pronouns correctly from old docs.
Add isEmpty() to conjugations.
Attempt to make conjugations a little less broken:
- empty conjugations are ignored
- a stringlist contains possible tenses to practice
- for now only the first not empty tense is practiced
Add combobox to select special types (like noun) for a work type.
This empowers the mighty user to have even multiple noun types, each with subtypes.
Localization of the specialtypes is not implemented yet.
This breaks ABI since I removed an old debug call from the lib.
Added setSpecialType calls.
Add a real personal pronoun class. It contains if male/female/neuter conjugations exist.
Add methods to read/write personal ps.
Rewrite conjugation to use enums.
Redo the dialogs for entry conjugation and articles. Much simpler and nicer now.
Conjugation practice does not work yet.
Make declination class compile, not used still.
Don't pass the domDoc countless times in the kvtml-1 writer, it's a member now.
Adapt readers/writers, the kvtml-1 writer needs care, it will not work correctly.
Rewrite of the article class with enums.
Port parley.
Adapt CMakeLists.txt as discussed with Alex.
KDE4_ADD_TEST_EXECUTABLE is deprecated now use KDE4_ADD_EXECUTABLE(<target> TEST <files>) instead
QT4_ADD_DBUS_INTERFACE_NO_NAMESPACE and QT4_ADD_DBUS_INTERFACES_NO_NAMESPACE are deprecated too
used SET_SOURCE_FILES_PROPERTIES(<files> PROPERTIES NO_NAMESPACE TRUE) QT4_ADD_DBUS_INTERFACES(<srcList> <files>)
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) is put in each CMakeLists.txt where
KDE4_ADD_EXECUTABLE(<target> TEST <files>) and KDE4_ADD_UNIT_TEST were used.
Rewrite the article class using enums, only one get/set function is needed now.
So far we only read/write singular. But support is there for plural and dual.
Deprecated old constructor with arguments, but leave it for now, since porting will take some time.
This breaks compability with articles in kvtml2 docs!
Port parley to use that stuff.