Commit Graph

3918 Commits

Author SHA1 Message Date
Yorik van Havre
e8f1bde367 Merged crowdin translations 2022-06-03 11:26:35 +02:00
Chris Hennes
34502193a2 i18n: Update TS files to ensure Python files are included 2022-06-02 14:57:49 -05:00
Chris Hennes
d540de8bee i18n: TS files generated by lupdate 6.4.0dev 2022-06-02 13:41:37 -05:00
Chris Hennes
7b204c01db Gui: Fix typo 2022-06-02 10:29:14 -05:00
Chris Hennes
a4b2bf584d Gui: Fix display of tooltips for GroupCommand
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/88 and https://github.com/FreeCAD/FreeCAD-translations/issues/72
2022-06-01 14:21:17 -05:00
Yorik van Havre
d447d75882 Merged crowdin translations 2022-05-31 13:31:52 +02:00
Uwe
537acfdddd [Gui] code documentation of color bar 2022-05-31 01:59:54 +02:00
Chris Hennes
307cb3cda8 Gui: Check for Snap and add details to About 2022-05-30 13:19:02 -05:00
wmayer
c5296fbb92 Gui: initialize _bbox with correct default values and fix incorrect label postions if ratio of width/height is less than 1 2022-05-30 14:08:33 +02:00
wmayer
1723196166 Gui: fix shrinking and shifting of color bar if ratio of width/height is smaller than one 2022-05-30 12:59:55 +02:00
wmayer
37d2492719 Gui: refactor SoFCColorGradient::setViewportSize and SoFCColorLegend::setViewportSize 2022-05-30 12:49:48 +02:00
Yorik van Havre
d3d96816ce Merged crowdin translations 2022-05-30 10:01:02 +02:00
Uwe
7907b0f8b3 [Gui] describe gradient code better
- to make it easier to see what is happening (not yet perfect since the start numbers 4.0 and 5.0 are not clear yet)
- avoid a jump of the gradient bar when decreasing window size
- return for now only the direct bar width 8will be tested thoroughly now on several PCs if this will work)
2022-05-30 04:08:19 +02:00
wmayer
c4cd127499 Gui: fix number display issue of color bar 2022-05-30 03:39:48 +02:00
wmayer
919271ed5e Gui: fix visibility of front nodes when moving an object to Part container 2022-05-30 03:21:52 +02:00
Uwe
79c218ad9a [Gui] fix default color gradient numbering
as reported here: https://forum.freecadweb.org/viewtopic.php?p=598390#p598390
we must assure the user sees not by default get several gradient labels
showing the same and labels showing 0.000
2022-05-30 02:57:29 +02:00
Mateusz Skowroński
391c9a6bbf buttonClicked(int id) is deprecated since Qt 5.15. Use idClicked(int id) instead. 2022-05-28 16:46:59 -04:00
wmayer
bf6dbd4606 Gui: react on picked point when double or right-clicking color bar 2022-05-28 18:25:52 +02:00
Yorik van Havre
8676d67a87 merged crowdin translations 2022-05-28 12:16:47 +02:00
Yorik van Havre
1e034cc47f Merged crowdin translations 2022-05-27 11:28:55 +02:00
wmayer
a05eb7c07b Gui: [skip ci] avoid possible recursive loading of a module in WorkbenchManager::createWorkbench 2022-05-24 15:54:09 +02:00
wmayer
1383b47659 Test: [skip ci] add unit tests for PR #6907 2022-05-24 14:17:44 +02:00
marioalexis
c00699b15d Gui: Prevent crash when trying to delete pointer to BaseClass 2022-05-24 13:28:14 +02:00
Kuzemko Alexsandr
b903e949ae Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
turn211
6beef68ae1 Fixed bugs and added requests
Fixed Tableview widgets coloured by spreadsheet colours, Changed dark splitters to light. https://forum.freecad.org/viewtopic.php?p=596013&sid=b180cb250e3567c4a8d0bead16ed8cc2#p596013
2022-05-18 23:20:32 -05:00
turn211
afe78105ec Add files via upload 2022-05-18 23:20:32 -05:00
wmayer
ca279e4057 Gui: avoid that toolbars of active workbench become invisible
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=67748
2022-05-18 14:08:32 +02:00
wmayer
d0f98bf45c Conda: ssize_t is a POSIX type and thus not necessarily defined on Windows. Currently this causes build failures with Conda + Py3.10.
The solution is to get rid off all occurrences of ssize_t in FreeCAD code
2022-05-17 11:43:40 +02:00
wmayer
a8411881c9 Gui: use Py_ssize_t instead of ssize_t in AbstractSplitViewPy::sequence_item 2022-05-16 14:54:18 +02:00
marioalexis
52b1d11e59 Gui: Fix crash when invoke command with sMenuText equal to nullptr 2022-05-16 13:47:29 +02:00
marioalexis
1654dddb73 Gui: Improve docstrings in CommandPy.xml 2022-05-16 13:46:24 +02:00
kaktus Jacek
aa19e21662 Update the qrc file list to the latest QT file import (QT5 files update for Polish language)
The file translation.qrc had to be updated as well, which was not done

