Commit Graph

393 Commits

Author SHA1 Message Date
wandererfan
9bfd118f37 Fix includes for M_PI on Win
Fix missing ImportExport
2018-07-18 10:52:03 -03:00
luz.paz
be5e93ddfe Misc. typo & whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
Revert IFC commit
2018-07-11 21:52:27 -04:00
wandererfan
860ad6b913 Use Stroker to generate Edge selection area 2018-07-11 21:17:03 -03:00
wandererfan
545bed8b15 Fix arcs on outer angle dimensions 2018-07-11 21:17:03 -03:00
wandererfan
0914829958 Fix initial placement of linear dims 2018-07-11 21:17:03 -03:00
wandererfan
cd02be6fca TD: provide gap between figure and ext lines 2018-06-22 10:47:55 -03:00
wandererfan
b20a992579 Fix extension line direction in isometric views 2018-06-22 10:47:55 -03:00
wandererfan
79e290ffb5 Fix 3505 Special Chars in Path
- thanks to @marams for the patch.
2018-06-10 19:13:21 +02:00
wandererfan
6c4e4b35af Ensure Correct Scale in DrawViewSection
- when the Source View for a Section is a Projection
  Group item, need to use the Scale property from the
  parent Projection Group.
2018-06-10 19:13:21 +02:00
wandererfan
a6e9eec5ad Avoid Qt warning re mdi window not in workspace 2018-05-28 13:27:11 -04:00
wandererfan
c96d72bd67 Ignore selection changes while closing Page 2018-05-28 13:26:26 -04:00
wmayer
4682b4fd25 fix -Wparentheses-equality 2018-05-23 18:40:47 +02:00
wandererfan
afdd30b137 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
09f607c5fc Remove debugging messages 2018-05-16 18:58:10 -04:00
wandererfan
57b7f3389a Fix selection when multiple pages 2018-05-15 21:50:48 +02:00
wandererfan
89a7b2a92f Fix selection for radius Dims
- selection of ellipse curves was allowed
  but not supported for radius dims.
2018-05-15 21:50:48 +02:00
wandererfan
26d7d74725 Convert deprecated boost::signal to signals2 2018-05-11 10:32:24 -03:00
wandererfan
eefaaa58db Eliminate some redundant executes
- excessive calls to DrawView::execute were
  slowing data entry in PropertyEditor.
2018-05-11 10:32:24 -03:00
wandererfan
cb12b0eda0 Add Export Page as Dxf to TD Gui 2018-05-01 13:22:02 -04:00
luz.paz
505488c4f9 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
wandererfan
5ccb7e7d37 Add some debug and util routines. 2018-04-25 11:09:39 +02:00
wandererfan
00f36d78e4 Update Page display when View removed.
- if a View is removed from a Page, but not from
  the document, its graphic remains on the display.
  This change checks if graphic has an associated
  View on this Page.
2018-04-25 11:09:39 +02:00
wandererfan
371c7e4588 Ensure Section face redrawn on update 2018-04-25 11:09:39 +02:00
wandererfan
a40996016f Add #3337 Arbitrary Dimension 2018-04-25 11:09:39 +02:00
wandererfan
c3d56ca36e Fix exterior angle arc and value 2018-04-25 11:09:39 +02:00
wandererfan
4cd563b5c2 Remove duplicate code/save Dim line geom 2018-04-25 11:09:39 +02:00
wandererfan
f13689753c Fix #3367: view/data pane is unselected
- error in coordination of Tree & QGraphicsScene
  selection logic caused Feature to become
  unselected during update.
2018-04-23 07:55:38 +02:00
wandererfan
4f3f620720 Coverity fixes
CID 174671
CID 174670
CID 174669
CID 174668
CID 174667
CID 174664
2018-04-23 07:55:38 +02:00
wandererfan
5d1fa67230 Fix add ArchSection w/ multiple Pages 2018-04-22 07:44:41 +02:00
wmayer
840c9e8b3c prepare for PyCXX 7.0 2018-04-18 19:20:50 +02:00
WandererFan
f95117c706 Sync TechDraw what's this with Wiki page names 2018-04-11 10:53:42 -03:00
WandererFan
973e0e4bdd Align TechDraw menu and toolbars 2018-04-11 10:53:42 -03:00
wmayer
578d7b2876 fix typos in German translation 2018-03-27 10:47:52 +02:00
Yorik van Havre
d4f835ab39 Merged translations from crowdin 2018-03-26 18:52:02 -03:00
wmayer
fa26b06c9c repair French and Finnish translation files 2018-03-22 14:40:14 +01:00
wmayer
5109e15889 TD Translation fixes 2018-03-18 15:12:39 +01:00
luz.paz
f97e28bdb1 TD Translation fixes 2018-03-18 14:30:52 +01:00
wandererfan
c02ddba1fb Fix display of Edge/Edge horiz/vert Dims 2018-03-11 20:43:16 -04:00
wandererfan
9d26fe0599 Preserve setting across language change 2018-03-11 21:33:59 +01:00
wandererfan
2b35fd173a Correct delayed scaling of center/section lines 2018-03-11 21:33:59 +01:00
wandererfan
7cde0236f1 Prevent translation of LineGroup name 2018-03-11 21:33:59 +01:00
wandererfan
4880eff86d Sync code default values with Pref defaults 2018-03-11 21:33:59 +01:00
WandererFan
11ad76b82e Fix Bad View Position on Add to Clip 2018-03-08 11:24:31 +01:00
WandererFan
02eadc950f Use Unit Aware Spinbox in Prefs
- use length aware spinboxes for font and
  arrow sizes in TechDraw preferences.
2018-03-08 11:12:45 +01:00
wmayer
8c6b4ad1a6 fix German translation 2018-03-03 23:37:15 +01:00
wandererfan
449dbe13eb Fix painting of detail highlight
- painting of the detail highlight in the base
  view was being delayed until the base view
  was updated. It is now drawn when detail
  changes.
2018-03-03 11:22:15 -03:00
Sebastian Bachmann
efa8ceb303 TechDraw: small corrections for line sizes
changeing the line weight for dimensions to a thin line
and get the font size for detail view labels from the configuration
rather than using a hardcoded value.
Also removing a duplicate method, as it is already implemend in the
parent class.
2018-03-02 10:48:55 -03:00
WandererFan
8a26554eda Fix Dimension Response to Changed X/Y
- Dimensions in Gui were not responding to changes in
  the Feature's X/Y properties.
2018-02-28 18:38:59 -05:00
WandererFan
1700f36104 Use PrefFontBox for TD Label Font Selection
- was PrefLineEdit.
2018-02-27 14:30:21 -05:00
Sebastian Bachmann
c41363c117 TechDraw: new center/section draw style
using custom QT pen styles, the center and section lines look much
better.
With some math we are also able to control the middle position, thus
the centerlines will always look good, regardless of the size of an
object.

Also getting the section label size from the settings, so the font
size is controllable and not hardcoded.

Bonus: adding blank templates for the common paper sizes (as the
        Drawing WB has them)
2018-02-24 16:58:17 +01:00