forked from qt-creator/qt-creator
JsonWizard: Make the form page available to the JsonWizard
Change-Id: I86d8a199b1c3ed973b32335d14a9cd7e0d23fdbf Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "formeditorplugin.h"
|
||||
#include "formeditorfactory.h"
|
||||
#include "formeditorw.h"
|
||||
#include "formtemplatewizardpage.h"
|
||||
#include "formwindoweditor.h"
|
||||
#include "formwizard.h"
|
||||
|
||||
@@ -49,6 +50,7 @@
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/designmode.h>
|
||||
#include <cpptools/cpptoolsconstants.h>
|
||||
#include <projectexplorer/jsonwizard/jsonwizardfactory.h>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
@@ -84,6 +86,7 @@ bool FormEditorPlugin::initialize(const QStringList &arguments, QString *error)
|
||||
|
||||
initializeTemplates();
|
||||
|
||||
ProjectExplorer::JsonWizardFactory::registerPageFactory(new Internal::FormPageFactory);
|
||||
addAutoReleasedObject(new FormEditorFactory);
|
||||
addAutoReleasedObject(new SettingsPageProvider);
|
||||
addAutoReleasedObject(new QtDesignerFormClassCodeGenerator);
|
||||
|
||||
Reference in New Issue
Block a user