60 Commits

Author SHA1 Message Date
Lipu Fei
bbd019f9e5 Fix job name UI binding
CURA-5367

UI should always refer to PrintInformation for the job name.
2018-06-05 08:58:09 +02:00
Lipu Fei
bb313c45a9 Set job name to "unnamed" if user types in nothing
CURA-5367
2018-05-31 16:25:58 +02:00
Lipu Fei
3b0b6d300b Only set user-specified job name when the editting is finished
CURA-5280
2018-05-28 17:35:22 +02:00
Lipu Fei
689b88a024 Do not change prefix for user-specified job names
CURA-5280
2018-05-28 09:53:49 +02:00
Aleksei S
b1c9b04a7a Fix: filenames cut by first dot, remove only file extension because file might have dot in name
CURA-5323
2018-05-02 17:17:45 +02:00
Ruben D
c8222b73c7
Merge branch 'feature_model_check' 2018-03-22 01:56:46 +01:00
Jack Ha
d8d226c0d6 CURA-4557 it's now a small button next to the job spec when one of the warping materials is selected 2018-03-21 16:55:58 +01:00
Lipu Fei
f97e615634 Fix file name update
CURA-5122
2018-03-20 11:30:06 +01:00
Mark
b531c0550d Change Math.floor to Math.round as a last try to fix garbled fonts
CURA-4941
2018-02-14 09:28:47 +01:00
Mark
461da709ff Checked all divisions (again..) and multiplications on rounding errors
CURA-4941
2018-02-10 12:45:36 +01:00
alekseisasin
db51054984
Merge pull request #2700 from fieldOfView/feature_cleanup_save_monitor_area
Cleanup save/monitor button area
2017-11-01 15:53:20 +01:00
fieldOfView
fc7d1210cf Fix qml binding loop 2017-10-30 12:31:46 +01:00
Mark
334283e893 Found some more margins that wouldnt be fixed numbers and made the code more consistent 2017-10-27 14:12:35 +02:00
Jaime van Kessel
a7e1017aa2 Added some missing widths en heights
GammaRay complained about some objects not having a size
2017-10-12 19:14:22 +02:00
Mark
d4a8dbdee7 Change Text to Label and cast all sizes to int
CURA-4437
2017-10-11 12:48:42 +02:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Diego Prado Gesto
c3d6023418 Fixed an issue that doesn't generate the jobname again once the user removes the models. - CURA-4276 2017-09-08 16:22:45 +02:00
Lipu Fei
b0916e4b67 Fix job name mismatching
CURA-4276
2017-09-06 18:09:19 +02:00
Ghostkeeper
b52446ed99
Use text colour specific to text in scene for job specs
Because the scene may have a different background colour than the rest, we need to be able to have inverted colours for that part.

Contributes to issue CURA-4148.
2017-08-23 14:58:43 +02:00
Ghostkeeper
5866b759a8
Move material estimate properties to sidebar as well
That's where they are used after all.

Contributes to issue CURA-4149.
2017-08-14 12:06:03 +02:00
Ghostkeeper
067449192a
Move time/material estimates code to sidebar
It sort of works but is aligned all wrong right now.

Contributes to issue CURA-4149.
2017-08-14 09:04:26 +02:00
Ghostkeeper
d4824a8ff1
Make time estimates tooltip also appear on clock icon
Perhaps that reduces the complaints we have about that thing not appearing.
2017-07-20 09:43:31 +02:00
Ghostkeeper
00aff6d2f2
Make feature labels more accurate for support
It's used a bit differently.

Contributes to issue CURA-3773.
2017-05-11 10:29:18 +02:00
14bitVoid
e9d70a8a70 Translate features for time estimates 2017-05-05 02:36:22 +02:00
14bitVoid
05f46c47f7 Dynamically fill tooltip with time estimates 2017-05-05 02:31:16 +02:00
14bitVoid
69a95e37a5 Show time estimates per feature in tooltip 2017-05-05 01:34:09 +02:00
Lipu Fei
ac560229a1 Fix TypeError in JobSpec.qml due to material cost being undefined 2017-05-03 10:45:39 +02:00
Ghostkeeper
39fbe542b9
Fix font rendering issues in job spec details
Labels render with system settings. Text renders with our settings.

