31 #ifndef LEARNSPELLINGSEDITOR_H
32 #define LEARNSPELLINGSEDITOR_H
34 #include "core/templateeditor.h"
36 #include "ui_learnspellingseditor.h"
37 #include "templates/learnspellings/learnspellingsitem.h"
56 QList<LearnSpellingsItem> activeWords()
const;
66 void addSampleWord(
const QString &title,
const QString &description);
68 void removeSelectedWord();
70 void displayWord(
int index);
71 void checkTitle(
const QString &title);
72 void checkDescription(
const QString &description);
75 void configureUpDown();
76 void updateItemCount();
79 void onAuthorChanged(
const QString &new_author);
80 void onNameChanged(
const QString &new_name);
83 void setEditorsEnabled(
bool enabled);
86 Ui::LearnSpellingsEditor *m_ui;
92 #endif // LEARNSPELLINGSEDITOR_H
Editor widget of Learn Spellings template.
QString generateBundleData()
Generates RAW data which represent data of this template.
TemplateCore * core() const
Access to associated template core.
bool canGenerateApplications()
Specifies if template can generate applications or not.
Represents the editor of the template.
Simulator widget for Learn Spellings template.
bool loadBundleData(const QString &bundle_data)
Loads editor state from XML bundle.
QString projectName()
Access to project name of current editor.
The core class container for single template.
Core of Learn Spellings template.
Class which represents single word for Learn Spellings template.
QString authorName()
Access to author name of current editor.