forked from qt-creator/qt-creator
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:
committed by
Thomas Hartmann
parent
796da79b2a
commit
d83a52338d
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user