| Summary: | Use locale units for cloth count by default | ||
|---|---|---|---|
| Product: | [Applications] KXStitch | Reporter: | Karl Ove Hufthammer <karl> |
| Component: | general | Assignee: | Steve Allewell <steve.allewell> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kxstitch/fded3b62be6377a38bab936027c4b98102f873dc | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Karl Ove Hufthammer
2016-11-27 08:45:51 UTC
In the configuration dialogue for Pattern, 'Pattern Size' units are Stitches|Inches|Centimeters and the 'Cloth Count' units are Inches|Centimetres|Default, Default will be suffixed by (Inches) or (Centimetres) depending on locale. I will change the installed default to 'Default (Locale Setting)' Do you think that if a user selects Inches or Centimetres in the 'Pattern Size', the 'Cloth Count' should change to suit, or should it retain a mixed measurement system? Git commit fded3b62be6377a38bab936027c4b98102f873dc by Steve Allewell. Committed on 14/12/2016 at 20:55. Pushed by sallewell into branch 'master'. Fix a number of usability bugs with number formats Change formatting of cloth count across a number of dialogs. Fix some conversion errors between stitches/cm/inches. Set cloth count preference to users locale by default. Add suffixes to identify units used. Related: bug 372985, bug 372987 M +23 -6 kxstitch.kcfg M +3 -3 kxstitchui.rc M +89 -46 src/ConfigurationDialogs.cpp M +5 -3 src/ConfigurationDialogs.h M +18 -14 src/Document.cpp M +2 -2 src/Editor.cpp M +1 -1 src/Editor.h M +7 -7 src/Element.cpp M +115 -59 src/FilePropertiesDlg.cpp M +5 -4 src/FilePropertiesDlg.h M +91 -15 src/ImportImageDlg.cpp M +7 -9 src/MainWindow.cpp M +1 -1 src/PatternElementDlg.cpp M +1 -1 src/Scale.cpp M +15 -15 ui/FileProperties.ui M +3 -0 ui/ImportImage.ui M +7 -2 ui/PatternConfigPage.ui https://commits.kde.org/kxstitch/fded3b62be6377a38bab936027c4b98102f873dc |