parley
#include <lessonview.h>
|
void | currentChanged (const QModelIndex ¤t, const QModelIndex &previous) |
|
void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
|
void LessonView::columnsInserted |
( |
| ) |
|
|
slot |
get notified of new columns only to hide them (grades not shown by default).
Definition at line 192 of file lessonview.cpp.
void LessonView::currentChanged |
( |
const QModelIndex & |
current, |
|
|
const QModelIndex & |
previous |
|
) |
| |
|
protectedslot |
void Editor::LessonView::lessonsInPracticeChanged |
( |
| ) |
|
|
signal |
Emitted when any of the checkboxes for the query change.
void Editor::LessonView::selectedLessonChanged |
( |
KEduVocLesson * |
lesson | ) |
|
|
signal |
void LessonView::selectionChanged |
( |
const QItemSelection & |
selected, |
|
|
const QItemSelection & |
deselected |
|
) |
| |
|
protectedslot |
Set the model for the view.
- Parameters
-
Definition at line 182 of file lessonview.cpp.
void LessonView::setTranslation |
( |
KEduVocExpression * |
entry, |
|
|
int |
translationId |
|
) |
| |
|
slot |
void Editor::LessonView::signalShowContainer |
( |
KEduVocContainer * |
selected | ) |
|
|
signal |
Emitted when a new container is selected.
Indicates the selected container.
void LessonView::slotCreateNewLesson |
( |
| ) |
|
|
slot |
Append a lesson to the model and automatically set an edit up so the user can change "New lesson" into something meaningfull.
Definition at line 130 of file lessonview.cpp.
void LessonView::slotDeleteLesson |
( |
| ) |
|
|
slot |
Remove a lesson.
Ask if it's not empty.
Definition at line 145 of file lessonview.cpp.
void LessonView::slotSplitLesson |
( |
| ) |
|
|
slot |
Creates many small lessons with the contents of the original lesson.
- Todo:
- Let the user select if entries are taken by random or order.
- Todo:
- A nicer dialog would be great. Maybe with radio buttons to ask, if the entries should be in random order or as they come.
Definition at line 164 of file lessonview.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.