forked from qt-creator/qt-creator
DesignMode/Qt Designer clean-up Part V: Renaming
Re-introduce FormWindowEditor as IEditor used for Designer. Use SharedTools::WidgetHost directly for embedding into FormEditorStack, doing the geometry-changed handling in there as well.
This commit is contained in:
@@ -107,7 +107,7 @@ bool EditorWidget::setVisibleEditor(Core::IEditor *xmlEditor)
|
||||
return m_stack->setVisibleEditor(xmlEditor);
|
||||
}
|
||||
|
||||
Designer::FormWindowEditor *EditorWidget::formWindowEditorForXmlEditor(const Core::IEditor *xmlEditor) const
|
||||
SharedTools::WidgetHost *EditorWidget::formWindowEditorForXmlEditor(const Core::IEditor *xmlEditor) const
|
||||
{
|
||||
return m_stack->formWindowEditorForXmlEditor(xmlEditor);
|
||||
}
|
||||
@@ -117,7 +117,7 @@ EditorData EditorWidget::activeEditor() const
|
||||
return m_stack->activeEditor();
|
||||
}
|
||||
|
||||
Designer::FormWindowEditor *EditorWidget::formWindowEditorForFormWindow(const QDesignerFormWindowInterface *fw) const
|
||||
SharedTools::WidgetHost *EditorWidget::formWindowEditorForFormWindow(const QDesignerFormWindowInterface *fw) const
|
||||
{
|
||||
return m_stack->formWindowEditorForFormWindow(fw);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user