163 Commits

Author SHA1 Message Date
saumya.jain
676099ccf6 Removed singleton UM.OperationStack, merged with CuraActions
Removed ActiveTool singleton added to controller singleton

CURA-7812
2024-01-09 10:29:45 +01:00
saumya.jain
bfdfbbdbbd minor fixes
CURA-8728
2023-09-15 11:27:02 +02:00
saumya.jain
c95481f6e7 tab button in per model setting
CURA-18869
2023-09-14 16:26:00 +02:00
c.lamboo
eca903430e Fix setting text fields overlapping in per-object-settings
CURA-10669
2023-06-13 15:24:59 +02:00
Joey de l'Arago
e4ad9cb48c Move base hovered logic out of ComboBox.qml since base is undefined in most places the component is used.
CURA-9424
2022-11-15 14:08:47 +01:00
j.delarago
5a8343ce25 Center remove button in row by giving it the same height as the input.
Adjust width of rows when scrollbar is present so they don't overlap.

CURA-9149
2022-04-21 11:56:17 +02:00
Jaime van Kessel
15b16e3e45 Remove overlap in perobject setting panel
CURA-9149
2022-04-19 17:27:38 +02:00
c.lamboo
45bc498c7f Replace RecolorImage with ColorImage
CURA-8640
2022-04-08 15:55:34 +02:00
Casper Lamboo
addc5e36a7
Apply suggestions from code review
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2022-03-11 09:59:20 +01:00
j.delarago
016cc4e48f Merge branch 'master' into CURA-9005_restyle_print_setting_category 2022-03-07 13:37:58 +01:00
j.delarago
eb88316eee Give PerObjectSettingsPanel.qml the same margin between settings as main settings
CURA-9005
2022-03-07 13:36:11 +01:00
j.delarago
3c7498feed Move ToolbarButton and ToolTip from Cura into Uranium. This makes it possible to use new styled ToolbarButton in plugins/Tools for the rotate tool.
Removed the ContentAlignment enum in ToolTip in favour of using the Text.ContentAlignment enum. For some reason references to this enum fail everywhere when ToolTip is moved into Uranium. There is some evil time-wasting magic cast on this component!

CURA-8943
2022-03-03 15:53:30 +01:00
casper
862525bc90 Remove obsolete uses of system palette
CURA-8688
2022-03-01 12:29:09 +01:00
Jaime van Kessel
f347c6aedf Remove number of unused styles imports 2022-02-22 11:42:41 +01:00
Ghostkeeper
ee81326d6a
Fix remaining merge conflicts
- When both branches added Controls1 as OldControls, it's not marked as a merge conflict. But the merge removed the need for OldControls, so the import can be removed.
- There was one instance where I had removed the OldControls for a checkbox but there it should remain since the checkboxes are updated in a separate ticket.

Contributes to issue CURA-8684.
2022-01-31 17:08:56 +01:00
Ghostkeeper
6db4a55f6e
Merge branch 'replace_controls_1_for_controls_2' into CURA-8684_QtControls_replacement_Buttons,_Actions_&_'Exclusivity'
Conflicts:
	plugins/ImageReader/ConfigUI.qml
	plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml
	plugins/PerObjectSettingsTool/SettingPickDialog.qml
	resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml
	resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
	resources/qml/Preferences/GeneralPage.qml
	resources/qml/Preferences/Materials/MaterialsPage.qml
	resources/qml/Preferences/Materials/MaterialsView.qml
	resources/qml/Preferences/ProfilesPage.qml

These conflicts are all arising from headers/includes being updated at the same time, or from the two branches marking the other one's components as needing OldControls.
This introduced more OldControls markers which don't get marked as merge conflicts by Git. This happens when an element could just be left as the original name but from the new import (e.g. a Button stays a Button in Controls 2, but should be marked as from OldControls on the branch that doesn't update the Button).
2022-01-31 16:53:45 +01:00
casper
b51c787f62 Re-use Cura.ToolbarButton in per object settings menu
CURA-8684
2022-01-26 08:56:33 +01:00
casper
bcd1689680 Update buttons in per object settings plugin to QtControls 2
CURA-8684
2022-01-20 22:58:43 +01:00
Ghostkeeper
f630b84788
Replace ScrollView with QtControls2 ListView
I can't update the buttons (not part of this ticket) so I kept those Controls1.
The ScrollView is no longer necessary, just a ListView now with customised scroll bar.

