31 #ifndef BASICMLEARNINGEDITOR_H
32 #define BASICMLEARNINGEDITOR_H
34 #include "core/templateeditor.h"
36 #include "ui_basicmlearningeditor.h"
38 #include "templates/mlearning/basicmlearningitem.h"
56 QList<BasicmLearningItem> activeItems()
const;
66 void addNewItem(
const QString &title,
const QString &description);
68 void removeSelectedItem();
70 void displayItem(
int index);
71 void checkTitle(
const QString &title);
74 void configureUpDown();
75 void updateItemCount();
78 void onAuthorChanged(
const QString &new_author);
79 void onNameChanged(
const QString &new_name);
82 void setEditorsEnabled(
bool enabled);
85 Ui::BasicmLearningEditor *m_ui;
89 #endif // BASICMLEARNINGEDITOR_H
TemplateCore * core() const
Access to associated template core.
Represents the editor of the template.
QString authorName()
Access to author name of current editor.
bool canGenerateApplications()
Specifies if template can generate applications or not.
QString generateBundleData()
Generates RAW data which represent data of this template.
bool loadBundleData(const QString &bundle_data)
Loads editor state from XML bundle.
The core class container for single template.
QString projectName()
Access to project name of current editor.