This time the qrc file also contains an update.
2022-05-15 10:28:04 +02:00
kaktus Jacek
a2e99d9196 add Qt5 translation files
QT5 files update for Polish language

The files contain updated translations and a new standard

https://github.com/FreeCAD/FreeCAD/issues/6875

https://github.com/qt/qttranslations/blob/dev/translations/qt_pl.ts
2022-05-14 13:06:29 +02:00
Uwe
354052e8f5 [Gui] Navigation preferences: fix #6875
- as requested by the translators, give a label more space
(the massive changes in the UI file could not be avoided despite the change is just to put the label into another layout column)
2022-05-12 12:37:59 +02:00
Uwe
f60e20ef98 [skip CI] [Gui] NaviCube.cpp revert a change
from commit f70329390c since the intended fix is not universal for all cube sizes, therefore leave the old pen width as compromise that obviously worked well

(as strange as it is, restarting FC brings me everytime a different border width)
2022-05-12 06:43:29 +02:00
Uwe
84feca0521 [skip CI] [Gui] NaviCube.cpp code cleanup
- fix a typo
- uniform a variable name
- style and whitespace fixes by MSVC
2022-05-12 06:37:12 +02:00
Uwe
f70329390c [Gui] NaviCube: fix #6689
- this is almost #6848 plus some changes suggested by @Jolbas in #6839 to get rid of some magic numbers

changes to:
- the default border width of 1.5 looked clumsy, therefore reduced to 1.1
- fix pen for SHAPE_CORNER (still not optimal, see comment in #6839)
2022-05-12 05:55:48 +02:00
marioalexis
0900c4e3d3 Gui: Improve docstrings in ViewProviderPy.xml 2022-05-10 13:56:46 +02:00
marioalexis
fd31cdcd10 Gui: Clean up code in ViewProviderPyImp.cpp 2022-05-10 13:56:06 +02:00
wmayer
ef00864607 Gui: set Document as modified when changing one of its properties 2022-05-09 21:31:20 +02:00
wmayer
971743a2e9 Gui: fix build failure with Qt 5.9 2022-05-08 19:36:51 +02:00
luz paz
086d86ee11 Crowdin: fix whitespace and typo in translation string
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/132
2022-05-08 18:21:04 +02:00
Wanderer Fan
ad64c57acd [Gui]add support for QGraphicsObject to PythonWrapper 2022-05-08 09:01:04 -04:00
wmayer
30b0efe025 Gui: fix crash on deletion if Undo/Redo is disabled 2022-05-07 12:15:42 +02:00
Zheng, Lei
8433a78807 Gui: fix crash on setup Link CopyOnChange objects 2022-05-05 11:37:38 -05:00
Yorik van Havre
0680ad5558 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
ab5a6d83a1 Updated ts files 2022-05-05 15:20:57 +02:00
wmayer
2a559df2cd Gui: [skip ci] a couple of IDEs or editors struggle with the degree symbol in the comment, replace it with 'deg' 2022-05-02 13:17:50 +02:00
wmayer
254a1c5645 Gui: issue #6306 was fixed with be2ddb37a6 but this doesn't work on high DPI monitors.
This commit fixes that now
2022-05-02 12:54:07 +02:00
Chris Hennes
4f9eb9ebce Gui: Compile CONTRIBUTORS into Qt resources 2022-04-27 10:25:53 -05:00