Contributes to issue CURA-8686.
2022-01-18 14:53:25 +01:00
Jaime van Kessel
83be495414 Replace usage of controls label with our custom label
This prevents copy pasting a bunch of parameters that we set by default
2021-11-10 16:37:26 +01:00
luz paz
d68f375e38 Fix various typos
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
2021-09-07 11:33:54 -04:00
Ghostkeeper
0a75c772ed
Unrevert new icon set for all of Cura's interface
We created a new set of icons for Cura. These icons had to be reverted though because they weren't working out in the interface for the last release yet.
This unreverts them, basically adding them back hoping that we'll get them fixed in time for the next release.

Contributes to issue CURA-8342.

Revert "Revert "Fix merge conflict""

This reverts commit bb20e3307f43edc1ff53cb154d2351ddfe39e158.

Revert "Revert "Merge pull request #9716 from Ultimaker/CURA-8010_new_icons""

This reverts commit 70e4e9640e561e18a12870f30c905203ce8ccee7.

Revert "Revert "Fix typo in icon name""

This reverts commit 38ce22ba7c3f40b971bc6e1e0a8e776ca9d51512.

Revert "Revert "Add list for deprecated icons""

This reverts commit 119a957e7f978dbf1ddbcb3b0005bf38e8fed943.

Revert "Revert "Add Function icon""

This reverts commit 760726cf0bb953bb1b0fc277b448f419d4bd2544.

Revert "Revert "Switch out inherit icon""

This reverts commit 26afff609381e2004d194c280f504b6226859bd3.

Revert "Revert "Merge branch 'CURA-8205_Introduce_new_icons_in_Cura' of github.com:Ultimaker/Cura""

This reverts commit 6483db3d47ee052c1a966cdee3af7190577a5769.

Revert "Fix incorrect icons"

This reverts commit 02a4ade2a50a943ff36fd4895bdc9261cf2133eb.
2021-06-28 17:16:56 +02:00
Ghostkeeper
f18e5f96ab
Use Cura-style drop-down to select mesh type
MacOS has some trouble with the QtQuick.Controls 1 system-styled drop-downs since Qt 5.15. We've removed the other ones, but forgot about this one.

Contributes to issue CURA-8128.
2021-06-15 17:13:08 +02:00
Jaime van Kessel
70e4e9640e
Revert "Merge pull request #9716 from Ultimaker/CURA-8010_new_icons"
This reverts commit 6120d8a054b8c04bf90b8b3d3cb219d691bece2f, reversing
changes made to 95652556fef90f70adbf25bfa9bd3b8af7220d4a.
2021-05-27 16:06:20 +02:00
Jaime van Kessel
6483db3d47
Revert "Merge branch 'CURA-8205_Introduce_new_icons_in_Cura' of github.com:Ultimaker/Cura"
This reverts commit 90eb2bfbdcc66fdbf82b0e1dac6bcf1a536845b0, reversing
changes made to 91c4d8b5f2cf3c18df2f75a0161f727eeae1bf41.
2021-05-27 16:01:17 +02:00
Kostas Karmas
7feba68847 Add new icon for block support overlaps
CURA-8205
2021-05-14 09:16:43 +02:00
jelle Spijker
2bd6f28f3a
Update Icons
Subdivided the new icons in 3 size categories. As requested by UX
Used the company naming scheme for uniformity and easy recognition.

Known issues:
- Top/Bottom category wasn't taken into account by UX at the time. Since
 this is a recent addition. Both the Walls and Top/Bottom will be updated.
- Cloud/Network connection icons 12px don't render correctly. Due to the
 theme-ing.
- Extruder Icons do not render correctly.

