Yorik van Havre
966906da96
Merge pull request #4557 from luzpaz/crowdin/whitespaces-substituted-into-code
...
Crowdin: represent whitespace in code instead of in string
2021-05-05 17:18:35 +02:00
wmayer
b831d9d7f2
TD: remove some more deprecated Py2 code
2021-04-26 11:01:59 +02:00
wmayer
8c4d77f2ca
TD: do not delete mtextedit.h for in-source builds
2021-04-25 13:15:20 +02:00
wmayer
9209d35390
TD: fix memory leaks in BaseGeom::baseFactory() and make code more readable
2021-04-23 17:05:13 +02:00
luz paz
738a697d94
[TD] remove Py2 code from TD
2021-04-22 13:08:56 +02:00
Yorik van Havre
c52e55c75b
Merge pull request #4724 from Syres916/patch-15
...
[Techdraw] Fix minor bug changing Image Crop...
2021-04-22 10:59:23 +02:00
wmayer
80415446cf
CMake: disable moc for some targets and fix failure for existing builds
2021-04-19 15:13:17 +02:00
Mateusz Skowroński
9ade68e9bf
Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6.
2021-04-19 15:10:53 +02:00
luz paz
6f83a4a815
Crowdin: represent whitespace in code instead of string
2021-04-19 06:23:07 -04:00
Alexander Golubev
197a0692d3
TD: fix center line style settings
...
forum thread: https://forum.freecadweb.org/viewtopic.php?f=35&t=57783
2021-04-17 11:39:13 +02:00
luz paz
60030e5f31
[TD] remove icons/cursor-balloon.png and replace references w/ SVG file
...
Replacing w/ the already installed`TechDraw_Balloon.svg` file in the same directory.
2021-04-17 11:38:10 +02:00
luz paz
18e707c6b7
[TD] Replace techdraw-lock.png and rename with TechDraw_Lock.svg
2021-04-17 11:38:10 +02:00
luz paz
d070091fc7
[TD] Cont. organizing TechDraw.qrc file
...
Use similar approach that is used in `src/Mod/Fem/Gui/Resources/Fem.qrc`
2021-04-17 11:38:10 +02:00
luz paz
f1eb1ff44e
[TD] Renamed ProjectionGroup, Hatch, GeomericHatch
2021-04-17 11:38:10 +02:00
luz paz
035d146d88
[TD] Renamed ClipGroup, ClipGroupAdd, ClipGroupRemove
2021-04-17 11:38:10 +02:00
luz paz
d13e450343
[TD] Renamed SpreadsheetView, RichTextAnnotation, SectionView...
...
`Quadrants`, `DetailView`, `ShowAll`
2021-04-17 11:38:10 +02:00
luz paz
fe3d5d0728
[TD] icon name uniformity (cont.)
...
`WeldSymbol`, `PageDefault`, `PageTemplate`, `Symbol`, `ExportPageSVG`. `ExportPageDXF`, and `Tile`
Moved `icons/arrow*` files further down the list + continuing to sort.
2021-04-17 11:38:10 +02:00
luz paz
ab44403118
[TD] Fix minor superfluous whitespace [skip ci]
2021-04-14 15:20:20 +02:00
luz paz
6b4e7fb9d7
[TD] Fix typo in Gui/CommandAnnotate.cpp [skip ci]
2021-04-14 15:19:51 +02:00
Syres916
c30433c041
[Techdraw] Fix minor bug changing Image Crop...
...
... from True to False does not fill image view box only approx three quarters.
This was found testing reported issue https://forum.freecadweb.org/viewtopic.php?f=35&t=57537 (otherwise it works as @wandererfan expected)
2021-04-09 10:23:29 +01:00
luz paz
751399892a
[TD] icon uniformity for ActiveView and FaceCenterLine commands
...
Renamed SVGs, saved as plain svg, updated appropriate areas in the source code
2021-04-05 14:41:30 +02:00
Mateusz Skowroński
252d30e40f
QPainter::HighQualityAntialiasing is deprecated. Use QPainter::Antialiasing instead.
2021-04-04 11:33:51 +02:00
bitacovir
2f0232c5f0
[UI] Replace SVG icon of TechDraw RedrawPage
2021-04-03 17:58:05 +02:00
wmayer
0177f9b9f8
TD: [skip ci] fix DrawingView::print/MDIViewPage::print
2021-04-02 12:06:24 +02:00
Chris Hennes
bd86b4dcfe
[TD] Remove deprecated Qt < 5.9 code
2021-04-02 12:02:54 +02:00
wmayer
3737a3cfb2
TD: fixes #0004598 : Segfault when deleting template without page
2021-03-27 13:18:15 +01:00
Benjamin Nauck
bb5ac30e24
TechDraw: [skip ci] convert source files from iso-8859 to utf-8
...
All other source files are either plain ascii or utf-8, this converts
the last few to utf-8.
2021-03-25 18:02:12 +01:00
David Osterberg
c1b3fba031
Beautify xml step 1: These changes do not affect the uic output
2021-03-02 16:29:11 +01:00
Yorik van Havre
162d5c578f
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2021-02-25 13:30:09 +01:00
Yorik van Havre
fa85db61f9
Merged crowdin translations
2021-02-25 13:27:48 +01:00
Aapo
505ba2e42f
[TD] DrawViewPart.cpp: Fix a crash when user sets the PropertyVector Direction to zero.
2021-02-25 12:40:59 +01:00
wmayer
3ad1d8fccc
TD: [skip ci] implement DrawView::recompute to handle all OCC exception types
2021-02-25 12:39:50 +01:00
wmayer
2de6a80bb4
TD: [skip ci] explicitly nullify geometryObject in DrawViewPart::partExec to avoid to leave it a dangling pointer in case makeGeometryForShape raises an exception
2021-02-25 11:34:29 +01:00
Aapo
e39ef22c1b
[TD] Hotfix for Dimension label Arbitrary value regression in DrawViewDimension.cpp
2021-02-25 10:28:42 +01:00
Yorik van Havre
5c12afb5b5
Merged crowdin translations
2021-02-24 18:07:59 +01:00
donovaly
d208fc6ef0
[TD] fix balloon dragging
...
Fixes bug that dragging while pressing CTRL did not work anymore, see https://forum.freecadweb.org/viewtopic.php?f=35&t=55863
2021-02-22 02:17:05 +01:00
wmayer
5c4fcaef1d
TD: [skip ci] Fix coverity warning
...
Coverity warnings fixed:
CID 316559 (#1 of 1): Uninitialized scalar variable (UNINIT)
3. uninit_use_in_call: Using uninitialized value we. Field we.idx is uninitialized when calling push_back
CID 316549 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
4. uninit_member: Non-static class member pageheight is not initialized in this constructor nor in any functions that it calls.
CID 186161 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member parent is not initialized in this constructor nor in any functions that it calls.
CID 305170 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking this->m_baseFeat suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
CID 186152 (#2 of 2): Uninitialized pointer field (UNINIT_CTOR)
3. uninit_member: Non-static class member m_mdi is not initialized in this constructor nor in any functions that it calls.
CID 192588 (#1 of 1): Same on both sides (CONSTANT_EXPRESSION_RESULT)
pointless_expression
2021-02-21 16:30:30 +01:00
vosk
100a7ade4c
[TD] - Fix geometry object leaking on every exec
2021-02-19 16:50:56 +01:00
Yorik van Havre
3122859464
Merge pull request #4456 from donovaly/TD-balloon-drag
...
[0.19] [TD] fix dragging of balloons
2021-02-18 15:48:58 +01:00
donovaly
966540aa3a
QGIViewBalloon.cpp: a fix as suggested
2021-02-18 01:41:23 +01:00
Chris Hennes
2f98337403
[TD] Fix error in editable status of DOCUMENT_TYPE
...
All of the TechDraw ISO7200_Pep templates so that the DOCUMENT_TYPE area is
fully editable, allowing the user to overwrite the default contents entirely
instead of just adding to it.
2021-02-17 16:01:44 +01:00
donovaly
038e35c002
QGIViewBalloon.cpp: code simplification
2021-02-16 01:51:43 +01:00
donovaly
5932bbd6a6
[TD] fix dragging of balloons
...
as reported in https://forum.freecadweb.org/viewtopic.php?f=10&t=55109&start=30#p478147
dragging a balloon pollutes the undo steps destroying working with undo and drawings.
2021-02-15 22:28:13 +01:00
wmayer
a79e9bb609
TD: fix undo/redo for balloon objects
...
* inside mouseReleaseEvent() check if the mouse has been moved and only if yes emit the dragFinished() signal
* improve error handling in mouseDoubleClickEvent
* in mouseDoubleClickEvent start to edit the view provider
2021-02-14 19:30:06 +01:00
wmayer
9b145fc830
TD: fix undo/redo for dimension objects
...
* do not emit dragFinished() signal inside mousePressEvent as nothing has been done. This avoids to create an empty transaction and doesn't touch the document
* inside mouseReleaseEvent() check if the mouse has been moved and only if yes emit the signal
* improve error handling in mouseDoubleClickEvent
* in mouseDoubleClickEvent start to edit the view provider
2021-02-14 19:03:19 +01:00
wmayer
a800920791
TD: [skip ci] use setAutoCloseOnTransactionChange for balloon and dimension task dialog
2021-02-12 17:43:31 +01:00
wmayer
0b0bd8b806
TechDraw: [skip ci] avoid to trigger a slot in constructor of TaskBalloon
2021-02-12 16:55:39 +01:00
wmayer
2824acedda
TechDraw: fixes for dimension feature:
...
* reimplement ViewProviderDimension::setupContextMenu() to show menu item to start editing it
* fix TaskDimension::accept() and TaskDimension::reject()
2021-02-12 15:55:26 +01:00
wmayer
77c6eb91e3
TechDraw: [skip] fixes for balloon feature:
...
* reimplement ViewProviderBalloon::setupContextMenu() to show item to start editing it
+ fix TaskBalloon::accept() and TaskBalloon::reject()
2021-02-12 15:36:21 +01:00
Yorik van Havre
0de8cceb53
Updated ts files
2021-02-12 14:47:37 +01:00