aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/documentwarningwidget.h
Commit message (Collapse)AuthorAgeFilesLines
* QmlDesigner: rename RewriterError -> DocumentMessageTim Jenssen2017-01-101-6/+6
| | | | | Change-Id: I8cbb1b8b83ec10c33e416de96a09281208be8773 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Polish error handling for integrated text editorThomas Hartmann2017-01-101-2/+0
| | | | | | | | | | | | | | | The integrated text editor requires a couple of fixes and features in the error handling. The errors are now handled by the model and not the document management anymore. The text editor does not get disabled if there is an error. Instead we show the error in a status bar. The form editor is blocked if there is a QML an error and we show the error message inside the form editor. Change-Id: I4bfb9b33b09e444ec1de31dd531ce83b32cbcf88 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: fix gotoCode in error/warning caseTim Jenssen2016-10-051-0/+3
| | | | | | | | The QmlDesignerPlugin::hideDesigner() jumped again to selected node, which came after the DocumentWarningWidget already set it. Change-Id: I6e84342208c6405e8b25b516cd411b30bc48fcdb Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
* QmlDesigner: merge QmlWarningDialog and DocumentWarningWidgetTim Jenssen2016-05-201-4/+23
| | | | | | | | | | - fixed cases where the user got the one and the other dialog - not only the first error is shown, the user can browse Task-number: QTCREATORBUG-15772 Change-Id: I27786b0e4f9c987646a69d8d7d9ff33e3702587a Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
* QmlDesigner: improve warning widget codeTim Jenssen2016-05-101-5/+8
| | | | | | | | | | - the "move" code needs to be inside the warning widget, this also fixes the problem of wrong position at startup - the patch removes knowledge about the DesignModeWidget and uses a signal Change-Id: I9a861ab955d16e85d7af36f1b56ddb82578b8da4 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
* QmlDesigner: move RewriterError to an extra fileTim Jenssen2016-05-101-1/+1
| | | | | Change-Id: I453b30f45e0bc447b05694eadda60d4613e88062 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
* QmlDesigner: move DocumentWarningWidget to extra fileTim Jenssen2016-04-291-0/+58
Change-Id: I6ea87a224565b77ff42f187461094ca258dcdb01 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>