Contributes to issue CURA-3389.
2017-04-14 16:08:12 +02:00
Jaime van Kessel
f82aecb7ca Refactoring; no longer use "Printer" to identify CuraApplication 2017-03-30 20:19:05 +02:00
fieldOfView
9229027001 Refactor properties that start with 'get' to avoid confusion between slots & properties
Case in point: LayerViewProxy.getLayerViewType was decorated as a property but was used/intended as a slot.
2017-02-17 13:35:01 +01:00
fieldOfView
a823980d17 Replace "transparent" Rectangles by Items 2017-01-25 15:21:37 +01:00
fieldOfView
a83c397d69 Show material cost in Job Specs area...
...if weight/price information is available
2017-01-03 11:05:32 +01:00
Thomas Karl Pietrowski
bfe97a1eca Using ~ only for the amount of material in grams 2016-08-11 21:10:16 +02:00
Thomas Karl Pietrowski
1ab0637d11 Adding "approximately equal" to the amount of material needed
I think it makes sense to add this character here, because the amount needed is only a approximated value, and without the end-user might expect a more accurate value.
2016-08-11 20:34:01 +02:00
fieldOfView
9171908c8b Show weights as well as lengths
CURA-1038
2016-07-22 13:44:45 +02:00
Jaime van Kessel
dcc3bc8f80 Also refactored name of printlength in jobspecs.qml
CURA-1836
2016-07-15 15:56:39 +02:00
Jaime van Kessel
7a43164654 Both material weights & lengths are now exposed
CURA-1038
2016-07-15 15:49:25 +02:00
fieldOfView
08f2143790 Simplify showing each material length individually
CURA-1687
2016-07-07 23:58:14 +02:00
fieldOfView
9c492342cb Show each material length individually
CURA-1687
2016-07-07 22:17:35 +02:00
Jaime van Kessel
318182495a We now recieve material estimation per extruder
CURA-1687
2016-07-04 17:11:03 +02:00
fieldOfView
bb18bf6a30 Fix creating a jobname after loading a file
Moves jobname creation out of qml and into python.
CURA-1619
2016-06-02 16:38:06 +02:00
Arjen Hiemstra
386aec32a8 Merge branch 'settings_rework'
Contributes to CURA-1278

* settings_rework: (224 commits)
  Improve slice trigger documentation
  Import Cura in materials preferences page so we can use the active definition id
  Add layer height to high quality profile so we have something that changes
  Update example XML material to use the right product names
  Filter available materials by the machine definition
  Show the add machine dialog when we do not have an active machine
  Create machine-specific material containers for machine specific overrides in XML material files
  When creating a new container stack, add empty containers for things where we cannot find containers
  Add preferred variant, material and quality to UM2+ definition
  Account for global container stack being None in the backend plugin
  Use the global stack instance variable and account for it potentially being None
  Store the global container stack as an instance property
  Added wildcard to filtering
  Per object settings filter now uses correct bool types (instead of strings)
  Removed stray = sign.
  Fix creating print job name
  Disable asynchronous loading of SettingItem when Qt Version < 5.5
  Document QTbug
  Properly serialise all settings to g-code file
  Document GCodeWriter class
  ...
2016-05-25 15:12:25 +02:00
Ghostkeeper
c80455c6bc
Fix creating print job name
Also fixed up the code style of that bit.

Perhaps this should've been done in Python, but that is for later.

Contributes to issue CURA-1278.
2016-05-24 15:04:08 +02:00
fieldOfView
12638f3601 Make machine prefix for jobname optional
CURA-1480
2016-05-13 19:04:32 +02:00
fieldOfView
1583018e75 Clean up theme: tweak colors, remove unused styles
Contributes to CURA-1143
2016-03-17 21:09:18 +01:00
Jaime van Kessel
aafb981245 Setting empty jobname is now possible again
I hope this fixes CURA-707, but it can only be tested through means of a build.
2016-03-17 10:18:46 +01:00
Jaime van Kessel
e8c99f6b9f Increased readability
CURA-1087
2016-03-09 17:12:53 +01:00
Jaime van Kessel
ffbc3e8da3 Added min size to printjob name
CURA-1107
2016-03-09 16:09:12 +01:00
fieldOfView
bc24a3c95b Add sensible maximum length to machine name and job name entry 2016-03-02 22:39:15 +01:00
Arjen Hiemstra
720324f0c6 Replace Theme property accessors with getThing calls 2016-02-23 12:22:30 +01:00