466 Commits

Author SHA1 Message Date
Ghostkeeper
4f82137035
Customise scrollbar for extruder selectors
Contributes to issue CURA-8686.
2022-01-20 17:26:49 +01:00
Ghostkeeper
70a79c9b5c
Use custom scroll bar for settings list
This is necessary to get the same design working in Controls 2.

Contributes to issue CURA-8686.
2022-01-17 17:14:31 +01:00
Jaime van Kessel
3130ea0f74 Use Cura.MenuItem instead of UM.MenuItem
I didn't realise that Cura already had a menu item. To prevent
Confusion, i've changed Cura.MenuItem to use UM.MenuItem and let all
other menus use Cura.MenuItem
2022-01-14 13:46:05 +01:00
Jaime van Kessel
313c10801d Codestyle fixes 2022-01-13 09:23:13 +01:00
Jaime van Kessel
13af43b76c Fix context menu visibility for settingview
CURA-8683
2022-01-13 09:19:47 +01:00
Jaime van Kessel
722f928d12 Remove style from settingview 2022-01-04 10:30:07 +01:00
Jaime van Kessel
e1d6c89cf2 Replace toolbutton with simplebutton 2021-11-16 14:45:44 +01:00
Jaime van Kessel
a68584cda1 Replace more instances of label with UM.Label 2021-11-10 17:42:23 +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
Jaime van Kessel
9ca5a52659 Also speed up the expression for the value of a setting item 2021-10-08 18:35:02 +02:00
Jaime van Kessel
285a4584e7 Improve speed of the inherit button
A few unneeded conversions were done. Also moved one check to python from JS
2021-10-08 18:12:35 +02: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
jelle Spijker
5ba1e8eda8 Settings search field uses italic style
Restored italic font style for the search field.
To not break look and feel with the old TextField
behaviour
2021-08-30 14:20:09 +02:00
Jaime van Kessel
a1378f9a06 Replace the textfield with cura.Textfield
This way we don't have to use the html in the setting item and we
dont have to re-do the whole hover logic in the search text field.

THis also makes the search magnifier themed, so it looks a lot better
in the dark theme

CURA-8498
2021-08-30 13:28:00 +02:00
Jaime van Kessel
f11079adcf
Fix width & height of setting visibility button
The widht & height were not set correctly, which made the mouse
area smaller than the icon of the button.

CURA-8438
2021-07-27 11:20:07 +02:00
Konstantinos Karmas
a6cd2fe970 Change the extruder icon in the settings dropdown to be a filled circle
This makes it much more distinguishable.

CURA-8011
2021-07-02 12:15:26 +02:00
Konstantinos Karmas
0478c127bf Increase the size of the auxiliary buttons in the setting items
CURA-8202
2021-07-01 09:54:31 +02:00
Konstantinos Karmas
4ef7fcf6e4 Increase the size of the small buttons in the setting category
Also, fix the misalignment of the background rectangle, which made the category icons seem not-centered.

CURA-8202
2021-07-01 09:53:51 +02:00
Konstantinos Karmas
a996b631bb Increase the size of the hamburger menu
CURA-8202
2021-07-01 09:49:48 +02:00
Konstantinos Karmas
0a2407e6ed Reduce the size of the magnifier in the setting search
CURA-8202
2021-07-01 09:46:24 +02: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
836e7c0c9b
Fix overlap of unit and setting value with RTL-languages
The unit was hard-coded to be anchored to the right. The text was getting the full width and aligned implicitly by the language. We'll keep the layout of the text properly internationalised, but make sure that the unit is opposite of wherever the text is.

Fixes CURA-8206.
Fixes #9667.
2021-06-07 18:00:59 +02:00
Jaime van Kessel
6fc1088cdb
Merge branch 'fix_visibilitymenu_style' of https://github.com/fieldOfView/Cura 2021-06-01 16:33:10 +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
26afff6093
Revert "Switch out inherit icon"
This reverts commit 672d6c89cf6b12b01fe27c28622806310b063968.
2021-05-27 16:02:46 +02:00
fieldOfView
63a2085379 Fix positioning of setting visibility preset menu popup 2021-05-20 12:24:51 +02:00
Jaime van Kessel
672d6c89cf
Switch out inherit icon
CURA-8010
2021-05-05 15:58:42 +02:00
Kostas Karmas
f887db23f6 Use detail_level to describe the icons (instead of size)
Previously the icons were organized according to "size" which could prove to be confusing.
This commit fixes that by organizing them according to "detail_level".

