Commit Graph

7 Commits

Author SHA1 Message Date
Tim Jenssen
d915b22db9 improve static initializers
Change-Id: I304fdd6627f01fc216c84930da607127c52409d9
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-09-23 14:27:01 +00:00
Tim Jenssen
1d61239bb9 QmlDesigner: readd the flag to fix a crash
Also this is necessary to be at the right middle
position of QtCreator.

Change-Id: I691002b7ed5a29a1ea2094f62aba121b2a2e458e
Task-number: QTCREATORBUG-16673
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-07-29 08:25:11 +00:00
Thomas Hartmann
a72c24a0fd QmlDesigner: Cleaning up DocumentWarningWidget
This patch also simplifies DocumentWarningWidget.

Task-number: QTCREATORBUG-16539
Change-Id: I64a715c2a0eaf12a8515a59566e7b22c86ad8928
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-07-19 14:14:46 +00:00
Thomas Hartmann
78be4281c1 QmlDesigner: Fixing DocumentWarningWidget
* Connect was missing
* The check box contains the opposite truth value of the setting.

Change-Id: If6ef86e0e1107ce537ee05ddf983131f65ee9e20
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-06-23 12:57:44 +00:00
Tim Jenssen
6512227302 QmlDesigner: merge QmlWarningDialog and DocumentWarningWidget
- 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>
2016-05-20 10:29:16 +00:00
Tim Jenssen
cacdcf7160 QmlDesigner: improve warning widget code
- 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>
2016-05-10 13:04:04 +00:00
Tim Jenssen
55c951e4a7 QmlDesigner: move DocumentWarningWidget to extra file
Change-Id: I6ea87a224565b77ff42f187461094ca258dcdb01
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-04-29 08:07:15 +00:00