This patch implements a new editor for the connection view called
"Backend".
This new editor allows creating properties in the root item for
types registered by qmlRegister(Singleton)Type in the project.
This will make the type available in the qml file and allows to use the
type/object as backend.
The "backend object" can be just declared or locally instanciated.
For singletons we just add or remove the import. A singleton object cannot
be added twice, since the import does already exist when it is added once.
Change-Id: I2443e431c8564a88cde7ed02fa87f3ab83ca9877
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
We should not append a '1' to the type name and tye the lower case
type name first.
We do not allow properties of the root item and 'item'.
The name 'item' is simply to ambiguous.
Change-Id: I31c3ac0c40015ea750d00d274ca0d40fa1444cf9
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
It's not the one of the lldb process anymore, so set it explicitly.
Change-Id: Ibcc2b63631c4096f860996ad6ccfc12415d8aefd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Enable devices to define their default themable icon.
Kit icons are now by default the Desktopdevice icon,
overridable by the device icon of the kit's device,
in turn overridable by an icon file path.
KitManagerConfigWidget: The browse button for the Kit
icon gets a "reset" action.
Change-Id: I6328ba7d640393aee2c324c592e76b4d5430586a
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This removes sessionList logic which moved to
SessionView / SessionModel which is already used
in the WelcomePage.
Change-Id: I108b84a038ae49cf75397988b20d6b5123912292
Task-number: QTCREATORBUG-15790
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This can show the last modified time of a session and
will be used in a next commit to make it more clear
when session was saved.
Change-Id: I9f73f62652efc9287563f833f25c49f79c39d936
Task-number: QTCREATORBUG-15790
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This will replace the simple session list in
SessionManager UI.
Change-Id: Idec2fa2e4629b9986a5d274d6da5129e779e2100
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Each kind of Device used to add its own top-level preference page, with only a single
tab in each, which makes the list of categories almost irrelevant.
Regrouping all these under the 'Devices' category makes the settings page much more
consistent and reduces the clutter.
Change-Id: I72c04b57004c2e1b1f57208bdaabe8b944390558
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This is done by updating folders once and not per file.
Task-number: QTCREATORBUG-16930
Change-Id: I6c1959031e7ad774cfd22c7364c88e1d0bd32962
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
At least on Windows long commands (addDebugger, rmDebugger) have excess
indentation.
Change-Id: I10b56197dd2ad29f29a9df13146a393cea3aff1e
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
LLVM_LIBDIR=/usr was making this code insert -Wl,-rpath,/usr/lib64
into the link line, which leads to link errors due to libQt5Qml.so being
picked up from there rather than from where the rest of my self-built Qt is.
(Qt5Qml is an indirect dependency of the other libs on the link line)
Change-Id: I76164905ede416ba2fb895fda372c08633777f4f
Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The model now supports dynamic node properties. e.g.:
Item {
property Item item: Item {
}
}
In this case Property::dynamicpropertyType() is Item and
Property::isDynamic() is true.
To create such a property I added:
NodeProperty::setDynamicTypeNameAndsetModelNode().
It is not supported to reparent nodes in an out of
dynamic node properties. The model throws an exception in this case.
This is currently not required on the application level and not
supported by the rewriter.
Change-Id: Ie05325663c481d8583dc45bee38b559c190fbb30
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This adds more information to the top-level item
in map and hash entries.
Change-Id: Id43689fd0b968142ff2e9d06c58687a92b5b17c7
Reviewed-by: David Schulz <david.schulz@qt.io>
"stderr" is clearer and it does not get in the way when searching for
diagnostics starting with "error: ".
Change-Id: I7dcd679ad65964ee66d69385550d808f6dbf91ae
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
You cannot use the variable itself in its initializer...
Change-Id: Ibaf64b717b0ad5523b4ef8cf20ce4bf967a64a43
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Seeing the parser error message makes debugging easier.
Change-Id: I3162a4d8cdf116714f457b84f9055769747169a7
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Double clicking watch handler window without hitting an item
used to trigger 'Add New Expression Evaluator...'.
Change-Id: I452eb56476f7186ac36f7a9f1e9d2a43c109a9b1
Reviewed-by: hjk <hjk@qt.io>
... on KeyPress event and others.
This fixes e.g. deleting a watch expression by pressing the Delete key.
Change-Id: Ie0eabf20fb4aeee8349d0282aa4378835d07bc43
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
The Qt creator crashed randomly while closing. Fixed the iostool process
termination
Task-number: QTCREATORBUG-14862
Change-Id: Ib356020095fe23f277389ebe30d8dedf4380ec28
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The PLUS icon was actually PLUS_TOOLBAR, so name it that way and add an
actual PLUS icon.
Remove the drawing of the branch indicators from the kit tree view by
overriding the method that does it.
Change-Id: I395e5187c1738faaee3e122b4f3f359261b514d7
Reviewed-by: hjk <hjk@qt.io>