Commit Graph

30 Commits

Author SHA1 Message Date
wandererfan
ce4ba703d9 [TD]ActiveView from different document 2022-10-18 09:04:28 -04:00
Uwe
1b7e53acbc [TD] Gui, everything but Q*, Task* and ViewP*: remove unused includes
- also sort includes
2022-10-09 17:20:00 +02:00
wmayer
82866db0ca Mod: replace QRegExp with QRegularExpression 2022-10-07 14:03:53 +02:00
wandererfan
acf17905ed [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
Wanderer Fan
f5c5eec3bb [TD]code review changes for Gui 2022-08-18 19:43:04 -04:00
Wanderer Fan
6677cd4d8f [TD]clazy warnings and duplicate setter/getter
- clazy warning re missing Q_OBJECT

- include TechDrawGlobal.h in headers

- resolve duplicate setter/getters
2022-08-18 09:34:32 -04:00
Wanderer Fan
bdf4cea14e [TD]refactor scene/view/mdi
- move scene related functions out of mdiViewPage
  and QGVPage.
- route requests for scene/view/mdi through
  ViewProviderPage
2022-08-18 09:34:32 -04:00
wmayer
e7edda9679 TD: [skip ci] Fix several clazy issues:
* Using copy-ctor but class TechDraw::anglePoints has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
* Using copy-ctor but class TechDraw::arcPoints has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* C++11 range-loop might detach Qt container (QList) [-Wclazy-range-loop-detach]
* signal arguments need to be fully-qualified (TechDrawGui::QGIView instead of QGIView) [-Wclazy-fully-qualified-moc-types]
* Use multi-arg instead [-Wclazy-qstring-arg]
* Use midRef() instead [-Wclazy-qstring-ref]
2022-07-25 17:00:48 +02:00
Uwe
2e5e4dced8 [TD] Gui: remove some superfluous nullptr checks 2022-07-19 02:49:46 +02:00
Wanderer Fan
9894964eb6 [TD]implement navigation styles 2022-06-24 10:03:02 -04:00
wmayer
fd8719c85c TD: [skip ci] activate PCH of TechDraw (Gui) and use forward declarations
For MSVC this reduces compile time by ~20%
2022-03-25 13:54:47 +01:00
Uwe
4b0767dec1 [TD] some style unification
automatically done by MSVC
2022-01-03 23:30:43 +01:00
Wanderer Fan
4430e3ec8c [TD]Allow selection of Page when adding View 2022-01-02 09:49:33 -05:00
wmayer
e9bc970c28 PVS: V522 There might be dereferencing of a potential null pointer 2020-07-18 10:59:27 +02:00
wandererfan
ad405545e6 [TD]handle new identifier for Draft objects 2020-05-20 21:44:26 -04:00
wandererfan
197c0f799c [TD]improve selection filtering for ArchSection 2020-03-19 08:00:53 -04:00
wandererfan
55da881bc9 [TD]improve selection filtering for DraftView 2020-03-19 08:00:53 -04:00
wandererfan
ebf6d1ca2b [TD]make Arrow enums translatable 2020-03-11 09:33:54 -04:00
wandererfan
dcef41782e [TD]harmonize Arrow enums 2020-03-11 09:33:54 -04:00
wandererfan
92dfecea75 [TD]correct alignment of Section & Detail with Base 2019-11-27 07:31:45 -05:00
Zheng, Lei
c555a8222e TechDraw: fix face based projection direction detection 2019-08-17 15:32:51 +02:00
Zheng, Lei
d26f772035 TechDraw: Link related changes
* Support link and group objects

* Support view sync by implementing view provider API getMDIView()

* Use handleChangedPropertyType() for object migration instead of
  reimplementing Restore() because of a lots of changes in
  PropertyContainer::Restore().

* Various other small fixes.
2019-08-17 15:15:46 +02:00
wandererfan
aa8feb79d0 Use Face or 3D direction for View and ProjGroup
- use current 3D window direction as starting
  direction for DrawViewPart and ProjectionGroup
- if a Face is selected, use Face normal as
  starting direction.
2018-09-06 08:00:00 +02:00
wmayer
4682b4fd25 fix -Wparentheses-equality 2018-05-23 18:40:47 +02:00
wandererfan
57b7f3389a Fix selection when multiple pages 2018-05-15 21:50:48 +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
540b2dc79e Correct Selection When Multiple Pages
- when inserting a new View in a document with
  multiple Pages, the View did not always get
  added to the proper Page.
2018-02-06 13:58:00 -05:00
WandererFan
b6c820f4f4 Add debug utils for QRectF/QPointF 2017-09-17 18:50:07 +02:00
WandererFan
2c31b01ffe Fix 2889 Toggle Frames for DrawViewSymbol 2017-02-07 10:51:42 -02:00
WandererFan
f230967146 Only enable Commands when appropriate
Remove dupl code
2016-09-28 20:24:47 -04:00