Paddle
7f18faae7d
Sketcher: Remove grid settings from Edit Control widget.
2023-02-25 23:13:55 +01:00
wmayer
7ccee344c7
Sketcher: move to new style connect()
2023-01-13 20:17:53 +01:00
wmayer
103de43a4e
Gui: fix possible problems with new style connect
...
* In UIntSpinBox rename the signal to not overwrite the signal of the base class
* In UIntSpinBox use the (ambiguous) signal 'valueChanged' of the base class QSpinBox
* To avoid that connect() fails use the function pointer of the Qt class where the signal is defined
2023-01-12 17:02:59 +01:00
Uwe
ed995b5a15
[Gui] modernize some connect() settings
...
- addresses #6166
2023-01-12 15:13:16 +01:00
Uwe
a912e8aa95
[Sketch] Gui:Task*: remove unused headers
...
- also some sorting
2022-12-14 03:48:40 +01:00
Uwe
c3e4d3c258
Revert "[Sketch] TaskSketcherGeneral: restore wording of FC 0.20"
...
This reverts commit 354cffe559 .
2022-10-17 02:31:08 +02:00
Uwe
354cffe559
[Sketch] TaskSketcherGeneral: restore wording of FC 0.20
...
- see https://forum.freecadweb.org/viewtopic.php?p=633198#p633198
- also fix problem with wrong custom widget definition (kindly automatically fixed by Qt's designer)
2022-10-15 04:50:50 +02:00
Paddle
2da9caece2
Sketcher: Remove 'Edit controls' widget 'Grid Size' LABEL.
2022-10-10 08:50:56 -07:00
wmayer
d344ccc4eb
Sketcher: [skip ci] Fix several clazy issues:
...
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Unused QString [-Wclazy-unused-non-trivial-variable]
* Missing emit keyword on signal call [-Wclazy-incorrect-emit]
* Don't call QList::operator[]() on temporary [-Wclazy-detaching-temporary]
* Use multi-arg instead [-Wclazy-qstring-arg]
* Maybe you meant to call ViewProvider2DObjectGrid::onChanged() instead [-Wclazy-skipped-base-method]
2022-07-25 12:56:09 +02:00
mosfet80
620c273c4e
Boost version <=1.60 is never used in freecad 0.20 ( #7038 )
...
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
wmayer
ead5154b18
Sketcher: modernize C++11
...
* use nullptr
2022-03-23 19:26:15 +01:00
0penBrain
7cd3930dd8
[Sketcher] Removed lines that was introduced to workaround grid visibility management issues
2021-11-05 03:18:08 +01:00
Chris Hennes
6227a711c3
[Sketcher] Remove deprecated Qt < 5.9 code
2021-04-01 19:38:23 +02:00
donovaly
28c66fc501
[Sketcher] make pointers to the UI std::unique_ptr
...
Same as PR #4293 , just for Sketcher
as noted in https://github.com/FreeCAD/FreeCAD/pull/4271#discussion_r554673632
the pointer to the UI should be a unique pointer.
This PR does this for all Sketcher dialogs that don't already use a unique_ptr.
2021-02-04 10:37:44 +01:00
wmayer
f3b460e42e
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
200c7c7e00
[skip ci] include missing boost header
2020-06-07 17:21:37 +02:00
0penBrain
da33ffc062
[Sketcher] Grid is displayed in 3D view only if sketch is visible
2020-05-27 19:25:47 +02:00
0penBrain
811a44643c
[Sketcher] Local settings are correctly restored ; fixes #3952,#4058
2020-05-27 19:25:47 +02:00
0penBrain
286a692ca9
[Sketcher] Move general settings widget enable/disable logic in TaskSketcherGeneral so ...
...
... all options are freely accessible in the preferences editor ...
... eg. no need to check 'Show Grid' to customize grid size or snap
Also remove the sparse automatical saving to preferences from sketcher Task pane ...
... (some settings were saved, some not)
2020-05-27 19:25:47 +02:00
0penBrain
399f5de906
[Sketcher] Fix catching of rendering order change
...
model()->layoutChanged signal didn't work at all, was never emitted by widget
Replaced with an eventFilter catching ChildRemoved to further emit the signal
2020-05-27 19:25:47 +02:00
0penBrain
4c9fc11cb6
[Sketcher] Fix saving/loading of rendering order
...
Wasn't working at all
Now saved only from preferences editor
2020-05-27 19:25:47 +02:00
0penBrain
9862670cf2
[Sketcher] Simplify general settings management
2020-05-27 19:25:47 +02:00
wmayer
5e93a7193e
fix build failure for Qt4
2019-10-03 11:19:02 +02:00
wmayer
1f30c218e6
remove signal blocker
...
fixes 0003752: Preferences/Sketcher: Changing Grid size default is not respected upon creation of new Sketches
2019-01-01 18:17:23 +01:00
wmayer
4d4f016277
only save setting if grid view is shown or not
2018-12-02 12:15:28 +01:00
Abdullah Tahiri
e654e476f6
Make show grid checkbox work again
2018-12-02 10:10:39 +01:00
wmayer
4f02b209fc
fixes 0003689: Snap to grid checkbox in edit control widget does not update
2018-11-14 12:40:39 +01:00
wmayer
5475368ea4
various fixes from pr813:
...
fix crash due to invalifated iterator
minor performance improvement
do not connect twice automatically connected signal-slot
fix compiler warning
2017-06-18 21:25:31 +02:00
Abdullah Tahiri
25a28b0851
Sketcher: redundant autoconstraint avoidance - Edit control checkbox
...
fixes #3079
2017-06-18 17:37:27 +02:00
wmayer
9ec00ebce8
correct method name
2017-05-01 17:51:19 +02:00
wmayer
7628f2bbb6
Revert "Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints"
...
This reverts commit 03a9d58db6 .
2017-05-01 16:16:49 +02:00
Abdullah Tahiri
03a9d58db6
Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints
2017-04-30 10:06:15 +02:00
Abdullah Tahiri
937c6179e2
Sketcher: Rendering order widget
2017-04-17 20:53:12 +02:00
wmayer
15d7ae5e2c
fix -Wextra in Sketcher
2016-09-22 18:34:35 +02:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
eb9b6acdd6
+ re-enable reading/writing grid size
2015-01-12 16:29:31 +01:00
wmayer
2ead6f9bcf
+ whitespace improvement
2014-11-16 19:12:34 +01:00
jriegel
ca642bb546
InputField for Grid-Size in Sketcher
2014-04-15 07:00:16 +02:00
wmayer
0513cf06d3
+ issue #0001049 : Sketcher preferences in preferences editor
2014-03-09 21:44:37 +01:00
jriegel
152ecf2df9
More choices in Sketcher grid and later switching to um
2013-12-21 19:15:28 +01:00
jriegel
253910ec36
small fix
2013-12-18 18:19:25 +01:00
jriegel
9c1c94c64e
fix radius bug and add new imperial sketch grid cascading...
2013-12-18 18:18:39 +01:00
wmayer
32134f64f0
+ Fix build failure with gcc
2013-12-17 10:58:04 +01:00
jriegel
53f74153ea
Imperial Sketcher grid in Dialog
2013-12-16 15:09:43 +01:00
jriegel
401cb13035
Switching Quantity parser to UTF8
2013-12-09 23:50:52 +01:00
jriegel
3a3afa0783
Switching the UnitsApi to the new Quantity system
2013-12-03 19:03:08 +01:00
wmayer
80e7f52b5f
0001245: Wrong grid size shown in task dialog
2013-09-21 12:01:16 +02:00
wmayer
b7992ed76f
0001105: disable grid in sketcher
2013-07-14 18:14:18 +02:00
logari81
8c515c381b
+ improve automatic grid resizing in the sketcher
...
+ make sketch axes always visible
+ remove redundant funtions
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5097 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-07 21:45:13 +00:00