forked from qt-creator/qt-creator
PythonEditor: added class wizard
Contains SourceGenerator class which was also used to generate app template in PythonProjectManager; it saved for future use. Change-Id: I3d44e6d33a3beabc73030acdd6740edf1745e485 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "pythoneditorplugin.h"
|
||||
#include "pythoneditorconstants.h"
|
||||
#include "wizard/pythonfilewizard.h"
|
||||
#include "wizard/pythonclasswizard.h"
|
||||
#include "pythoneditorwidget.h"
|
||||
#include "pythoneditorfactory.h"
|
||||
|
||||
@@ -249,6 +250,7 @@ bool PythonEditorPlugin::initialize(
|
||||
// Add Python files and classes creation dialogs
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
addAutoReleasedObject(new FileWizard(Core::ICore::instance()));
|
||||
addAutoReleasedObject(new ClassWizard(Core::ICore::instance()));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user