Commit Graph

26 Commits

Author SHA1 Message Date
Thomas Hartmann
b5aac705ea QmlDesigner: Indicate if a file is modified
Task-number: QDS-12361
Change-Id: I7a6c5f112b0f193f5bb975a331e2f0d44d19ddc2
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2024-04-16 11:59:38 +00:00
Tim Jenssen
409b9d904f QmlDesigner: refactor dynamiclicensecheck.h
Change-Id: Ic806a32c87200219f6376356bf251cfd5927deed
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-29 14:13:56 +00:00
Thomas Hartmann
87dd0096b4 QmlDesigner: Disable share button in open source version
Task-number: QDS-11627
Change-Id: I3eb21fa84b6993aa783713ef5fa3beba1e3e030e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-07 10:44:11 +00:00
Henning Gruendl
316e48fc50 QmlDesigner: Remove version number from imports
Task-number: QDS-11177
Change-Id: I94a537af1d55d503aa04dd79c6194ef1a0647e83
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-01-17 08:01:32 +00:00
Henning Gruendl
3ad3a5f197 QmlDesigner: Remove unnecessary imports
Remove QtQuickDesignerTheme import if not needed.

Task-number: QDS-11177
Change-Id: Ia72001855bb636bfc2ddf11cbb00359fbe123c90
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-01-17 08:01:09 +00:00
Brook Cronin
0f861405ce QmlDesigner: Make Workspace lock button checkedInverted style
Change-Id: I5377209713da4f5ed88902432791ccf12b4d6898
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-11-07 09:47:27 +00:00
Brook Cronin
dca7f6121c QmlDesigner: Make toolbutton include label
Task-number: QDS-9220
Change-Id: I91b30b0f1d8b94662492c0480ec216b2eaff3339
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-10-31 10:35:33 +00:00
Henning Gruendl
3e626446b1 QmlDesigner: Add workspace lock feature
* Add lock button in top toolbar
* Add lock button in top toolbar flyout
* Add action in workspace menu

Task-number: QDS-10181
Change-Id: Iabc94889f936955c56fa3e9fb3de4dced05649e0
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
2023-10-25 14:31:34 +00:00
Henning Gruendl
aaf7fba0c3 QmlDesigner: Fix flyout workspace selection
Task-number: QDS-10494
Change-Id: I2ebd65c744c085c55325b5f73f4e0da45ef5d04c
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-09-06 11:24:11 +00:00
Henning Gruendl
6cb3e6ec9d QmlDesigner: Fix top toolbar workspace selection
Task-number: QDS-10494
Change-Id: I1f055f7bed7a76df76d733ff8d17e190485ab76d
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-08-22 09:30:23 +00:00
Ali Kianian
b0c3377f1d QmlDesigner: Fix the crash caused by calling GlobalAnnotations
- Calling global annotations does nothing if we are not in the design
mode
- Related actions and buttons are blocked while we are not in the
design mode

Task-number: QDS-9729
Change-Id: Ib4d5e8c5adcbb080f42a2344cd76ce7c36532240
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-04-21 13:44:13 +00:00
Henning Gruendl
062c774541 QmlDesigner: Update workspace management
- Add QML attribute displayName to the workspace presets
- Add workspace order
- Replace QStringList workspaces with proper model in order to use text
  and value role
- Clean up workspace management, remove redundant functions, move
  warning messages out of backend
- Utilizing expected_str to forward error message
- Change output format of generated XML workspace files
- Remove workspace combo box from C++ based toolbar

Task-number: QDS-9184
Change-Id: I19455db75e6b07aea9342eb5276c6191a1456a2d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-19 14:15:27 +00:00
Ali Kianian
5b28748554 QmlDesigner: Consider suffix for Qml ComboBox
Task-number: QDS-9489
Change-Id: I77b883167db24deea44fa465c297c990a0d56a71
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-03-30 09:16:48 +00:00
Thomas Hartmann
d61830f91f QmlDesigner: Fix TopLevelComboBoxes
The combobox will break bindings on current index. Therefore
we cannot use a binding on the instances.

Change-Id: I5b4ede02b8b945429b37efa4fc3e1acc15b3fbe7
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-17 14:56:29 +00:00
Thomas Hartmann
b70139fd84 QmlDesigner: Add Workspace label to workspace combobox
Change-Id: I00b5aead6e0f747229a360e6573b8bcb0c8e8260
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-20 14:42:46 +00:00
Thomas Hartmann
1cbbcea8cc QmlDesigner: Move global annotations to edit mode
Task-number: QDS-9194
Change-Id: Iadba8028e5c4c91195413094086ec5c87329dff3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-02-17 15:44:19 +00:00
Brook Cronin
b35d02f0d9 QmlDesigner: Minor style adjustments
Change-Id: Ieafb8c16aed985847ed1dd66a8ace05c955601d6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-02-10 08:47:14 +00:00
Henning Gruendl
de73d121ba QmlDesigner: Make top tool bar responsive
Change-Id: I986f65f7584a96512293e918b2b53de95998d0ee
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-09 16:50:08 +00:00
Thomas Hartmann
4d67db6cfe QmlDesigner: Fix for toolbar
Task-number: QDS-9042, QDS-9040, QDS-9034, QDS-8956
Change-Id: I0639bbfdaa7475a277cbb247c7d85bf5b078a5aa
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-02-09 15:27:25 +00:00
Henning Gruendl
cffd91e012 QmlDesigner: Cleanup status and tool bar
Change-Id: Idccd79ff34591e6beb7f79f3c16285bf7bacbb40
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-07 10:31:19 +00:00
Brook Cronin
27f431bc6e QmlDesigner: Apply style to toolbars
Change-Id: I9e25b999f2c0830e28bd36db9efda3246f9bd324
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-03 12:14:46 +00:00
Thomas Hartmann
656eb38432 QmlDesigner: Add preview zoom menu to top toolbar
Change-Id: I4b47a36a75d90fed010ec347228cd9328913fb8e
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-01-26 09:31:06 +00:00
Thomas Hartmann
fecd361483 QmlDesigner: Add missing tooltips
Change-Id: I90f157e6396733a6c6b7f9ccee052cdb5e30e291
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-01-25 18:40:42 +00:00
Henning Gruendl
b40e4960ce QmlDesigner: Fix current workspace emit
Change-Id: I0a83a5632946aaecdfa1eee796ea1c88006fb5ab
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-01-25 12:56:02 +00:00
Henning Gruendl
5e7b97c7b4 QmlDesigner: Fix activated on TopLevelComboBox
Change-Id: Iedea97ff7837a1424cec872f66fd6e5861c74869
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-01-25 10:41:55 +00:00
Thomas Hartmann
2e334303fe QmlDesigner: Add top level toolbar
* Added Designer\TopToolBar=true to .ini to enable toolbar
* Added backend to CrumbleBar
* Added crumble bar
* Added QML toolbar
* Disabled original toolbar in DesignModeWidget
* Added callback to DesignerActionManager
* Added id to ZoomPreviewAction
* Dock Manager is exposed in DesignModeWidget
* Added new version of icon font

Change-Id: I8c8ad16137c84229854a1d0fa6dfdf498edf4253
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-01-24 17:13:54 +00:00