Paddle
a1d0d1dd76
Sketcher: Remove grid settings from Edit Control widget.
2023-02-25 23:13:55 +01:00
wmayer
7a8f48d4e0
Sketcher: move to new style connect()
2023-01-13 20:17:53 +01:00
wmayer
3f615bbe05
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
5ad737ccdc
[Gui] modernize some connect() settings
...
- addresses #6166
2023-01-12 15:13:16 +01:00
Uwe
4e55c4b46d
[Sketch] Gui:Task*: remove unused headers
...
- also some sorting
2022-12-14 03:48:40 +01:00
Uwe
a868f12b2a
Revert "[Sketch] TaskSketcherGeneral: restore wording of FC 0.20"
...
This reverts commit d38f4f6fd230f8346ebe2e264a078b003945c9e2.
2022-10-17 02:31:08 +02:00
Uwe
e259f12dfb
[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
12b91f323a
Sketcher: Remove 'Edit controls' widget 'Grid Size' LABEL.
2022-10-10 08:50:56 -07:00
wmayer
50ef527ded
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
c48a569696
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
51186c018e
Sketcher: modernize C++11
...
* use nullptr
2022-03-23 19:26:15 +01:00
0penBrain
8751ced2d1
[Sketcher] Removed lines that was introduced to workaround grid visibility management issues
2021-11-05 03:18:08 +01:00
Chris Hennes
cbf9b72bb3
[Sketcher] Remove deprecated Qt < 5.9 code
2021-04-01 19:38:23 +02:00
donovaly
c88bee029b
[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
d6169d6478
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
730154a684
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
e16e756af9
[skip ci] include missing boost header
2020-06-07 17:21:37 +02:00
0penBrain
bcf451bac8
[Sketcher] Grid is displayed in 3D view only if sketch is visible
2020-05-27 19:25:47 +02:00
0penBrain
fe04d47b4c
[Sketcher] Local settings are correctly restored ; fixes #3952,#4058
2020-05-27 19:25:47 +02:00
0penBrain
fece0f2dfc
[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
3528429363
[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
392ad609b4
[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
cd788bbd28
[Sketcher] Simplify general settings management
2020-05-27 19:25:47 +02:00
wmayer
3090bf19e9
fix build failure for Qt4
2019-10-03 11:19:02 +02:00
wmayer
761c543b81
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
a0b3638e28
only save setting if grid view is shown or not
2018-12-02 12:15:28 +01:00
Abdullah Tahiri
44c533df0f
Make show grid checkbox work again
2018-12-02 10:10:39 +01:00
wmayer
66b889044b
fixes 0003689: Snap to grid checkbox in edit control widget does not update
2018-11-14 12:40:39 +01:00
wmayer
d6b62293a0
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
2cf73103dc
Sketcher: redundant autoconstraint avoidance - Edit control checkbox
...
fixes #3079
2017-06-18 17:37:27 +02:00
wmayer
4141611824
correct method name
2017-05-01 17:51:19 +02:00
wmayer
2cb39de755
Revert "Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints"
...
This reverts commit cfd217071bbe83a44b3601b3df294924a9f3dc8d.
2017-05-01 16:16:49 +02:00
Abdullah Tahiri
a76286aa27
Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints
2017-04-30 10:06:15 +02:00
Abdullah Tahiri
daa70d7ada
Sketcher: Rendering order widget
2017-04-17 20:53:12 +02:00
wmayer
c06b6f081f
fix -Wextra in Sketcher
2016-09-22 18:34:35 +02:00
Mateusz Skowroński
05f95c0506
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
39a4b0f0b2
+ re-enable reading/writing grid size
2015-01-12 16:29:31 +01:00
wmayer
72e5d983d1
+ whitespace improvement
2014-11-16 19:12:34 +01:00
jriegel
401e05fc45
InputField for Grid-Size in Sketcher
2014-04-15 07:00:16 +02:00
wmayer
cb10b00e29
+ issue #0001049 : Sketcher preferences in preferences editor
2014-03-09 21:44:37 +01:00
jriegel
b7ae0dddff
More choices in Sketcher grid and later switching to um
2013-12-21 19:15:28 +01:00
jriegel
cefa3882cf
small fix
2013-12-18 18:19:25 +01:00
jriegel
41882ff3b9
fix radius bug and add new imperial sketch grid cascading...
2013-12-18 18:18:39 +01:00
wmayer
2cdbe0f84a
+ Fix build failure with gcc
2013-12-17 10:58:04 +01:00
jriegel
a3136d8abe
Imperial Sketcher grid in Dialog
2013-12-16 15:09:43 +01:00
jriegel
f265f551c2
Switching Quantity parser to UTF8
2013-12-09 23:50:52 +01:00
jriegel
87c8d5b022
Switching the UnitsApi to the new Quantity system
2013-12-03 19:03:08 +01:00
wmayer
fd7ddb32d0
0001245: Wrong grid size shown in task dialog
2013-09-21 12:01:16 +02:00
wmayer
0d5cf13c1c
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