Commit Graph

46 Commits

Author SHA1 Message Date
bofdahof
ba2c2ca5ad Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
Kacper Donat
b999ce0336 TechDraw: Use freecad_cast whenever possible 2025-04-26 14:23:25 +02:00
j-hap
edf8a4daf5 TechDraw: Replace annotation edit dialog with QPlainTextEdit (#20092)
* TechDraw: Replace annotation edit dialog with QPlainTextEdit

* Remove useless include introduced in previous commit

* Remove trailing _ for members to conform with rest of the codebase

* Add const & to string vectors that don't need copying

* Fix IWYU linter warnings

* Forward all annotation double clicks to the StringList property editor

* Remove unused dialog

* Fix Qt 5 build error

* Fix missing exports with MSVC
2025-03-24 13:27:55 -04:00
Kacper Donat
13fbab9e42 Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
Benjamin Bræstrup Sayoc
9a8bdbaf9f TechDraw: Use QStringLiteral 2025-02-10 18:32:44 +01:00
wandererfan
73b986d6a5 [TD]handle escaped unicode annotation text
- v0.19 (and earlier?) stored annotation text as escaped unicode, but
  v0.20 stores the text as utf8.
- checks for "\x" in text to determine is text is escaped or utf8
2023-04-27 13:17:48 -04:00
wandererfan
bc036abb30 [TD]Allow balloons to be attached to non-part views 2023-01-13 12:15:33 -05:00
Uwe
864ef31d81 [TD] minor fixes
- typos and code formatting as reported by the CI
- some more re-sorting
2023-01-09 12:02:50 +01:00
wandererfan
0e402ae075 [TD]add light text on dark page mode
- some visually impaired users need white graphics on
  dark page.

- revise Annotation dialog to respect dark style
2023-01-03 17:41:33 -05:00
Uwe
7a2d0037ff [TD] QGIView*: remove unused includes
- also some sorting
2022-12-04 04:21:01 +01:00
Wanderer Fan
99f2820712 [TD]fix Text sizes not exact 2022-09-07 16:06:54 -04:00
wandererfan
aa2b1b8392 [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
Wanderer Fan
fdfc73fe93 [TD]remove precompiled from *.h 2022-08-14 09:20:38 -04:00
Benjamin Bræstrup Sayoc
71758ecf9b [TechDraw] Clean up precompile in Gui 2022-08-14 09:20:38 -04:00
Benjamin Bræstrup Sayoc
b498e85f43 [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-12 18:13:52 -04:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
berniev
53ba98d636 Mod: use empty 2022-08-06 19:30:13 +02:00
andrea
e3adea272c Remove deprecated function 2022-07-26 08:52:04 -04:00
Uwe
5486c9808d [TD] remove some more superfluous nullptr checks 2022-07-20 02:53:48 +02:00
wmayer
e8f9c8a1d3 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
8b7dadc1ab Gui: do not include generated ui file inside header file 2021-11-22 16:50:21 +01:00
marioalexis
eb0b3f0b94 TechDraw: Fix Unicode and UTF-8 encoding character behavior 2021-09-23 21:21:24 -03:00
Tomas Pavlicek
bb44a4dd0e TechDraw - Edit annotations via double-click 2021-08-15 00:16:57 +02:00
luz paz
ae71abd1cc TechDraw: Header uniformity and whitespace fixes 2020-11-14 16:59:51 +01:00
wandererfan
b174c380c2 [TD]"<" symbol embedded in html 2020-04-12 08:40:28 -04:00
wandererfan
147539f37a [TD]fix single quote in anno string list 2020-04-04 22:42:13 -04:00
Tomas Pavlicek
d54633183c TechDraw - Fix Annotation and Symbol international characters mangling 2019-10-07 16:56:09 -04:00
wandererfan
3f2a898040 [TD]Fix Annotation font size and descenders 2019-09-17 06:51:04 -04:00
wandererfan
92d92476ef SVG Refactor - minor cleanups 2019-06-11 15:46:46 -04:00
wandererfan
4f93ae9431 Fix Rotation not applied after restore
- DrawAnnotation was not applying Rotation
  property after restore from saved file.
2018-10-22 15:34:13 -03:00
wandererfan
fca8034b18 Fix delayed painting
- Annotation and Image were not being painted
  immediately, but had to wait for a page
  refresh.
2018-05-16 18:58:10 -04:00
WandererFan
9c85b1aca3 Poistioning and Rotation for QGIVAnnotation 2017-11-12 19:08:32 -05:00
Unknown
8d9bd319bd Misc. Typos 2017-10-09 19:59:33 +02:00
WandererFan
34a044b969 Fix Svg export page & text size in HiRez 2017-01-29 19:40:32 -05:00
WandererFan
fbe97ec247 Basic working HiResolution TD 2017-01-29 19:40:32 -05:00
Ian Rees
5d67bc27aa TechDraw: Fix Coverity dynamic_cast warnings 2016-08-21 11:08:29 +02:00
WandererFan
ee318b6a2c remove unneeded boundingRect methods 2016-07-23 15:03:39 +02:00
WandererFan
27aafada9c Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
d2763eebfc Working Face selection 2016-07-11 15:32:16 +02:00
Ian Rees
c61662d100 Removed unused QObject inheritances. 2016-07-11 15:32:16 +02:00
Ian Rees
1bb88a761e Remove ctor args from QGIView and descendents. 2016-07-11 15:32:16 +02:00
WandererFan
c458760753 Fix #10 View Visibility 2016-07-11 15:32:16 +02:00
WandererFan
ebc1d935e6 typo in property name 2016-07-11 15:32:16 +02:00
WandererFan
97a0c31306 Add HTML/CSS Styles to Annotation 2016-07-11 15:32:16 +02:00
WandererFan
ffbaf79f4a /QGI/QGraphicsItem/ 2016-07-11 15:32:16 +02:00
WandererFan
df13886349 Add Mod/TechDraw/Gui 2016-07-11 15:32:16 +02:00