Simplify the code in the process.
In fact, looks like this was not doing much except setting the name
and version number, which are not even really needed for building.
Change-Id: Iafa65f0e2a0708888d1fc4ca19c932560ee4af68
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The 'pathExists' function can be registered to the database connection
and is then callable in Sql.
Task-number: QDS-9217
Change-Id: I21afc5cd38765854daa0b1058cc5e8946b551924
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Sqlite::ProgressHandler handler{
[] { return Sqlite::Progress::Continue; },
1000,
database};
is setting up a progress handler for this scope. If the handler is
destructed it will automatically reset the handler on the database. The
handler is active for the whole database connection.
Task-number: QDS-9216
Change-Id: I59831f40d32c062eefdfb0c4dfbf3045058e1fd2
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
The previous change for QTCREATORBUG-288 introduced an issue where
relative folder nodes would include ".." in their internal path.
This made it impossible for code to search for absolute directory
names.
This fix makes it so that the path of folder nodes are cleaned.
Fixes: QTCREATORBUG-28826
Change-Id: I3fd5b289b10f012b6bacb7f13bdbc71f905fb252
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
There is a new feature, which lets to have Figma users templates
from Qt Design studio on Figma end. And later getting components
imported from Figma to Qt Design studio to have them accurately
as local components. This document aims to note that process.
Fixes: QDS-8719
Change-Id: I8b375730c32c8a41bbeebcacc616ed2a295bf881
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
The Live Preview icon is replace with a Live Preview button.
Also some other minor fixes.
Task-number: QDS-9120
Change-Id: I9c351f91f28610206c5986821e0a84349f370869
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Since we adjust the semnatics and allow a mode change if there
is a ui.qml file (even though the design mode is technically disabled),
we require this extra emit.
Task-number: QDS-9040
Change-Id: I1536b6ee9349ab49cca77c7c29b3abe8c7bac973
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
/var/run is not writable for users in a lot of setups.
Change-Id: I510c04f6ee5887e3c58b3f6d4a2a870d9c0bc5a2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add more style definitions in CSS
* Add CSS to curve editor, timeline and transtion editor tool bar
* Add spaces to curve and transition editor tool bar
* Fix icons and margins in form editor tool bar
* Remove inline CSS from nevigator search widget
Change-Id: I21467783ad491d5c3ba646e6b3ac2d95b47e5fb5
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Less space is applied between the items
* Colors are modified
Task-number: QDS-9079
Change-Id: I5c9dbdf4ecdb518d509532a8e49c5eda098d760a
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
That's the terminology Qt used in the main engine.
Change-Id: Ieb6a1c3ef19c306ed64b0a530c1a956a6266b20d
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Instead of using the paths to the real, downloaded textures, the paths
of the icons (thumbnails) were being used.
Task-number: QDS-9228
Change-Id: I828b765c4f86502403b84fdf18532d1353d3a62c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Previously, the user would have downloaded the real texture even when
clicking with the right mouse button.
Task-number: QDS-9226
Change-Id: I4040cda4a8c541edc12b4bfe821a09c76eb7efc4
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Use automatic word-wrap instead, by making it an html tooltip. This is
also less weird when translating (though one needs the <p> tags).
Change-Id: I96f2719b46c5a0242ef6e94db38bb67a6f79ab80
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
It is specifically PureActionInterface pointer that is getting deleted,
and it is subclassed, so its destructor needs to virtual for delete to
work properly.
Fixes: QDS-9221
Change-Id: Iba3b9d944de521d7e115b0d85f5a0f107b703fc1
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
A "locking" mechanism was implemented to prevent multiple textures from
being downloaded at the same time. However, there was a mistake made,
which made it so that when a texture that had already been downloaded
was clicked again, this locking would be enforced and not released.
Also, fixed minor issues:
* The download button now has a black outline, so as to better
distinguish it inside black-and-white textures
* Canceling the download of a texture no longer marks the download as
failed -- it should show it as if the download was never attempted.
* Fixed tooltips not showing the texture size for downloaded textures
- and now we also update the tooltip text after the real texture has been
downloaded.
* Always creating the "target path" in the FileExtractor, if it does not
exist -- this is different from the "target folder" name, which is an
folder that can optionally be created inside this "target path"
Task-number: QDS-8664
Change-Id: Ieac0e81a5595a8bff3d1aa7ff6252e16c2509c2e
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
The cancel button of the search result widget gets visible when a search
is currently ongoing in other states it is hidden. Showing and hiding
the cancel button changes the height of the replace tool bar. In the
case of clangd a search is started whenever the replacement text changes
to update the results. So if the results are received shortly after
requesting them the cancel button is only shown briefly resulting in the
flickering. Avoid this by setting a fixed minimum height to the label
containing the cancel button.
Change-Id: I6fb7a4cfe256c7612a902be621fa9ad971681ee7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This way one can do certain things knowing that CMake is being run in Qt
Creator.
Change-Id: If3ac8a52f30f9fa73a756212199a25632c757dcd
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>