CURA-8010_new_icons
2021-04-26 19:42:17 +02:00
Kostas Karmas
7827b36ab7 Fix QML warnings due to depricated on<signal> calls in Connections
As of 5.12, the signals used in connections should not be declared as on<signal>, but as
function on<signal>(arguments).
2021-03-30 09:02:48 +02:00
Jaime van Kessel
5b43c94c0b
Mark setting as disabled in perobject setting panel if it's enabled property requires it
This is a bit different from the rest, since hiding would mean that the setting can't be removed.

CURA-7569
2020-12-21 13:15:32 +01:00
fieldOfView
c34162a2ba Merge branch 'master' into feature_support_meshes_present
# Conflicts:
#	cura/Scene/CuraSceneController.py
#	cura/Scene/CuraSceneNode.py
2020-06-04 10:27:11 +02:00
Ghostkeeper
f38ae5bb96
Fix i18n catalog for per-object settings panel
Turns out that all of these had not been working properly for a while.

Contributes to issue CURA-7344.
2020-04-21 11:39:49 +02:00
fieldOfView
ca7a4b4779 Disable user "unchecking" mesh type in per model settings panel 2020-03-22 19:21:41 +01:00
konskarm
3d054a9400
Merge pull request #7223 from Ultimaker/CURA-7255_infill_only_dropdown
CURA-7255_infill_only_dropdown
2020-03-13 10:30:09 +01:00
Nino van Hooff
2625bbef44 Changed pos infill only label per suggestions by Tim and Yi-An
CURA-7255
2020-03-12 14:01:03 +01:00
Nino van Hooff
ce12827879 Fix infill mesh defaults not visible when changing per object settings
The problem: When infill mesh is set, wall_thickness and
top_bottom_thickness are added to the settings. Then these settings are
set to visible on the visibility_handler.
It appears however, that the visibility_handler considers all added
settings to be visible. It thus concludes that no UI update is necessary
because the settings are already added.
2020-03-12 13:25:29 +01:00
Nino van Hooff
8c0a2ff72e Remove debug print 2020-03-06 11:14:49 +01:00
Nino van Hooff
dc6339b295 Change the infill-only checkbox in per object settings to a dropdown
CURA-7255
2020-03-04 11:56:57 +01:00
Jaime van Kessel
f983990ac1
Fix some codestyle issues 2019-12-23 11:13:59 +01:00
Jaime van Kessel
5061a36aba
Fix mesh_type being reset when adding a setting 2019-12-23 11:11:09 +01:00
Nino van Hooff
53ea6ce1a7 POS: Fix: currentMeshType reference
CURA-6683
2019-09-18 11:39:58 +02:00
Nino van Hooff
7d66409494 POS: Refactor settings dialog into its own file
CURA-6683
2019-09-18 11:23:10 +02:00
Nino van Hooff
fbba39cb63 POS: Correct label text
CURA-6683
2019-09-18 11:21:12 +02:00
Nino van Hooff
be7bd59e30 Code Style: camelCase for qnl properties, brackets, commas
CURA-6683
2019-09-18 11:21:12 +02:00
Nino van Hooff
c3bbd884b5 Use Cura.SecondaryButton for POS select settings button per design
CURA-6683
2019-09-18 11:07:18 +02:00
Diego Prado Gesto
0b9052b068 Clean up and code style fixing
Contributes to CURA-6683.
2019-09-17 15:12:46 +02:00
Nino van Hooff
d6872a65bd Fix infillOnlyCheckbox not representing mesh type
Not a bug but a feature: When the overlays button is clicked, the infill
mesh type is set and the checkbox checked

CURA-6683
2019-09-13 13:36:30 +02:00
Nino van Hooff
44fbcaeb3a Fix Settings lines positioning for Per Object Settings
CURA-6683
2019-09-13 13:26:00 +02:00
Nino van Hooff
667e5f8e18 Fix reference error in POS
CURA-6683
2019-09-13 13:26:00 +02:00
Nino van Hooff
606faf54c2 Remove unnecessary component initialization
CURA-6683
2019-09-13 13:26:00 +02:00
Nino van Hooff
fe0e1e5aba Remove unnecessary ; line endings in QML
CURA-6683
2019-09-13 13:26:00 +02:00