wmayer
d150fa7164
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wandererfan
367a0a7277
[TD]prevent object deletion outside dialog
2023-05-24 10:15:45 -04:00
wandererfan
2737e830b1
[TD]fix fail on object deleted during dialog ( #9626 )
2023-05-24 10:15:45 -04:00
wandererfan
74c1fed8a6
[TD]fix StackTop and StackBottom
2022-09-24 08:18:38 -04:00
wandererfan
fcef1cb174
[TD]implement view stacking
2022-09-07 16:06:54 -04:00
wandererfan
acf17905ed
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Benjamin Bræstrup Sayoc
fda3fd731f
[TechDraw] Use inherited unsetEdit
...
Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
23966513c7
[TechDraw] Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
86dfd0a862
[TechDraw] Simplify code getting default line weights
2022-08-02 16:13:01 -04:00
Benjamin Bræstrup Sayoc
c90fc4fe49
[TechDraw] Improve readability of ViewProviderBalloon.cpp
2022-07-15 11:31:11 -04:00
wmayer
9b2b0e0acf
modernize C++: replace boost::function with std::function
2022-06-30 20:31:55 +02:00
Wanderer Fan
56d289997c
[TD]fix Dimension/Balloon movement
2022-06-02 16:33:25 -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
7daff0960f
[TD] ViewProviders: remove unused includes
...
- also sort the includes
2022-02-18 04:43:32 +01:00
wmayer
8df497b08e
Gui: move methods startDefaultEditMode() and addDefaultAction() to ViewProviderDocumentObject
2021-12-06 19:24:26 +01:00
wmayer
4327cd5ccb
Mod: make sure to call the base class' handleChangedPropertyType
2021-09-15 14:07:32 +02:00
wmayer
bb0d75b6cc
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
donovaly
a9da6194a5
[TD] update balloon dialog
...
2 weeks ago the properties EndTypeScale and LineVisible were added but not to the dialog.
This PR adds them t the balloon dialog-
It also took the opportunity to cleanup the code:
- add missing tooltips
- uniform tooltips in App and Gui
- uniform the UI element names
2021-01-02 11:49:20 +01:00
Aapo
f3bce14f29
[TD] Balloon, move property LineVisible to View tab and fix a refresh bug.
2020-12-18 12:45:34 +01:00
donovaly
a1915d313a
[TD] make LineGroup selectable
...
At the moment one has to specify the LineGroup as string. But one doesn't know what groups exist. So one has to check the Wiki, learn there where the groups are defined and then open the definition file with a text editor.
This PR simplifies this by reading the existing groups out of the definition file and fill the combobox accordingly.
It also give the user info what the selected LineGroup defines via the tooltip.
A nice side effect is that no typos can occur since you don't have to enter the LineGroup name as text.
2020-12-03 17:24:49 +01:00
wandererfan
e80c576241
[TD]Centralize preference getters
2020-04-24 11:13:49 -04:00
donovaly
7e60dcd734
- add missing update on changed color
...
- some minor code rearrangements and wording changes
2020-03-20 11:34:03 -04:00
donovaly
14fbda341c
[TD] Balloon fixes
...
- remove the unused property OriginIsSet
- refurbish TaskDialog and add new settings:
- use SpinBox for Shape Scale
- add Font Size
- add Text Color
- add Line Width
- add Kink Length
- correct and add tooltips
2020-03-20 11:34:03 -04:00
donovaly
941ce9c43c
CanDelete is necessary for dimensions
...
- therefore revert commit bd0bf690b53f8355400278a127524029d225dffb.
- handle balloons the same way
- fix line ending in ViewProviderProjGroupItem.cpp
2020-03-04 08:24:17 -05:00
donovaly
338774dd47
[TD] Use PropertyLength for LineWidths
...
- contributed by @uwe
- also assure that the LineStyle is restricted to the range 0-5
fix another conversion routine mistake
2020-01-27 09:09:25 -05:00
Tomas Pavlicek
fad4db3300
TechDraw: Fix font size issues when exporting to SVG
2019-05-27 22:18:14 -04:00
Franck Jullien
36d341f3df
[TD] Add TaskPanel for Balloons
...
TaskPanel can be open by double clicking either Balloon label on drawing
page or Balloon object in tree view.
2019-05-22 12:50:47 -04:00
Franck Jullien
b5613b2bd8
TechDraw: add Balloons
2019-04-01 23:24:17 +02:00