Ruben D
0d0bcb8aea
Clip text that exceeds the width of the text box.
...
For #2802 .
2017-11-26 18:48:27 +01:00
Ruben D
8847325cf8
Remove limit on length for integer arrays
...
The integer arrays were limited because the text in the text field is not properly clipped. I found a fix for that.
Fixes #2802 .
2017-11-26 18:47:58 +01:00
fieldOfView
8dfba9a318
Stop SettingTextField from setting values when getting/losing the focus
...
Fixes #2694
2017-10-30 15:31:14 +01:00
fieldOfView
29729d2a23
Change renderType for TextInput elements
...
Unlike Label elements, which are defined to use Text.NativeRendering, TextInput uses Qt text rendering by default. This can lead to differences in font rendering between input fields and other texts.
2017-10-14 11:43:18 +02:00
Mark
9a193ad5c5
Changing AGPLv3 to LGPLv3
2017-09-28 13:00:43 +02:00
Ghostkeeper
ab444943cb
Rename setting_validation_error/warning and border
...
In some places we want to use the bright error or warning colours to display that something is going on. In those places we'd like to refer to the colour setting_validation_error rather than setting_validation_error_border or something, so I'm renaming these four theme items.
Contributes to issue CURA-4148.
2017-08-23 13:30:25 +02:00
Ghostkeeper
5652bccc58
Change control border colour depending on validation state
...
The background colour was already changing, but the border colour was only depending on the hover state.
Contributes to issue CURA-4148.
2017-08-21 13:56:07 +02:00
Ghostkeeper
4b8152d6fe
Allow fallthrough of switch statement
...
Makes it easier to modify.
Contributes to issue CURA-4148.
2017-08-21 13:21:33 +02:00
fieldOfView
0f9cfa0304
Fix tab order after expanding categories or using search
...
This reimplements the behavior of pressing tab/backtab to force the correct order of items in the listview.
2017-06-26 14:35:37 +02:00
fieldOfView
edee53b0b1
Scroll setting with active focus into view
2017-06-26 13:00:59 +02:00
fieldOfView
b324e90ba5
Show hover state on active focus
2017-06-22 18:33:30 +02:00
fieldOfView
8a887915ac
Add tab navigation to sidebar
2017-06-22 18:07:34 +02:00
Ghostkeeper
dd2c25868b
Allow strings with actual text
...
Previously string fields would only accept numbers, which is ridiculous.
2017-03-30 20:57:23 +02:00
Tim Kuipers
38a9df9d76
fix: more lenient int-list validator parsing (CURA-3275)
...
allow for empty integers
allow the brackets to be omitted
2017-03-06 14:42:11 +01:00
Mark Burton
db3cf0c0fb
Add the [int] setting type for settings that are a list of integers.
...
The RegExpValidator (more of a restrictor than a validator) requires the
text to start with a '[' and then have a sequence of integers separated by
commas. A trailing ']' is accepted.
2017-01-27 15:54:19 +00:00
Mark Burton
03fe03ed65
Modify the constraints of the SettingTextField when the setting type is "str".
...
When the setting type is "str" it now allows the setting contents to be
up to 20 characters long with no constraint on what those characters are.
2017-01-16 16:05:21 +00:00
Ghostkeeper
45bc603c84
Allow floating point values higher than 9.9999
...
It would allow only one digit before the radix.
Contributes to issue CURA-3157.
2016-12-19 11:55:58 +01:00
Ghostkeeper
39c0a367b6
Update documentation of this stack description I found
...
Not really related, but doesn't hurt.
So... does not contribute to issue CURA-3157.
2016-12-16 16:17:14 +01:00
Ghostkeeper
0c212d01b9
Tighten regex for floats
...
You're no longer allowed to type multiple radices, for instance.
Contributes to issue CURA-3157.
2016-12-16 16:17:14 +01:00
Jaime van Kessel
9057174691
Resolve is now updated from the base property
...
The resolve doesn't update always update well for single extrusion machines, so the wrong value gets used.
There is however, no need for a resolve with a single extrusion machine, so we can disable the resolve for those alltogether.
CURA-2939
2016-11-21 11:10:23 +01:00
Jaime van Kessel
6c7a0d73c3
Resolve now also returns value if resolve was undefined
...
CURA-2319
2016-09-21 15:01:08 +02:00
Jack Ha
1c1be7d444
Undo material edit update resolve, breaks UM3. Contributes to CURA-2159
2016-09-12 16:16:02 +02:00
Jack Ha
8304f17efd
Fix updating resolved values when changing material. Contributes to CURA-2159
2016-09-12 15:48:30 +02:00
Jack Ha
9521a85318
Fix resolve in profile bug. Removed unnecessary imports. Removed unnecessary watch. Contributes to CURA-2007
2016-08-24 11:36:10 +02:00
Jack Ha
0268bf3f56
Cleanup. CURA-2007
2016-08-23 13:18:20 +02:00
Jack Ha
5a92269a08
Testing. CURA-2007
2016-08-15 09:32:51 +02:00
Jack Ha
4ea9276682
Merge branch 'master' into cura-2007
2016-08-15 09:16:04 +02:00
fieldOfView
6075536497
Fix settingtextfield validator in PerObjectSettings
...
CURA-2115
2016-08-11 14:37:58 +02:00
fieldOfView
2edda68021
Improve validator for numeric fields
...
Do not accept fractional input for "int" settings
Also only accept a "-" as the first character
2016-08-05 15:12:13 +02:00
Jack Ha
c0dd19ce08
Seems to work, except for the tooltip (shows global value). CURA-2007
2016-08-04 19:23:23 +02:00
Jack Ha
bfabf8d11a
Merge, fix qml files. Contributes to CURA-2007.
...
Merge branch 'feature_quality_changes' into cura-2007
Conflicts:
resources/qml/Settings/SettingItem.qml
resources/qml/Settings/SettingView.qml
2016-08-04 18:22:36 +02:00
Jack Ha
2402ba3d0e
Bed temperature is now either a resolved value or a global value.
...
Contributes to CURA-2007
2016-08-04 14:30:48 +02:00
Arjen Hiemstra
cc027ddf41
Remove unused code
2016-06-23 13:32:20 +02:00
Arjen Hiemstra
2cedc69ed1
Remove all special floating point handling code from SettingTextField
...
Since we now always send setting values as string and the conversion
from float
to string already does the rounding, there is no need to also do it
here.
Contributes to CURA-1278
Contributes to CURA-389
2016-06-08 13:46:30 +02:00
Jaime van Kessel
6164112bf2
Setting textfield now updates correctly, even when mouse is hovering another text field.
...
CURA-1278
2016-06-01 13:35:09 +02:00
fieldOfView
4877c35f06
Fix layout of SettingTextField items
...
CURA-1278
2016-05-23 13:35:52 +02:00
Arjen Hiemstra
5b31634d3c
Make SettingTextField work
2016-05-16 18:22:37 +02:00
Arjen Hiemstra
2abb9a47c1
Stop using SettingItemStyle
...
Since everything is now in Cura, using SettingItemStyle does not make a
lot of sense anymore
2016-05-11 17:19:31 +02:00
Arjen Hiemstra
fa7e186b2f
Import Uranium's SettingView related files and start making them work
...
This is too cura-specific now so we should not put it in Uranium.
2016-05-10 17:31:18 +02:00