221 Commits

Author SHA1 Message Date
Diego Prado Gesto
4a211c6ac6 CURA-4495 Change property name and add default values 2017-12-18 11:58:34 +01:00
Diego Prado Gesto
c3ce3724e5 Fix small issue when resetHandler is not defined 2017-12-18 10:00:08 +01:00
ChrisTerBeke
79028388a2 Add option for custom reset handler in setting item 2017-12-15 11:05:42 +01:00
ChrisTerBeke
b74ebc57b4 Fix per extruder setting value depending on extruder count - CURA-4627 2017-11-27 17:00:57 +01:00
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
ChrisTerBeke
657a91c525 Merge pull request #2685 from Ultimaker/container_stack_improvements
Container stack improvements
2017-11-20 17:42:26 +01:00
fieldOfView
8dfba9a318 Stop SettingTextField from setting values when getting/losing the focus
Fixes #2694
2017-10-30 15:31:14 +01:00
Chris ter Beke
b95ba24530 Remove some changes, debugging - CURA-4451
WIP - CURA-4451

correctly show not supported when any of the extruders has a not supported profile - CURA-4451

Clean up and add comments - CURA-4451
2017-10-26 09:23:27 +02:00
ChrisTerBeke
35684e0aa4 Move profiles dropdown text generator to separate method 2017-10-24 09:57:48 +02: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
3a7fbdb173 Changed parseInt to Math.floor 2017-10-11 17:06:13 +02:00
Mark
00205996da Change Text to Label and cast all sizes to int
CURA-4437
2017-10-11 14:53:46 +02:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
fieldOfView
c5fd0e6c80 Use screenScaleFactor to consistently adapt sizes to display pixel ratio 2017-09-25 22:07:12 +02:00
Lipu Fei
3d6648fc59 Rearrange quality profile slider and dropdown box
CURA-4182

- Remove the quality profile dropdown box from Recommended mode
- Move the quality profile dropdown box to Custom mode
2017-09-13 17:12:51 +02:00
Lipu Fei
d0740158b1 Merge branch 'master' into feature_extruder_buttons
CURA-4211

Resolve merge conflicts.
2017-09-04 08:29:26 +02:00
Lipu Fei
aad628a46f Change to new design for extruder number settings
CURA-4211
2017-08-31 17:49:24 +02:00
Lipu Fei
0781848af5 Reduce margin size for settings in recommended and custom mode
CURA-4148
2017-08-28 17:35:03 +02:00
Lipu Fei
0eb63637d4 Merge branch 'master' into feature_dark_colours_icons 2017-08-28 16:54:36 +02:00
Lipu Fei
f85a76b4bd Fix per-object settings qml 2017-08-24 17:38:16 +02:00
Ghostkeeper
09a5cf1de2
Shift sidebar tooltips with the arrow outside of sidebar
Because now the arrow has the same colour as the sidebar so you won't see it otherwise.

Contributes to issue CURA-4148.
2017-08-23 17:53:00 +02:00
Ghostkeeper
11f8204644
Change margins in the side bar
These are more or less all margins in the side bar.

Contributes to issue CURA-4148.
2017-08-23 16:28:28 +02:00
Ghostkeeper
078b9e8b66
Fix placeholder text colour
It should use the same colour as the normal text, for now.

Contributes to issue CURA-4148.
2017-08-23 15:32:42 +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
Lipu Fei
cf25515b90 Make SettingView update its value upon global stack change
CURA-4105

Cleaner way to make SettingView update its value when the global stack
gets changed.
2017-08-01 10:25:50 +02:00
Lipu Fei
96f8e70e40 Update containerStackId for limit_to_extruder settings when active machine has been changed
CURA-4105
2017-07-31 17:58:49 +02:00
tsaaristo
ad87f154f3 Speed up sidebar-settings scrolling
Scroll three rows in one scroll event instead of one
2017-07-06 15:58:32 +03: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
8917762ed5 Animate scrolling focussed item into view 2017-06-26 13:03:28 +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
Lipu Fei
64ae8bb595 Use global stack to evaluate limit_to_extruder value
CURA-3738

Getting limit_to_extruder from definition in QML returns a
SettingFunction which hasn't been evaluated. This causes the comparison
not to be working. We change it to use the global stack to evaluate so
we can get an actual extruder number string.
2017-05-24 10:17:13 +02:00
Jaime van Kessel
5aba1731f5 Renamed useOptionalExtruder to addOptional extruder
This is more in line with the other properties

CURA-3814
2017-05-22 14:05:10 +02:00
Jaime van Kessel
20cb3ea01f Added "optional_extruder" setting type
CURA-3814
2017-05-22 13:24:41 +02:00
Arjen Hiemstra
20e46f4d8b Make Extruder setting type update its color properly
The binding for the material color would not get updated properly when
the model changes. This fixes that.

Contributes to CURA-3804
2017-05-17 11:30:48 +02:00
Arjen Hiemstra
616ee34be5 Simplify SettingExtruder setting item
This way it properly updates when a parent setting changes.

Contributes to CURA-3804
2017-05-16 17:43:24 +02:00
Jaime van Kessel
eb677f5625 Merge branch 'feature_cutting_mesh' of github.com:Ultimaker/Cura 2017-05-09 10:20:27 +02:00
fieldOfView
4d12ab1296 Merge branch 'master' into feature_multiextruder_machinesettings 2017-04-21 19:31:44 +02:00
fieldOfView
62f2fe062b Enable settings when machine_extruder_count is set to 1 but multiple extruders are defined 2017-04-19 16:20:01 +02:00
Mark
c0f35a620a Use the correct i18n catalog name for translations in the right-click menu
CURA-3660
2017-04-13 13:52:11 +02:00
Tim Kuipers
4c6f9486be feat: cutting mesh (CURA-966) 2017-04-08 12:49:00 +02:00
Lipu Fei
6153fd70a8 Set SettingsComboBox value if we get undefined from resolve
CURA-3421
2017-04-03 11:10:05 +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
Jaime van Kessel
f82aecb7ca Refactoring; no longer use "Printer" to identify CuraApplication 2017-03-30 20:19:05 +02:00
Jaime van Kessel
88704051d1 Filter bar is now always visible
CURA-3574
2017-03-27 15:47:30 +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