QmlDesigner: add new TextEditorView

This is the first iteration but the text editor is not connect
to the others view in all expected cases.

Change-Id: I2fa29a23f9ce1d98d3d6cc8eabddb788525e39cd
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Tim Jenssen
2016-12-22 11:07:09 +01:00
committed by Thomas Hartmann
parent 796da79b2a
commit d83a52338d
15 changed files with 360 additions and 16 deletions

View File

@@ -235,6 +235,11 @@ void DesignModeWidget::disableWidgets()
m_isDisabled = true;
}
void DesignModeWidget::showTextEdit()
{
m_centralTabWidget->setCurrentIndex(m_centralTabWidget->currentIndex() == 0 ? 1 : 0);
}
void DesignModeWidget::updateErrorStatus(const QList<RewriterError> &errors)
{
if (debug)