31 #include "core/templatesimulator.h"
33 #include "definitions/definitions.h"
34 #include "miscellaneous/application.h"
35 #include "miscellaneous/skinfactory.h"
39 #include <QStackedWidget>
40 #include <QPushButton>
44 TemplateSimulator::TemplateSimulator(
TemplateCore *core, QWidget *parent)
45 : QWidget(parent, 0), m_core(core) {
46 setStyleSheet(qApp->skinFactory()->currentSkin().m_simulatorStyle);
49 TemplateSimulator::~TemplateSimulator() {
50 qDebug(
"Destroying TemplateSimulator instance.");
54 return QSize(SIMULATOR_CONTENTS_WIDTH, SIMULATOR_CONTENTS_HEIGHT);
void canGoBackChanged(bool can_go_back)
Emitted if "can go back" status of simulator changes.
TemplateCore * core() const
Access to associated template core.
virtual void launch()
Called when core with this simulator widget is fully loaded from XML bundle or newly created...
QSize sizeHint() const
Hint for default and fixed size for all simulator contents.
The core class container for single template.