34 #include "core/templateeditor.h"
36 #include "ui_quizeditor.h"
37 #include "templates/quiz/quizquestion.h"
74 void updateQuestionCount();
75 void addQuestion(
const QString &question,
const QStringList &answers,
int correct_answer);
77 void loadQuestion(
int index);
78 void removeQuestion();
80 void moveQuestionUp();
81 void moveQuestionDown();
83 void configureUpDown();
84 void setEditorsEnabled(
bool enabled);
89 void updateNameStatus();
90 void updateAuthorStatus();
99 #endif // QUIZEDITOR_H
QString projectName()
Access to project name of current editor.
bool canGenerateApplications()
Specifies if template can generate applications or not.
Simulator for Quiz template.
QString generateBundleData()
Generates RAW data which represent data of this template.
Main core of Quiz template.
TemplateCore * core() const
Access to associated template core.
Represents the editor of the template.
QList< QuizQuestion > activeQuestions() const
Access to list of added questions.
bool loadBundleData(const QString &bundle_data)
Loads editor state from XML bundle.
The core class container for single template.
QString authorName()
Access to author name of current editor.
Container for one question.