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>
These messages are purely technical and relate to implementation
details. Therefore the strings should not be translated.
We keep the original method names.
Change-Id: I3f98aea7b9df3890bca097d1e6b77789204c8e19
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
- move settings keys constants to the settings file
- transform settings to a QHash
Change-Id: I1d41476421ce569cea3a4bd1c956d3bc0c6643f4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
- Use sentence style capitalization
- Use human readable text instead of property names
Change-Id: Iefa6ae7d3ca1df2692699063a87fdbbf13fe0751
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
And use NodeInstanceView directly. There is still more cleanup required
for the view handling.
Change-Id: I62417644ceefb25fb9f3bb93a894b71ae0929cb0
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
QmlModelView is abstract and should not hide other notifier.
Change-Id: Ic992829e8e62ecf6142f84251dc1a86d35e35c2d
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Ran script to remove inludes on a trial-and-error basis and
manually corrected it.
Change-Id: I8a2e9e35980198fc4162623db044c228bd209a0f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
SignalHandlerProperty allows editing convenient editing of signal
handlers like onMousePress in the model.
The interface is analogous to BindingProperty.
Since mos views do not care about SignalHandlerProperties and
they should not be mixed up with BindingProperties they are different
types.
I also added the signalHandlerPropertiesChanged() notifier to AbstractView.
Change-Id: I68bc7d2c5d3b991944e8f8d698212a1dfef218bf
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
WidgetInfo contains now a factory for the toolbar buttons.
The ownership of the factory is taken by the SideBarItem.
Change-Id: Iffa32359cd3f0cb5b378abc5371d810aee31649c
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
We use now widgetInfo() instead.
Change-Id: Icaea8f012b380368b6479fa81d370236ea5a6781
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
(cherry picked from commit 54431a090c)
This view improves debugging of the Qt Quick Designer.
Change-Id: I01a0240fd304c48707021d4445b2c09c9243d868
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
(cherry picked from commit 15f58b16fd)
Reviewed-by: Marco Bubke <marco.bubke@digia.com>