Commit Graph

17 Commits

Author SHA1 Message Date
Chris Hennes
cd43bf60ee PD: Translate shaft end types
Adds support for menu items having 'user data' that is the untranslated string. It would be better if these were enumerations, but that's a much larger refactoring process.
2024-03-11 18:05:29 +01:00
Roy-043
64df36ba5c PartDesign: Avoid dictionary.keys() where possible 2023-08-10 00:54:21 +02:00
Chris Hennes
7568c885f3 PD/ShaftWizard: Correct some translation issues 2023-04-17 23:48:08 -05:00
luzpaz
a5fcb3b225 [PartDesign] Expose WizardShaft/ strings to translation (#4964)
* [PartDesign] Expose WizardShaft/ strings to translation

* Correct use of double quotes

* [PD] Suggested changes in `Crowdin/pd-wizard-shaft` (#4)

* [PartDesign] Use correct method name in `WizardShaft`

Use `QtCore.QT_TRANSLATE_NOOP` instead of `QT_TRANSLATE_NOOP` because latter is
not what is imported.

* [PartDesign] Remove undesired translations in `WizardShaftTable.py`

See comments by @chennes on PR#4964.

Co-authored-by: Ajinkya Dahale <AjinkyaDahale@users.noreply.github.com>
2021-08-13 18:16:42 -05:00
luzpaz
68e06cc313 [PartDesign] Linting and cleaning superfluous whitespace (#4851)
* [PartDesign] Linted Mod/PartDesign/Scripts for pep8 compliance

* [PartDesign] Fix superfluous whitespace in WizardShaft/

* Added spaces per @chennes's feedback
2021-08-11 15:02:58 -05:00
wmayer
52fdc66003 PartDesign: [skip ci] set explicit encoding of Python files for backward compatibility 2020-01-09 17:07:04 +01:00
luz.paz
dc8bf3dc39 PartDesign: [skip ci] fix header uniformity
This PR fixes header uniformity across all PartDesign WB files
2019-12-22 00:58:38 +01:00
luz.paz
30d2e29e0c LGTM: various fixes for using string operator instead of numeric 2019-10-25 10:33:12 -03:00
wmayer
70049f1b6b Py3: Port Wizard shaft to Python 3 2018-11-27 18:13:35 +01:00
jrheinlaender
c63028c6ae Port of WizardShaft to PySide 2014-01-06 16:21:09 -02:00
jrheinlaender
43a26c8b90 Shaft Wizard: Right-click on column header brings up context menu 2013-03-24 16:28:13 +04:30
jrheinlaender
9eb9fd214c Shaft Wizard: Removed unnecessary (and erroneous) class variables which now allows the wizard to be called multiple times in a session... 2013-03-24 15:52:15 +04:30
jrheinlaender
1e6cf7a3db Bug fixes 2013-03-22 19:29:45 +04:30
jrheinlaender
d7faf5d8a2 Enhancements to Shaft Design Wizard, e.g. display of stresses for three axes and bending curve for shaft 2013-03-21 16:58:40 +04:30
jrheinlaender
4ac1803d6b Added inner diameter parameter for shaft wizard 2012-12-03 21:43:45 +01:00
jrheinlaender
2e7aa9cf38 Changed list views to comboboxes in the table 2012-12-02 13:29:05 +01:00
jrheinlaender
4e715afffc Created shaft wizard (moved here from PartDesign branch) 2012-12-02 13:29:05 +01:00