![]() |
BuildmLearn Toolkit
2.0.4
BuildmLearn Toolkit is an easy-to-use program that helps users make mobile apps without any knowledge of application development.
|
The core class container for single template. More...
#include <templatecore.h>
Public Types | |
enum | GenerationResult { Success, ZipProblem, SignApkProblem, JavaProblem, BundleProblem, CopyProblem, Aborted, OtherProblem } |
Possible results of generation of bundle data. | |
Signals | |
void | generationProgress (int percent_completed, const QString &progress_info) |
Emitted when there is something new concerning generating of mobile APK application. More... | |
Public Member Functions | |
TemplateCore (TemplateEntryPoint *entry_point, QObject *parent=0) | |
virtual GenerationResult | generateMobileApplication (const QString &input_apk_file, QString &output_file)=0 |
Generates APK file from current project with active settings. More... | |
virtual void | launch () |
Called after this template is fully loaded in toolkit. More... | |
virtual TemplateEntryPoint * | entryPoint () const |
Access to entry point of the template. More... | |
virtual TemplateEditor * | editor () const |
Access to editor widget of the template. More... | |
virtual TemplateSimulator * | simulator () const |
Access to simulator widget of the template. More... | |
QString | assignedFile () const |
Access to assigned XML "bundle" file. More... | |
void | setAssignedFile (const QString &assigned_file) |
Sets new assigned file. More... | |
Protected Attributes | |
TemplateEntryPoint * | m_entryPoint |
TemplateEditor * | m_editor |
TemplateSimulator * | m_simulator |
QString | m_assignedFile |
The core class container for single template.
Definition at line 43 of file templatecore.h.
QString TemplateCore::assignedFile | ( | ) | const |
Access to assigned XML "bundle" file.
Template core gets assigned path to XML "bundle" file, when it is loaded from that XML bundle file or when it is saved into some XML bundle file.
Definition at line 50 of file templatecore.cpp.
|
inlinevirtual |
Access to editor widget of the template.
Definition at line 84 of file templatecore.h.
|
inlinevirtual |
Access to entry point of the template.
Definition at line 78 of file templatecore.h.
|
pure virtual |
Generates APK file from current project with active settings.
Implemented in QuizCore, LearnSpellingsCore, FlashCardCore, and BasicmLearningCore.
|
signal |
Emitted when there is something new concerning generating of mobile APK application.
percent_completed | Percent of mobile application generating completed. |
progress_info | Description text of status of current generating process. |
|
virtual |
Called after this template is fully loaded in toolkit.
Definition at line 45 of file templatecore.cpp.
void TemplateCore::setAssignedFile | ( | const QString & | assigned_file | ) |
Sets new assigned file.
assigned_file | New assigned file. |
Definition at line 54 of file templatecore.cpp.
|
inlinevirtual |
Access to simulator widget of the template.
Definition at line 90 of file templatecore.h.