Commit Graph

3912 Commits

Author SHA1 Message Date
Uwe
a2623d0a29 [Gui] code documentation of color bar 2022-05-31 01:59:54 +02:00
Chris Hennes
48328b9a54 Gui: Check for Snap and add details to About 2022-05-30 13:19:02 -05:00
wmayer
f4ef15b9ce 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
e0d497643b 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
683c9ac65c Gui: refactor SoFCColorGradient::setViewportSize and SoFCColorLegend::setViewportSize 2022-05-30 12:49:48 +02:00
Yorik van Havre
9cbe14f1d5 Merged crowdin translations 2022-05-30 10:01:02 +02:00
Uwe
08ab216a13 [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
e8850a36ea Gui: fix number display issue of color bar 2022-05-30 03:39:48 +02:00
wmayer
66819f82fd Gui: fix visibility of front nodes when moving an object to Part container 2022-05-30 03:21:52 +02:00
Uwe
37cd94e4e4 [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
d42282c80b buttonClicked(int id) is deprecated since Qt 5.15. Use idClicked(int id) instead. 2022-05-28 16:46:59 -04:00
wmayer
3bed7cc290 Gui: react on picked point when double or right-clicking color bar 2022-05-28 18:25:52 +02:00
Yorik van Havre
047b15cfe5 merged crowdin translations 2022-05-28 12:16:47 +02:00
Yorik van Havre
2dffe82cda Merged crowdin translations 2022-05-27 11:28:55 +02:00
wmayer
1e1eba19f8 Gui: [skip ci] avoid possible recursive loading of a module in WorkbenchManager::createWorkbench 2022-05-24 15:54:09 +02:00
wmayer
fc9e19aafb Test: [skip ci] add unit tests for PR #6907 2022-05-24 14:17:44 +02:00
marioalexis
42f7be2a4a Gui: Prevent crash when trying to delete pointer to BaseClass 2022-05-24 13:28:14 +02:00
Kuzemko Alexsandr
c266f16c53 Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
turn211
21e1584a93 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
fbe2181b2c Add files via upload 2022-05-18 23:20:32 -05:00
wmayer
4cd51e71bb 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
72e464b1cc 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
34b0fc7a42 Gui: use Py_ssize_t instead of ssize_t in AbstractSplitViewPy::sequence_item 2022-05-16 14:54:18 +02:00
marioalexis
88fb277481 Gui: Fix crash when invoke command with sMenuText equal to nullptr 2022-05-16 13:47:29 +02:00
marioalexis
3215c8a426 Gui: Improve docstrings in CommandPy.xml 2022-05-16 13:46:24 +02:00
kaktus Jacek
9b7bfb334c 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
f9df88f0a0 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
3487594a96 [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
b60bd550f9 [skip CI] [Gui] NaviCube.cpp revert a change
from commit cb5e316a708f 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
6d4776e32c [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
27a13fb67d [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
a1d31ebd9e Gui: Improve docstrings in ViewProviderPy.xml 2022-05-10 13:56:46 +02:00
marioalexis
16e950ed7b Gui: Clean up code in ViewProviderPyImp.cpp 2022-05-10 13:56:06 +02:00
wmayer
b41bdd82a0 Gui: set Document as modified when changing one of its properties 2022-05-09 21:31:20 +02:00
wmayer
aa4f06b648 Gui: fix build failure with Qt 5.9 2022-05-08 19:36:51 +02:00
luz paz
d2e5b70049 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
aa979441d7 [Gui]add support for QGraphicsObject to PythonWrapper 2022-05-08 09:01:04 -04:00
wmayer
d63b723d02 Gui: fix crash on deletion if Undo/Redo is disabled 2022-05-07 12:15:42 +02:00
Zheng, Lei
03f0fe2039 Gui: fix crash on setup Link CopyOnChange objects 2022-05-05 11:37:38 -05:00
Yorik van Havre
996994da55 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
a62092d498 Updated ts files 2022-05-05 15:20:57 +02:00
wmayer
ed5ec8a7ea 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
cc7ddbccd4 Gui: issue #6306 was fixed with 2cacbb41caf1f2 but this doesn't work on high DPI monitors.
This commit fixes that now
2022-05-02 12:54:07 +02:00
Chris Hennes
66ccc6cc97 Gui: Compile CONTRIBUTORS into Qt resources 2022-04-27 10:25:53 -05:00
Chris Hennes
5edcb47683 Gui: Fix Stereo view disabling
Fixes #6799.
2022-04-26 22:31:34 -05:00
Zheng, Lei
8bec44934b Fix mixed line endings 2022-04-26 12:52:55 -05:00
Zheng, Lei
b7fb96b553 Reduce debug log output 2022-04-23 16:21:49 +02:00
wmayer
5d1b33ee42 Gui: do not reset tab size to 4 when creating new text editor 2022-04-22 14:33:44 +02:00
Yorik van Havre
1fbd1fb38d Merged crowdin translations 2022-04-21 14:18:33 +02:00
wmayer
6c21534191 Gui: issue #6765: Overlay Icons for Std Link nearly invisible small 2022-04-20 08:51:59 +02:00