...by setting the context properties in the constructor.
Also remove some unused includes.
Change-Id: Ibb7901b79b5a97552fee7cf8428f35293451dbc4
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Also did some modifications to the delegate's text and indicator margins.
Fixes: QDS-10747
Change-Id: I700b0dd9d8843de47cccf058cd004e5da90761d2
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Quick3D property sheets added to QDS. This is a
temporary solution until project storage processes
sheets from Qt.
Task-number: QDS-14121
Change-Id: I2602132cff330d312b39310e3b130f75d0888934
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
* Some C++ warnings are fixed
* A small improved performance in a string lookup
Change-Id: Ib0cd51b1507e1f61f93e9f3b5c24c73c5d886c3d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
On macOS value editing signal is not emitted if the user directly pushes
the apply button. (The editing field stays on editing mode, so the
changes are not committed)
Also if the name is not edited, and display name is not changed, if the
user pushes apply, the uniName is edited on windows, but is not
displayed while the semi-dialog is opened, which is not good.
Fixes: QDS-14373
Change-Id: I5b1ac0b906baf775611564fb5021103c29e03f73
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Use a static constexpr variable instead of a global variable.
skipModules is only used in the function.
Change-Id: Icb4ad4663ce84f8aaa0c286acdc997dcd2e67aa0
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
std::ranges would be even more optimal but we can do that later.
Change-Id: I81a949bc1f9149e8a33bed88dc5ff9a9949bdc20
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
scattered `#ifdef` guards are functional, but centralize
logic would be better:
- all classes which need webengine could have empty implementations
in case if it is not there
- or use a factory pattern to abstract feature handling:
```cpp
class DVConnectorFactory {
public:
static DesignViewer::DVConnector *create() {
#ifdef DVCONNECTOR_ENABLED
return new DesignViewer::DVConnector();
#else
return nullptr;
#endif
}
};
Change-Id: I3a620d6cef0a6adbb2ece6e11a5e293e224e6b52
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* If the document is opened for editing, TextDocument will be changed.
Otherwise, only the code for the shaders will be changed.
* Unnecessary model reset for the uniforms is removed.
Fixes: QDS-14371
Change-Id: I4a521cdbbc1af680fa1efbfc8da3183d9fc8e6a1
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
- Add a Note to instruct the user on further Python or data file
extensions.
Task-number: QDS-13486
Change-Id: If22746fd3753f2ec31003b8b5cb32b3ba4c2f140
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
You can test in the powershell with:
(Get-Item "./qtdesignstudio.exe").VersionInfo | Format-List
Task-number: QDS-14410
Change-Id: I9a01f795d2bd63a3a6579729972eed93608a77e0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This make the text selectable so it can be copied.
Task-number: QDS-14230
Change-Id: I4c2e208dfec5e21d19c4c843db9ba4a736a0105d
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
If type information is incomplete an UpdateItemlibrary will be triggered
later. Until then we do not show error messages.
Change-Id: Ic429741019d76f7fbd2f6ae9e48664650b28d666
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This is usually the case when opening the first file and will take
about a second. This makes incomplete types a lot more improbable.
Change-Id: Ie3b545283f531f362cacbeb66ec1d2d30e619566
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Apparently the manual width calculation for the labelInfo broke link
support (the hand wasn't appearing and the link wasn't resolving).
Replaced the row with the RowLayout and filled the remaining space with
labelInfo.
Task-number: QDS-13932
Change-Id: I383c67a16c7f778a5ffdeca494388c134543c64b
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* StyleModel is refactored to update items correctly. Icon is available
as a role. The model is a proxy model now.
* Caching the style id is simplified.
* Wizards get updates on their options for the style.
* User presets are saved correctly for the styles.
* ToolbarBackend gets updates for the style of the current document.
Fixes: QDS-11937
Change-Id: I1616f7483d01fe4f349e52a0cf9e6e76c8d41932
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Internal logic was also changed so that if Running is true, Time field
is ignored. It is also no longer necessary to reset the Time field to
restore Running to working condition.
Similar changes were made for frame based animations.
Fixes: QDS-14386
Change-Id: I2e6dd3d7c199a5b449abf227a48f6d13777980c3
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
When using Tr::tr we have a single translation context,
which makes the translators easier.
Change-Id: Ia3be8504c7fe6111b6eb0d6477b32a315b178b59
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Add a save modified files dialog for Android run process.
Change-Id: I6b7d006d9f353b95ecd803c211a84f0182361d6e
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Remove the starting state as there are missing signals from run control
to robustly come back from starting state when e.g. save dialog was
canceled.
Task-number: QDS-14327
Change-Id: Ie1f6f1243935e9c2e8fa4b2d2b6a5d702e1c3054
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This is deprecated in Qt 6.
Change-Id: Ide45cdcb606e0739bf500d669aa7cd32ee248666
Reviewed-by: Jaime Resano <Jaime.RESANO-AISA@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Add 9 new icons to the icon font and update them in effect composer
and content library
Change-Id: I6f929b1e25e8ac4adcf0ad3b4bcfa06f56b6f379
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Fixes: QDS-14226
-\titles, \section1, \section2 etc.
- some minor grammar fixes, \uicontrols etc.
Change-Id: Ifc0c7af5f5c7374377d818da7a0a5c147005da49
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
- Removed secondary name "QML Emulation Layer," which was introduced
to hide the term "QML Puppet" from normal users
- "QML Puppet" settings are nowadays hidden from normal users anyway
- Added crash info indicating it is an internal process; this is the
only location where "QML Puppet" is exposed to normal users
- Removed outdated CMake comments
Task-number: QDS-13345
Change-Id: Idb8b909580269a8396842f1cc4ad056649075d01
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reduce confusion that the 2 does not mean qml is transported.
It was the version when we had 1 and 2, but one is gone long ago.
Task-number: QDS-13345
Change-Id: Ie1664f4fd489182e5e234e31b4bf92a5f547323e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Add special text for error codes smaller 100
* Remove unused tool tip
Task-number: QDS-14354
Change-Id: I6e313ea1928ee86aef73a0e5019ecf2112f2baa3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Fix device manager table text edit by using QtQuick.Templates instead of
QtQuick default style. Otherwise this will cause issues under windows.
Task-number: QDS-14270
Change-Id: I4ecc90fd7a581211818ed1f7d5058ca24f5625aa
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>