parley
editor.cpp
Go to the documentation of this file.
134 m_summaryWordWidget, SLOT(slotSelectionChanged(const QItemSelection &, const QItemSelection &)));
198 QDockWidget *inflectionDock = new QDockWidget(i18n("Inflection (verbs, adjectives, nouns)"), this);
239 actionCollection()->addAction("show_multiplechoice_dock", multipleChoiceDock->toggleViewAction());
292 KCharSelect *charSelectWidget = new KCharSelect(this, 0, KCharSelect::SearchLine | KCharSelect::BlockCombos | KCharSelect::CharacterTable);
302 connect(charSelectWidget, SIGNAL(charSelected(const QChar &)), m_vocabularyView, SLOT(appendChar(const QChar &)));
323 m_summaryWordWidget = new SummaryWordWidget(m_vocabularyFilter, m_mainWindow->parleyDocument()->document(), this);
371 m_latexWidget = new LatexWidget(m_vocabularyFilter, m_mainWindow->parleyDocument()->document(), this);
390 // connect(this, SIGNAL(signalSetData(KEduVocTranslation*)), m_declensionWidget, SLOT(setTranslation(KEduVocTranslation*)));
396 ParleyActions::create(ParleyActions::RemoveGrades, this, SLOT(removeGrades()), actionCollection());
397 m_spellCheckMenu = ParleyActions::create(ParleyActions::CheckSpelling, 0, "", actionCollection());
402 ParleyActions::create(ParleyActions::ToggleShowSublessons, m_vocabularyModel, SLOT(showEntriesOfSubcontainers(bool)), actionCollection());
403 ParleyActions::create(ParleyActions::AutomaticTranslation, m_vocabularyModel, SLOT(automaticTranslation(bool)), actionCollection());
404 ParleyActions::create(ParleyActions::StartPractice, m_mainWindow, SLOT(showPracticeConfiguration()), actionCollection());
407 ParleyActions::create(ParleyActions::ConfigurePractice, m_mainWindow, SLOT(configurePractice()), actionCollection());
408 ParleyActions::create(ParleyActions::ToggleSearchBar, this, SLOT(slotConfigShowSearch()), actionCollection());
409 ParleyActions::create(ParleyActions::SearchVocabulary, this, SLOT(startSearch()), actionCollection());
410 ParleyActions::create(ParleyActions::ShowScriptManager, this, SLOT(slotShowScriptManager()), actionCollection());
411 ParleyActions::create(ParleyActions::LanguagesProperties, m_mainWindow->parleyDocument(), SLOT(languageProperties()), actionCollection());
412 ParleyActions::createUploadAction(m_mainWindow->parleyDocument(), SLOT(uploadFile()), actionCollection());
422 // connect(m_mainWindow->parleyDocument(), SIGNAL(documentChanged(KEduVocDocument*)), m_vocabularyModel, SLOT(setDocument(KEduVocDocument*)));
423 // connect(m_mainWindow->parleyDocument(), SIGNAL(documentChanged(KEduVocDocument*)), m_vocabularyView, SLOT(setDocument(KEduVocDocument*)));
424 connect(m_searchLine, SIGNAL(textChanged(const QString&)), m_vocabularyFilter, SLOT(setSearchString(const QString&)));
495 m_mainWindow->parleyDocument()->document()->lesson()->resetGrades(-1, KEduVocContainer::Recursive);
void setWidget(QWidget *widget)
KAction * create(ParleyAction id, const QObject *recvr, const char *slot, QObject *parent)
Definition: parleyactions.cpp:64
bool isHidden() const
QItemSelectionModel * selectionModel() const
Definition: vocabularyfilter.h:26
Translator * translator()
returns the Translator object the Scripting::Parley
Definition: scriptmanager.h:111
Definition: parleymainwindow.h:41
void setSourceModel(VocabularyModel *model)
Definition: vocabularyfilter.cpp:44
virtual void setVisible(bool visible)
Definition: wordtypeview.h:30
void setDocument(KEduVocDocument *doc)
Definition: inflectionwidget.cpp:64
virtual void setModel(ContainerModel *model)
Set the model for the view.
Definition: containerview.cpp:42
void setBuddy(QWidget *buddy)
Definition: parleyactions.h:39
void setMapping(QObject *sender, int id)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void append(const T &value)
void saveColumnVisibility() const
Save column visibility settings.
Definition: vocabularyview.cpp:204
Definition: inflectionwidget.h:30
void setObjectName(const QString &name)
Definition: parleyactions.h:34
Definition: latexwidget.h:36
void setMargin(int margin)
void updateDocument(KEduVocDocument *doc)
Set the current doc (after creating a new one or opening a file)
Definition: editor.cpp:104
Definition: parleyactions.h:33
void slotShowScriptManager()
Display script manager (open a new window / or Settings window)
Definition: editor.cpp:482
Definition: vocabularymodel.h:29
Definition: parleyactions.h:37
void expandToDepth(int depth)
void setWidgetResizable(bool resizable)
void removeGrades()
Removes all grading information from the current document.
Definition: editor.cpp:493
Definition: vocabularyview.h:46
void loadScripts()
Loads (activates) all the available scripts and notifies the user if any script was not activated (du...
Definition: scriptmanager.cpp:112
void setWidget(QWidget *widget)
Definition: browserwidget.h:35
void setTranslator(Translator *translator)
Set the translator to be used by the delegate.
Definition: vocabularyview.cpp:343
void setDocument(KEduVocDocument *doc)
To know about word types that are currently defined.
Definition: comparisonwidget.cpp:110
void setDocument(KEduVocDocument *doc)
Definition: vocabularyview.cpp:332
QAction * toggleViewAction() const
Definition: synonymwidget.h:35
void setDocument(KEduVocDocument *doc)
Set the new source kvtml file.
Definition: readonlycontainermodel.cpp:43
Definition: audiowidget.h:32
Definition: scriptdialog.h:26
This class finds the scripts installed in the application directory and manages loading and unloading...
Definition: scriptmanager.h:30
void show()
void setToolTip(const QString &)
void slotDocumentChanged(KEduVocDocument *doc)
Called when a KEduVocDocument change happened.
Definition: summarywordwidget.cpp:99
Definition: comparisonwidget.h:39
void setFilter(VocabularyFilter *model)
Definition: vocabularyview.cpp:151
ParleyDocument * parleyDocument()
Return the ParleyDocument member object.
Definition: parleymainwindow.cpp:413
Definition: synonymwidget.h:34
void setDocument(KEduVocDocument *doc)
Definition: vocabularymodel.cpp:48
void setSpacing(int spacing)
Represents the overview of a KEduVocExpression Shows the language word the lesson the word type pronu...
Definition: summarywordwidget.h:47
KAction * createUploadAction(const QObject *recvr, const char *slot, KActionCollection *collection)
Definition: parleyactions.cpp:196
Definition: synonymwidget.h:29
void addLayout(QLayout *layout, int stretch)
singleShot
void setDocument(KEduVocDocument *doc)
Register the document inside the widget so that it can be marked as modified.
Definition: synonymwidget.cpp:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.