CURA-8010
2021-04-28 18:53:32 +02:00
jelle Spijker
9ea97f7561
SVG are not correlated to pixel size.
Although this deviates from the UX practices. It tended to confuse the
programmers ;-) The variances in level of detail for the icons are now
placed in the sub-directories. small, default and big.

CURA-8010_new_icons
2021-04-28 15:45:20 +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
Remco Burema
e0e77327b5
Dropdown menu wasn't closing on MacOS.
CURA-8172
2021-04-13 13:38:58 +02:00
Kostas Karmas
2027309863 Fix tab button not switching to the next print setting field
The signal `setActiveFocusToNextSetting` has an argument which wasn't being passed in the
`onSetActiveFocusToNextSetting()` function, which was causing the broken behavior.

CURA-8166
2021-04-09 15:19:38 +02:00
Konstantinos Karmas
504f6dbe70
Revert "Cura 7813 qml modules version bump" 2021-03-30 09:48:28 +02:00
Konstantinos Karmas
180732788b
Merge pull request #9472 from Ultimaker/CURA-7813_QML_warnings
Cura 7813 qml modules version bump
2021-03-30 09:42:59 +02:00
jelle Spijker
645dc181bc
Fixed not showing tooltip
CURA-7813
2021-03-30 09:26:36 +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
jelle Spijker
9da321ffb9
Update Layouts, Control.Styles and Dialogs
CURA-7813
2021-03-29 18:04:47 +02:00
jelle Spijker
2986d50745
Update QtQuick and QtQuick.Controls
CURA-7813
2021-03-29 17:55:19 +02:00
Jaime van Kessel
527e5775a7
Also set clipping for string 2020-07-20 15:25:55 +02:00
Kostas Karmas
e9da3b7e9a Revert "Make all settingitems async"
This reverts commit d1afc6390258510450e6f061757025f62e257dcb.
It creates a problem in Windows where settings with dropdown menus
do no load anymore.
2020-07-16 09:34:36 +02:00
Jaime van Kessel
e010d4f945
Only enable clipping for list text fields
Because clipping is expensive!
2020-07-10 16:44:55 +02:00
Jaime van Kessel
6d120c43b6
Remove unneeded null check
The check takes ~1.5 ms. It's easily called a few hunderd times
2020-07-10 15:57:00 +02:00
Jaime van Kessel
8b7b8b0118
Simplify the SettingCategory 2020-07-10 14:50:44 +02:00
Jaime van Kessel
e633b6408e
Use pre-calculated control height
It's way faster to not re-compute every single time
2020-07-10 14:34:02 +02:00
Jaime van Kessel
d1afc63902
Make all settingitems async
We're quite a few qt versions ahead now. The issue seems to have been resolved in the meantime!
2020-07-10 14:28:58 +02:00
Jaime van Kessel
ce3ac604f2
Remove anchient check from the code
We removed global tabs like 4 years ago, so no need to have the check.
Speeds up the setting loading a bit more again
2020-07-10 14:05:39 +02:00
Jaime van Kessel
c5d5cd2c59
Precompute delegate height for settingview
Speed up the rendering of settingitems a bit
2020-07-10 13:54:16 +02:00
Jaime van Kessel
70254e5585
Let search field also look through the description
CURA-7122
2020-06-29 13:11:07 +02:00
Ghostkeeper
37673691fd
Clarify tooltip about resolution between per-extruder values
It was using a bit of programmer jargon there that was very hard to understand. Initially I was coming in here to remove the space at the end of the translated string but I'm now changing all of it to make it more clear to the user as well.

Done as a 5 minute fix.
2020-03-24 09:35:10 +01:00
Jaime van Kessel
1b1c7b78aa
Remove unneeded rounding 2020-01-03 16:56:13 +01:00