23 Commits

Author SHA1 Message Date
Joey de l'Arago
362877dee1 Add new recommended mode tooltips and remove extra margin at the bottom of tooltips.
CURA-9793
2022-12-06 10:50:04 +01:00
c.lamboo
d5c0fde7f2 Render labels using Text.QtRendering on OSX
Fonts were looking a bit to thick on when using `Text.NativeRendering`, so using `Text.QtRendering` instead. After this the font weight looks identical to figma (as far as I can see).

In this commit I also changed all `Label`'s to `UM.Label`'s and removed default properties where I could.

CURA-9154
2022-05-10 15:40:09 +02:00
c.lamboo
35f5c3f959 Revert "Render labels using Text.QtRendering on OSX"
This reverts commit f0e3c19a34d1fde3b7ec4fd95677fbefa2028b26.
2022-05-10 15:39:02 +02:00
c.lamboo
f0e3c19a34 Render labels using Text.QtRendering on OSX
Fonts were looking a bit to thick on when using `Text.NativeRendering`, so using `Text.QtRendering` instead. After this the font weight looks identical to figma (as far as I can see).

In this commit I also changed all `Label`'s to `UM.Label`'s and removed default properties where I could.

CURA-9154
2022-05-10 15:36:50 +02:00
j.delarago
6f7fbbecf7 Simplify enabled behaviour
CURA-9232
2022-05-02 13:17:36 +02:00
j.delarago
1accb30408 The PrintSetupTooltip was catching events while invisible on the top left of the screen. This was causing the menubar not to be clickable.
I've disabled PrintSetupTooltip when not visible so that it does not catch events.

CURA-9232
2022-05-02 11:35:32 +02:00
Jaime van Kessel
2ecec1fa37 Prevent last line of popup to be cut off
We didn't take the y offset into account

CURA-9112
2022-04-28 13:23:41 +02:00
Jaime van Kessel
0213a3833c Fix the tooltip not re-sizing
I'm not entirely sure if this fixes it on windows, but it does at least fix things on Linux.

There are a few important changes to note here:
1. Increased the time of the fade timer to 200ms
2. Removed the mousearea, instead using the hover of scrollview

So why are these important? Nr 1 seems to be because updates seem to be faster? If I set it to 100
I could get it to work reasonably well on qt5, but in qt6, it's about 50% of the times that i'm too slow.
So we need the extra time.

As for the mouse area, it seems that the scrollview was eating up all the hover / containsMouse events.
As scrollview has the same properties that we need, we can just get rid of the mouseArea

CURA-9112
2022-04-26 10:50:29 +02:00
Remco Burema
38d62b73c5 Mostly? fix scrollbars in settings-tooltips.
CURA-9112
2022-04-21 14:02:29 +02: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
Konstantinos Karmas
504f6dbe70
Revert "Cura 7813 qml modules version bump" 2021-03-30 09:48:28 +02:00
jelle Spijker
2986d50745
Update QtQuick and QtQuick.Controls
CURA-7813
2021-03-29 17:55:19 +02:00
Ghostkeeper
9ea418c0a1
Revert "Revert "Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7""
This reverts commit 28f4d8513db7efce17bfd8b80fa7c8b237fd1c18.
The original revert was to revert an accidental merge from master to 4.7. This now reverts the revert on Master, so that we still have those changes on Master.
2020-08-20 16:35:52 +02:00
Ghostkeeper
28f4d8513d
Revert "Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7"
This reverts commit 7f47f12bf0a9cf305542b6c21600ce9b804c1dfd, reversing
changes made to dd42c87da762d2030ee2220bc6f0a3e44cf85c28.
2020-08-20 16:01:46 +02:00
Ghostkeeper
615c124960
Remove MouseArea if tooltip is not visible
It should unnecessarily catch any mouse events then. And neither should the ScrollView inside.
2020-08-12 11:07:09 +02:00
Ghostkeeper
3de3d438a5
Prevent MouseArea from stealing mouse clicks
Possibly this is a problem if the tooltip is invisible. We're not sure yet how to reproduce that bug though. In any case, it's neater to not catch mouse events you don't need.
2020-08-12 11:02:04 +02:00
Ghostkeeper
1085709407
Fix arrow position if tooltip is too big to fit on the screen 2020-08-05 02:44:19 +02:00
Ghostkeeper
3b8ae6439c
Put the setting tooltip in a scrollview
You can now scroll through it if the description is too long for it to fit on the screen.
2020-08-05 02:40:45 +02:00
Ghostkeeper
d710d42c0a
Keep tooltip visible when hovering over it
Except when hovering over it while it's completely invisible. You just get this 100ms leeway time to transition from the setting to the tooltip.
2020-08-05 02:16:16 +02:00
Jaime van Kessel
8d0a31dcfb Show tooltip on the right side if the setting area is to far to the left
CURA-6478
2019-04-29 10:33:02 +02:00
Ghostkeeper
df0351acd4
Fix fonts of plug-in tiles
Contributes to issue CURA-6025.
2018-12-31 15:14:23 +01:00
Diego Prado Gesto
2bf641efcf Add a Cura Tooltip to show in some buttons
Contributes to CURA-6004.
2018-12-10 09:09:58 +01:00
Diego Prado Gesto
1d33fe081f Clean up the code
Remove all the references to the sidebar and use the term print_setup instead.

Contributes to CURA-5941.
2018-12-07 12:07:41 +01:00